执行检查脚本,怎么也通不过,原来是BUG...........
Performing post-checks for hardware and operating system setup
Checking node reachability...
Check: Node reachability from node "rac1"
Destination Node Reachable?
------------------------------------ ------------------------
rac2 yes
rac1 yes
Result: Node reachability check passed from node "rac1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Status
------------------------------------ ------------------------
rac2 passed
rac1 passed
Result: User equivalence check passed for user "grid"
Checking node connectivity...
Checking hosts config file...
Node Name Status
------------------------------------ ------------------------
rac2 passed
rac1 passed
Verification of the hosts config file successful
Interface information for node "rac2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.137.166 192.168.137.0 0.0.0.0 192.168.137.1 08:00:27:B2:21:03 1500
eth1 10.10.10.11 10.10.10.0 0.0.0.0 192.168.137.1 08:00:27:AE:AB:08 1500
Interface information for node "rac1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.137.141 192.168.137.0 0.0.0.0 192.168.137.1 08:00:27:FB:4E:66 1500
eth1 10.10.10.10 10.10.10.0 0.0.0.0 192.168.137.1 08:00:27:A3:0F:55 1500
Check: Node connectivity of subnet "192.168.137.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
rac2[192.168.137.166] rac1[192.168.137.141] yes
Result: Node connectivity passed for subnet "192.168.137.0" with node(s) rac2,rac1
Check: TCP connectivity of subnet "192.168.137.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
rac1:192.168.137.141 rac2:192.168.137.166 passed
Result: TCP connectivity check passed for subnet "192.168.137.0"
Check: Node connectivity of subnet "10.10.10.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
rac2[10.10.10.11] rac1[10.10.10.10] yes
Result: Node connectivity passed for subnet "10.10.10.0" with node(s) rac2,rac1
Check: TCP connectivity of subnet "10.10.10.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
rac1:10.10.10.10 rac2:10.10.10.11 passed
Result: TCP connectivity check passed for subnet "10.10.10.0"
Interfaces found on subnet "192.168.137.0" that are likely candidates for VIP are:
rac2 eth0:192.168.137.166
rac1 eth0:192.168.137.141
Interfaces found on subnet "10.10.10.0" that are likely candidates for a private interconnect are:
rac2 eth1:10.10.10.11
rac1 eth1:10.10.10.10
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "192.168.137.0".
Subnet mask consistency check passed for subnet "10.10.10.0".
Subnet mask consistency check passed.
Result: Node connectivity check passed
Checking multicast communication...
Checking subnet "192.168.137.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "192.168.137.0" for multicast communication with multicast group "230.0.1.0" passed.
Checking subnet "10.10.10.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "10.10.10.0" for multicast communication with multicast group "230.0.1.0" passed.
Check of multicast communication passed.
Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed
Check: Time zone consistency
Result: Time zone consistency check passed
Checking shared storage accessibility...
WARNING:
rac1:Unable to determine the sharedness of /dev/sdc on nodes:
rac2,rac1
WARNING:
rac1:Unable to determine the sharedness of /dev/sdb on nodes:
rac2,rac1
WARNING:
rac1:Unable to determine the sharedness of /dev/sdf on nodes:
rac2,rac1
WARNING:
rac1:Unable to determine the sharedness of /dev/sde on nodes:
rac2,rac1
WARNING:
rac1:Unable to determine the sharedness of /dev/sdd on nodes:
rac2,rac1
No shared storage found
Shared storage check failed on nodes "rac2,rac1"
Post-check for hardware and operating system setup was unsuccessful on all the nodes.
详细参考https://community.oracle.com/thread/2382372
it could be a bug (see Metalink Note 1267569.1). It can be ignored. But you should manually verify that oracleasm is working:
/etc/init.d/oracleasm listdisks on both nodes and
ls -l /dev/oracleasm/disks/VOTE2 on both nodes.
可以通过DD命令验证一下,两个节点是不是可以对磁盘有操作权限
[root@rac1 ~]# dd if=/dev/oracleasm/disks/VOL4 of=/dev/null bs=1024k count=1
记录了1+0 的读入
记录了1+0 的写出
1048576字节(1.0 MB)已复制,0.459602 秒,2.3 MB/秒
[root@rac1 ~]#
只要两个节点都可以通过oracleasm listdisks看到,并且有权限,就OK了