7 Replies Latest reply: Dec 17, 2012 7:45 AM by Gennady Sigalaev RSS

    Oracle RAC-Cluster verification failed

    971394
      Hi all,
      I got an error while running cluster verification before installing clusterware(11g).

      it says,
      Check:user equivalence for user oracle
      nodename comment
      _________________________
      node1 failed
      node2 failed

      thanks in advance
      sarathi
        • 1. Re: Oracle RAC-Cluster verification failed
          Mahir M. Quluzade
          Can you paste here your, Cluster Verification Utility command ?
          Do you sure your node names is Node1,Node2 - servernames ?
          cluvfy pre 
          • 2. Re: Oracle RAC-Cluster verification failed
            971394
            I issued,
            #./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
            • 3. Re: Oracle RAC-Cluster verification failed
              Niket Kumar
              Start the RAC1 virtual machine and restart the RAC2 virtual machine. When both nodes have started, check they can both ping all the public and private IP addresses using the following commands.
              
              ping -c 3 rac1
              ping -c 3 rac1-priv
              ping -c 3 rac2
              ping -c 3 rac2-priv
              At this point the virtual IP addresses defined in the /etc/hosts file will not work, so don't bother testing them.
              
              Configure SSH on each node in the cluster. Log in as the "oracle" user and perform the following tasks on each node.
              
              su - oracle
              mkdir ~/.ssh
              chmod 700 ~/.ssh
              /usr/bin/ssh-keygen -t rsa # Accept the default settings.
              The RSA public key is written to the "~/.ssh/id_rsa.pub" file and the private key to the "~/.ssh/id_rsa" file.
              
              Log in as the "oracle" user on RAC1, generate an "authorized_keys" file on RAC1 and copy it to RAC2 using the following commands.
              
              su - oracle
              cd ~/.ssh
              cat id_rsa.pub >> authorized_keys
              scp authorized_keys rac2:/home/oracle/.ssh/
              Next, log in as the "oracle" user on RAC2 and perform the following commands.
              
              su - oracle
              cd ~/.ssh
              cat id_rsa.pub >> authorized_keys
              scp authorized_keys rac1:/home/oracle/.ssh/
              The "authorized_keys" file on both servers now contains the public keys generated on all RAC nodes.
              
              To enable SSH user equivalency on the cluster member nodes issue the following commands on each node.
              
              ssh rac1 date
              ssh rac2 date
              ssh rac1.localdomain date
              ssh rac2.localdomain date
              exec /usr/bin/ssh-agent $SHELL
              /usr/bin/ssh-add
              You should now be able to SSH and SCP between servers without entering passwords.
              try this method to remove user equivalence error.

              http://www.oracle-base.com/articles/11g/oracle-db-11gr1-rac-installation-on-ol5-using-vmware.php
              • 4. Re: Oracle RAC-Cluster verification failed
                Mahir M. Quluzade
                Can you paste here ?
                ping node1
                ping node2
                Can you paste here your hosts file?

                Did you using GNS?

                Mahir
                • 5. Re: Oracle RAC-Cluster verification failed
                  971394
                  my /etc/hosts

                  127.0.0.1 localhost.localdomain localhost
                  #public
                  192.168.2.1 node1.localdomain node1
                  192.168.2.2 node2.localdomain node2
                  #private
                  10.10.1.1 priv-node1.localdomain priv-node1
                  10.10.1.2 priv-node2.localdomain priv-node2
                  #vip
                  192.168.2.11 vip-node1.localdomain vip-node1
                  192.168.2.12 vip-node2.localdomain vip-node2
                  #scan
                  192.168.20.20 scan-rac.localdomain scan-rac
                  • 6. Re: Oracle RAC-Cluster verification failed
                    Mahir M. Quluzade
                    Can you check oracle user and groups ? must be same and check autherized keys writen Niket.
                    with
                      id oracle 
                    and I think you must change names priv-node* to node*-priv, and vip-node* to node*-vip.

                    Regards
                    Mahir M. Quluzade
                    • 7. Re: Oracle RAC-Cluster verification failed
                      Gennady Sigalaev
                      Hi jsarathi

                      1. Please set up ssh properly (like Niket Kumar wrote).
                      2. After that run the following:
                      #exec /usr/bin/ssh-agent $SHELL
                      #/usr/bin/ssh-add
                      #./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
                      Hope this help.

                      Best regards,
                      Gennady