在windows 2012 64位企业版上搭建oracle 12c rac集群,hosts文件如下:
#add for rac config
11.14.72.83 rac1
11.14.72.84 rac1-vip
192.168.0.1 rac1-priv
11.14.72.85 rac2
11.14.72.86 rac2-vip
192.168.0.2 rac2-priv
11.14.72.87 scanip
两台机器互ping都没问题,预检查批处理也完全通过,但是在安装集群件grid时却提示说对方节点主机名无效,即在rac1上安装报rac2无效,在rac2上安装报rac1无效。
报错截图:
经查oracle官网发现:
这个问题的解决方法:
ODM:
RAC on Windows: INS-40937 Encountering During 11.2.0.3 Grid Infrastructure Install (文档 ID 1479496.1)
CAUSE
Invalid binding order of network adapters on the node which returned the error.
One of the installation prerequisites for Grid Infrastructure installations on Windows platforms is
to have your ‘Public‘ network adapter listed first in your binding order and
your ‘Private‘ network adapter listed second in your binding order on all cluster nodes.
SOLUTION
Fix the Network Adapter Binding order so that the public network adapter is listed first and
your private network adapter is listed second as per documented installation prerequisites
这个同样适用于12C
检查网卡绑定顺序发现,两边public和private绑定的网卡顺序不一致
两个节点必须先在#2上绑定public,然后在#3上绑定private
经过调整后,重新安装集群件顺利通过。
除此外,还需确保
1、确保节点vip 和public ip 在同一个网段内
如果vip 和 public Ip 不在同一个网段里会出现类似的问题。
2、两个节点的hosts 或/etc/fstab要完全一样
并且 ping public1 ,vip1 ,pubic2,vip2 两个节点要能ping 通