Windows - Setting up ssh keys (RAC)
During Dbvisit setup, the SSH tool generates a key on each primary server that needs to be copied to the destination server. Since there are two primary servers that generate different keys, how is this accomplished since the key file needs to be copied to the destination server?
The keys are copied to the standby server for Graceful Switchover to function so that files can be copied in reverse (from standby to primary).
If you have 1 destination standby server you can use the same keys on both the primary servers. This will ensure there is only one set of keys.
The procedure for setting up only one set of keys is as follows:
Assuming RAC has 2 nodes: NodeA and NodeB
1) Install Dbvisit on NodeA as per installation. Also install Bitvise software and configure SSH2.
2) Install Dbvisit on standby server as per installation.
3) Install Dbvisit on NodeB as per installation. Also install Bitvise software and configure SSH2.
Do not install on standby server again.
4) Copy all the keys from the ssh2 directory on NodeA to the same location on NodeB. This overwrites all the ssh2 keys from NodeB with the keys from NodeA.
5) Start the Dbvisit console on NodeB. Type in the command:
dbv_functions -Y primary setupssh
This sets up NodeB with the new ssh keys. NodeA and NodeB now have the same ssh keys, so that they can both make contact with the standby server.
If this still does not work then also copy the keys to the same location on the standby server.
Start the Dbvisit console on the standby server. Type in the command:
dbv_functions -Y standby setupssh
Last edited by Arjen Visser; 09-23-2009 at 09:30 PM.
|Thread Tools||Search this Thread|