版本信息:
linux :oracle linux 5.8
oracle:10.2.0.5
nodes: sdb1, sdb2
问题描述:
1 在sdb2及sdb1上使用以下命令检查共享存储;
2 在此之前已经配置好ssh无密码登陆:
3 -在sdb1上使用ssh sdb2 date,在sdb2上使用ssh sdb1 date,命令都成功。
在sdb1上使用如下命令显示检查共享磁盘成功,但是在sdb2上显示
显示检查成功的信息:
[oracle@sdb1 cluvfy]$ ./runcluvfy.sh comp ssa -n sdb1,sdb2
Verifying shared storage accessibility
Checking shared storage accessibility...
WARNING:
Unable to determine the sharedness of /dev/sdb on nodes:
sdb2,sdb2,sdb1,sdb1
Disk Sharing Nodes (2 in count)
------------------------------------ ------------------------
/dev/sdc sdb2 sdb1
/dev/sdd sdb2 sdb1
/dev/sde sdb2 sdb1
/dev/sdf sdb2 sdb1
/dev/sdg sdb2 sdb1
/dev/sdi sdb2 sdb1
/dev/sdj sdb2 sdb1
/dev/sdh sdb2 sdb1
/dev/sdk sdb2 sdb1
Shared storage check was successful on nodes "sdb2,sdb1".
Verification of shared storage accessibility was successful.
sdb2上显示失败信息:
cluvfy comp ssa -n sdb1,sdb2
WARNING:
User equivalence is not set for nodes:sdb2
Verification will proceed with nodes:
sdb1
解决方法:
1 再次尝试在sdb1 和sdb2上是否可以无密码登陆对方,显示是可以的。
2 在sdb2上尝试以下,再次输入密码后问题解决
ssh sdb2 date
[oracle@sdb2 cluvfy]$ ssh sdb2 date
The authenticity of host 'sdb2 (127.0.0.1)' can't be established.
RSA key fingerprint is 17:d8:33:19:ca:a3:eb:b8:e0:98:67:42:a2:12:e1:8d.
Are you sure you want to continue connecting (yes/no)? ye
Please type 'yes' or 'no': yes
Warning: Permanently added 'sdb2' (RSA) to the list of known hosts.
Thu Jun 18 11:28:49 CST 2015