VitrualBox 做共享ASM磁盘,测试通不过,报rac1:Unable to determine the sharedness of /dev/sdb on nodes:

本文记录了一次Oracle RAC集群的硬件及操作系统设置检查过程,包括节点可达性、用户等价性、网络配置一致性等多项检查。虽然大部分检查通过,但在共享存储可访问性检查中发现无法确定部分设备的共享性,导致整体检查未通过。

 执行检查脚本,怎么也通不过,原来是BUG...........


rac1-> ./runcluvfy.sh stage -post hwos -n rac1,rac2 -verbose 

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了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值