While logged in as oracle perform the following on each of the nodes of the RAC:
cd $HOME mkdir ~/.ssh chmod 700 ~/.ssh /usr/bin/ssh-keygen -t rsa /usr/bin/ssh-keygen -t dsa
On Node 1:
cd $HOME/.ssh cat id_rsa.pub >> authorized_keys cat id_dsa.pub >> authorized_keys Copy the authorized_keys file to the node 2. scp authorized_keys node2:/opt/oracle/.ssh
On Node 2:
cd $HOME/.ssh cat id_rsa.pub >> authorized_keys cat id_dsa.pub >> authorized_keys scp authorized_keys node1:/opt/oracle/.ssh
Now perform a ssh between all the nodes including the node-priv hostnames as well. Check to make sure that ssh is configured well without prompting for the password (on both the nodes):
Sun Aug 12 08:41:42 CDT 2007
$ ssh pepsi.pinnacle.com date
Sun Aug 12 08:42:23 CDT 2007
$ ssh coke-priv date
Sun Aug 12 08:42:45 CDT 2007
$ ssh pepsi-priv date
Sun Aug 12 08:43:22 CDT 2007
No comments:
Post a Comment