全部博文(389)
分类: Oracle
2013-07-30 12:09:19
RAC单结点用户相等性
当在部署单结点的RAC的时候,也要部署ssh相等性,否则在使用runcluvfy来检查的时候,报用户相等性检查不通过.
[grid@r1 grid]$ ./runcluvfy.sh stage -post hwos -n r1 -verbose
Performing post-checks for hardware and operating system setup
Checking node reachability...
Check: Node reachability from node "r1"
Destination Node Reachable?
------------------------------------ ------------------------
r1 yes
Result: Node reachability check passed from node "r1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Comment
------------------------------------ ------------------------
r1 failed
Result: PRVF-4007 : User equivalence check failed for user "grid"
ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed
Post-check for hardware and operating system setup was unsuccessful on all the nodes.
使用sshkey-gen 生成密钥后,把公钥放到autorized_keys文件,再次检查通过
[grid@r1 grid]$ ./runcluvfy.sh stage -post hwos -n r1 -verbose
Performing post-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "r1"
Destination Node Reachable?
------------------------------------ ------------------------
r1 yes
Result: Node reachability check passed from node "r1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Comment
------------------------------------ ------------------------
r1 passed
Result: User equivalence check passed for user "grid"