时间:2021-07-01 10:21:17 帮助过:56人阅读
安装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 xifenfei01 10.70.89.69 xifenfei01-vip 10.70.89.100 xifenfei01-priv 10.70.89.71 xifenfei02 10.70.89.72 xifenfei02-vip 10.70.89.101 xifenfei02-priv 10.70.89.79 xifenfei-scan
网卡配置
xifenfei01:/u01/soft/grid> ifconfig -a en7: flags=1e084863,c0inet 10.70.89.100 netmask 0xffffffe0 broadcast 10.70.89.127 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 en6: flags=1e084863,c0 inet 10.70.89.68 netmask 0xffffffe0 broadcast 10.70.89.95 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 lo0: 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 1 xifenfei02/#ifconfig -a en6: flags=1e084863,c0 inet 10.70.89.71 netmask 0xffffffe0 broadcast 10.70.89.95 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 en7: flags=1e084863,c0 inet 10.70.89.101 netmask 0xffffffe0 broadcast 10.70.89.127 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 lo0: 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 1 xifenfei01/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 0 xifenfei02/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配置,也是正常的
xifenfei01:/u01/soft/grid> ping xifenfei01-priv PING xifenfei01-priv: (10.70.89.100): 56 data bytes 64 bytes from 10.70.89.100: icmp_seq=0 ttl=255 time=0 ms 64 bytes from 10.70.89.100: icmp_seq=1 ttl=255 time=0 ms xifenfei02/#ping xifenfei01-priv PING xifenfei01-priv: (10.70.89.100): 56 data bytes 64 bytes from 10.70.89.100: icmp_seq=0 ttl=255 time=0 ms 64 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 -verbose xifenfei01:/u01/soft/grid> ./runcluvfy.sh comp nodecon -i en7 -n xifenfei01-priv,xifenfei02-priv -verbose Verifying 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 failed Interface 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 "en7" Check: 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.96" Checking 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 failed Verification 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 -verbose Verifying node connectivity Checking node connectivity... Checking hosts config file... Node Name Status ------------------------------------ ------------------------ xifenfei02-priv passed xifenfei01-priv passed Verification of the hosts config file successful Interface 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 "en7" Check: 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.96" Checking 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 passed Verification 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)
原文地址:hosts无效内容未注释导致RAC安装OUI的Network Interface Usage报INS, 感谢原作者分享。