加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

oracle12c rac搭建时主机名无效问题的解决

发布时间:2020-12-12 14:45:02 所属栏目:百科 来源:网络整理
导读:在windows 2012 64位企业版上搭建oracle12c 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
在windows 2012 64位企业版上搭建oracle12c 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无效。


报错截图:

wKioL1laBybDMYMTAAOO4OPDbkU292.png-wh_50

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

wKiom1laCHyDxbmOAADNYOPZIlo104.png-wh_50


两个节点必须先在#2上绑定public,然后在#3上绑定private

经过调整后,重新安装集群件顺利通过。

除此外,还需确保

1、确保节点vip 和public ip 在同一个网段内

如果vip 和 public Ip 不在同一个网段里会出现类似的问题。

2、两个节点的hosts 或/etc/fstab要完全一样

并且 ping public1 ,vip1 ,pubic2,vip2 两个节点要能ping 通

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读