阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

Oracle 12c RAC搭建时主机名无效问题解决

145次阅读
没有评论

共计 1216 个字符,预计需要花费 4 分钟才能阅读完成。

在 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 12c RAC 搭建时主机名无效问题解决

经查 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 绑定的网卡顺序不一致

Oracle 12c RAC 搭建时主机名无效问题解决

两个节点必须先在 #2 上绑定 public, 然后在#3 上绑定 private
经过调整后,重新安装集群件顺利通过。
除此外,还需确保
1、确保节点 vip 和 public ip 在同一个网段内
如果 vip 和 public Ip 不在同一个网段里会出现类似的问题。

2、两个节点的 hosts 或 /etc/fstab 要完全一样
并且 ping public1,vip1,pubic2,vip2 两个节点要能 ping 通

更多 Oracle 相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-07/145394.htm

正文完
星哥说事-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计1216字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中