Text box

Please note that the problems that i face may not be the same that exist on your environment so please test before applying the same steps i followed to solve the problem .

Thursday 13 January 2011

Cluster verify utility fails with the user eqivelence test

./runcluvfy.sh stage -pre crsinst -fixup -n rac1.locamain,rac2.localdomain -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "Rac1"
  Destination Node                      Reachable?
  ------------------------------------  ------------------------
  rac1                               yes
  rac1                               yes
Result: Node reachability check passed from node "rac1"


Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Comment
  ------------------------------------  ------------------------
  rac1                               failed
  rac2                               failed
Result: PRVF-4007 : User equivalence check failed for user "grid"

ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed


Pre-check for cluster services setup was unsuccessful on all the nodes.

Fix:
Say you have two nodes, rac1 and rac2 and user oracle. You have created the ssh keys in oracle on both nodes.

On node: rac1

ssh rac2
ssh rac2.domain
ssh rac2-priv
ssh rac2-priv.domain
ssh rac1
ssh rac1.domain
ssh rac1-priv
ssh rac1-priv.domain
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add

On node: rac2

ssh rac2
ssh rac2.domain
ssh rac2-priv
ssh rac2-priv.domain
ssh rac1
ssh rac1.domain
ssh rac1-priv
ssh rac1-priv.domain
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add
Phew! Now all ssh combos are covered and you can reach everywhere including yourself. A lot of typing YES and even worse when the the node count increases as each has to reach all the others! I have had the equivalence check fail and realised I hadn't checked on the node, back to itself, just to the other node.



 

2 comments:

  1. Replies
    1. Hello,

      You are doing this on Vmware or on physical machine?

      Kind regards
      Mohamed ELAzab

      Delete