Friday 6 June 2014

Cluster verify utility fails with the user eqivelence test

Cluster verify utility fails with the user eqivelence test PRVF-4007 : User equivalence check failed for user "grid" 

 ./runcluvfy.sh stage -pre crsinst -fixup -n racinst1.doyensys.com,racinst2.doyensys.com -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "Rac1"
  Destination Node                      Reachable?
  ------------------------------------  ------------------------
racinst2                               yes

racinst1                              yes


Result: Node reachability check passed from node "rac1"


Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Comment
  ------------------------------------  ------------------------
  racinst1                               failed
  racinst2                             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, racinst1 and racinst2 and user oracle. You have created the ssh keys in oracle on both nodes.

On node: rac1

ssh racinst1
ssh racinst1.doyensys.com  
ssh racinst2
ssh racinst2.doyensys.com  
ssh racinst1-priv
ssh racinst2-priv
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add

On node: rac2

ssh racinst1
ssh racinst1.doyensys.com  
ssh racinst2
ssh racinst2.doyensys.com  
ssh racinst1-priv
ssh racinst2-priv
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add

Issue was fixed