您好,欢迎访问一九零五行业门户网

hosts无效内容未注释导致RAC安装OUI的Network Interface Usage报

安装aix rac过程中,在oui的network interface usage报ins-41112,从而使得安装无法继续 错误记录摘要 cause?-?installer has detected that network interface en6 does not maintain connectivity on all cluster nodes. action?-?ensure that the chosen in
安装aix rac过程中,在oui的network interface usage报ins-41112,从而使得安装无法继续
错误记录摘要cause?-?installer has detected that network interface en6 does not maintain connectivity on all cluster nodes. action?-?ensure that the chosen interface has been configured across all cluster nodes. additional information:summary of the failed nodes xifenfei01 ?-?prvf-4190 : verification of the hosts config file failed
hosts解析配置
10.70.89.68 xifenfei0110.70.89.69 xifenfei01-vip10.70.89.100 xifenfei01-priv10.70.89.71 xifenfei0210.70.89.72 xifenfei02-vip10.70.89.101 xifenfei02-priv10.70.89.79 xifenfei-scan
网卡配置
xifenfei01:/u01/soft/grid> ifconfig -aen7: flags=1e084863,c0 inet 10.70.89.100 netmask 0xffffffe0 broadcast 10.70.89.127 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0en6: flags=1e084863,c0 inet 10.70.89.68 netmask 0xffffffe0 broadcast 10.70.89.95 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0lo0: flags=e08084b,c0 inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255 inet6 ::1%1/0 tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1xifenfei02/#ifconfig -aen6: flags=1e084863,c0 inet 10.70.89.71 netmask 0xffffffe0 broadcast 10.70.89.95 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0en7: flags=1e084863,c0 inet 10.70.89.101 netmask 0xffffffe0 broadcast 10.70.89.127 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0lo0: flags=e08084b,c0 inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255 inet6 ::1%1/0 tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1xifenfei01/asmdisks#netstat -in name mtu network address ipkts ierrs opkts oerrs coll en7 1500 link#2 0.11.25.bd.b8.7a 107 0 132 2 0 en7 1500 10.70.89.96 10.70.89.100 107 0 132 2 0 en6 1500 link#3 0.11.25.bd.a8.93 50015 0 36963 2 0 en6 1500 10.70.89.64 10.70.89.68 50015 0 36963 2 0 lo0 16896 link#1 1589 0 1588 0 0 lo0 16896 127 127.0.0.1 1589 0 1588 0 0 lo0 16896 ::1%1 1589 0 1588 0 0xifenfei02/asmdisks#netstat -in name mtu network address ipkts ierrs opkts oerrs coll en6 1500 link#2 0.11.25.bd.a8.a9 5401 0 3660 2 0 en6 1500 10.70.89.64 10.70.89.71 5401 0 3660 2 0 en7 1500 link#3 0.11.25.bd.51.d2 129 0 123 2 0 en7 1500 10.70.89.96 10.70.89.101 129 0 123 2 0 lo0 16896 link#1 1249 0 1249 0 0 lo0 16896 127 127.0.0.1 1249 0 1249 0 0 lo0 16896 ::1%1 1249 0 1249 0 0
这里可以看到网卡和ip配置是匹配,但是两台主机网卡显示顺序不一样.查看etherchannel配置,也是正常的
网络ping测试xifenfei01:/u01/soft/grid> ping xifenfei01-privping xifenfei01-priv: (10.70.89.100): 56 data bytes64 bytes from 10.70.89.100: icmp_seq=0 ttl=255 time=0 ms64 bytes from 10.70.89.100: icmp_seq=1 ttl=255 time=0 msxifenfei02/#ping xifenfei01-privping xifenfei01-priv: (10.70.89.100): 56 data bytes64 bytes from 10.70.89.100: icmp_seq=0 ttl=255 time=0 ms64 bytes from 10.70.89.100: icmp_seq=1 ttl=255 time=0 ms
使用runcluvfy.sh检测网络配置
./runcluvfy.sh comp nodecon -i en7 -n xifenfei01-priv,xifenfei02-priv -verbosexifenfei01:/u01/soft/grid> ./runcluvfy.sh comp nodecon -i en7 -n xifenfei01-priv,xifenfei02-priv -verboseverifying node connectivity checking node connectivity...checking hosts config file... node name status comment ------------ ------------------------ ------------------------ xifenfei02-priv passed successful xifenfei01-priv failed invalid entry error: prvf-4190 : verification of the hosts config file failedinterface information for node xifenfei02-priv name ip address subnet gateway def. gateway hw address mtu ------ --------------- --------------- --------------- --------------- ----------------- ------ en6 10.70.89.71 10.70.89.64 10.70.89.71 10.70.89.65 00:11:25:bd:a8:a9 1500 en7 10.70.89.101 10.70.89.96 10.70.89.101 10.70.89.65 00:11:25:bd:51:d2 1500 interface information for node xifenfei01-priv name ip address subnet gateway def. gateway hw address mtu ------ --------------- --------------- --------------- --------------- ----------------- ------ en7 10.70.89.100 10.70.89.96 10.70.89.100 10.70.89.65 00:11:25:bd:b8:7a 1500 en6 10.70.89.68 10.70.89.64 10.70.89.68 10.70.89.65 00:11:25:bd:a8:93 1500 check: node connectivity for interface en7 source destination connected? ------------------------------ ------------------------------ ---------------- xifenfei02-priv[10.70.89.101] xifenfei01-priv[10.70.89.100] yes result: node connectivity passed for interface en7check: tcp connectivity of subnet 10.70.89.96 source destination connected? ------------------------------ ------------------------------ ---------------- xifenfei01:10.70.89.68 xifenfei02-priv:10.70.89.101 passed xifenfei01:10.70.89.68 xifenfei01-priv:10.70.89.100 passed result: tcp connectivity check passed for subnet 10.70.89.96checking subnet mask consistency...subnet mask consistency check passed for subnet 10.70.89.64.subnet mask consistency check passed for subnet 10.70.89.96.subnet mask consistency check passed.result: node connectivity check failedverification of node connectivity was unsuccessful. checks did not pass for the following node(s): xifenfei01-priv
这里显示xifenfei01-priv主机检测失败,报错为prvf-4190,检查xifenfei01主机的hosts文件发现一处错误记录
xifenfei01/#vi /etc/hosts/etc/hosts 113 lines, 3556 characters # @(#)47 1.1 src/bos/usr/sbin/netstart/hosts, cmdnet, bos530 7/24/91 10:00:46# ibm_prolog_begin_tag# this is an automatically generated prolog.## bos530 src/bos/usr/sbin/netstart/hosts 1.1## licensed materials - property of ibm## (c) copyright international business machines corp. 1985,1989# all rights reserved## us government users restricted rights - use, duplication or# disclosure restricted by gsa adp schedule contract with ibm corp.
这里发现”00:46″是一个新行,而且是无效记录,除掉该行记录,继续runcluvfy.sh测试
xifenfei01:/u01/soft/grid> ./runcluvfy.sh comp nodecon -i en7 -n xifenfei01-priv,xifenfei02-priv -verboseverifying node connectivity checking node connectivity...checking hosts config file... node name status ------------------------------------ ------------------------ xifenfei02-priv passed xifenfei01-priv passed verification of the hosts config file successfulinterface information for node xifenfei02-priv name ip address subnet gateway def. gateway hw address mtu ------ --------------- --------------- --------------- --------------- ----------------- ------ en6 10.70.89.71 10.70.89.64 10.70.89.71 10.70.89.65 00:11:25:bd:a8:a9 1500 en7 10.70.89.101 10.70.89.96 10.70.89.101 10.70.89.65 00:11:25:bd:51:d2 1500 interface information for node xifenfei01-priv name ip address subnet gateway def. gateway hw address mtu ------ --------------- --------------- --------------- --------------- ----------------- ------ en7 10.70.89.100 10.70.89.96 10.70.89.100 10.70.89.65 00:11:25:bd:b8:7a 1500 en6 10.70.89.68 10.70.89.64 10.70.89.68 10.70.89.65 00:11:25:bd:a8:93 1500 check: node connectivity for interface en7 source destination connected? ------------------------------ ------------------------------ ---------------- xifenfei02-priv[10.70.89.101] xifenfei01-priv[10.70.89.100] yes result: node connectivity passed for interface en7check: tcp connectivity of subnet 10.70.89.96 source destination connected? ------------------------------ ------------------------------ ---------------- xifenfei01:10.70.89.68 xifenfei02-priv:10.70.89.101 passed xifenfei01:10.70.89.68 xifenfei01-priv:10.70.89.100 passed result: tcp connectivity check passed for subnet 10.70.89.96checking subnet mask consistency...subnet mask consistency check passed for subnet 10.70.89.64.subnet mask consistency check passed for subnet 10.70.89.96.subnet mask consistency check passed.result: node connectivity check passedverification of node connectivity was successful.
除掉无效记录后,runcluvfy检查通过.oui继续安装一切正常.
果然是由于/etc/hosts中出现无效记录,从而使得rac安装检查无法通过,再次提醒各位安装rac需要小心hosts文件
参考文档:prvf-4190 verification of the hosts config file failed (doc id 1056025.1)
[ins-41112] specified network interface doesnt maintain connectivity across cluster nodes. (doc id 1427202.1)
安装 oracle 12c 单节点racaix常用命令之查看cpu/memory/swap/network/disk信息10g rac安装注意事项hosts中缺少localhost.localdomain导致监听启动时间超长单网卡绑定多ip导致tns-12542等错误ip=first作用说明使用pxe刷xd因域名解析导致数据库连接延迟分析 原文地址:hosts无效内容未注释导致rac安装oui的network interface usage报ins, 感谢原作者分享。
其它类似信息

推荐信息