1 Reply Latest reply: Dec 11, 2013 6:08 AM by Srini Chavali-Oracle RSS

    Reconfigure SSH issue for RAC 10g on RHEL 4

    monoj

      Dear All,

       

       

      My OS IS: RHEL4

       

      Earlier i had a cluster installed on my system and it was working fine.

       

      Because of some problem i uninstall the cluster software and the database software.

       

       

       

      Now my problem is i am unable to configure ssh properly on all the nodes......please guide me.

       

      I tried the below steps to configure ssh on my both nodes.

       

      While logged in as oracle perform the following on each of the nodes of the RAC:

      1. cd $HOME
      2. mkdir ~/.ssh
      3. chmod 700 ~/.ssh
      4. /usr/bin/ssh-keygen -t rsa
      5. /usr/bin/ssh-keygen -t dsa



      On Node 1:

      1. cd $HOME/.ssh
      2. cat id_rsa.pub >> authorized_keys
      3. cat id_dsa.pub >> authorized_keys
      4. . scp authorized_keys linux2:/home/oracle/.ssh


      On Node 2:

      1. cd $HOME/.ssh
      2. cat id_rsa.pub >> authorized_keys
      3. cat id_dsa.pub >> authorized_keys
      4. scp authorized_keys linux1:/home/oracle/.ssh


      On each node, enter the following commands to start the SSH agent, and to load the SSH keys into memory:

      $ exec /usr/bin/ssh-agent $SHELL
      $ /usr/bin/ssh-add




      Thanks and Regards

      Monoj Das