2014-11-03 16:43:06.215: [ RACG][3067926208] [5514][3067926208][ora.node2.vip]: clsrcexecut: cmd = /u01/app/oracle/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/product/crs/bin/racgvip start node2
2014-11-03 16:43:06.215: [ RACG][3067926208] [5514][3067926208][ora.node2.vip]: clsrcexecut: rc = 1, time = 9.250s
2014-11-03 16:44:25.848: [ RACG][3067700928] [7520][3067700928][ora.node2.vip]: Interface eth0 checked failed (host=node2)
Invalid parameters, or failed to bring up VIP (host=node2)
2014-11-03 16:44:25.848: [ RACG][3067700928] [7520][3067700928][ora.node2.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle/product/crs
2014-11-03 16:44:25.848: [ RACG][3067700928] [7520][3067700928][ora.node2.vip]: clsrcexecut: cmd = /u01/app/oracle/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/product/crs/bin/racgvip check node2
2014-11-03 16:44:25.848: [ RACG][3067700928] [7520][3067700928][ora.node2.vip]: clsrcexecut: rc = 1, time = 6.380s
2014-11-03 16:44:25.848: [ RACG][3067700928] [7520][3067700928][ora.node2.vip]: end for resource = ora.node2.vip, action = check, status = 1, time = 6.400s
2014-11-03 16:49:22.955: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: Interface eth0 checked failed (host=node2)
Invalid parameters, or failed to bring up VIP (host=node2)
2014-11-03 16:49:22.955: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle/product/crs
2014-11-03 16:49:22.955: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: clsrcexecut: cmd = /u01/app/oracle/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/product/crs/bin/racgvip start node2
2014-11-03 16:49:22.955: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: clsrcexecut: rc = 1, time = 9.320s
2014-11-03 16:49:32.234: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: Interface eth0 checked failed (host=node2)
Invalid parameters, or failed to bring up VIP (host=node2)
2014-11-03 16:49:32.234: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle/product/crs
2014-11-03 16:49:32.234: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: clsrcexecut: cmd = /u01/app/oracle/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/product/crs/bin/racgvip check node2
2014-11-03 16:49:32.234: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: clsrcexecut: rc = 1, time = 9.280s
2014-11-03 16:49:32.234: [ RACG][3067414208] [14413][3067414208][ora.node2.vip]: end for resource = ora.node2.vip, action = start, status = 1, time = 18.630s
2014-11-03 17:29:29.895: [ RACG][3067782848] [5942][3067782848][ora.node2.vip]: Interface eth0 checked failed (host=node2)
Invalid parameters, or failed to bring up VIP (host=node2)
2014-11-03 17:29:29.895: [ RACG][3067782848] [5942][3067782848][ora.node2.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle/product/crs
2014-11-03 17:29:29.895: [ RACG][3067782848] [5942][3067782848][ora.node2.vip]: clsrcexecut: cmd = /u01/app/oracle/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/product/crs/bin/racgvip check node2
2014-11-03 17:29:29.895: [ RACG][3067782848] [5942][3067782848][ora.node2.vip]: clsrcexecut: rc = 1, time = 6.370s
2014-11-03 17:29:29.895: [ RACG][3067782848] [5942][3067782848][ora.node2.vip]: end for resource = ora.node2.vip, action = check, status = 1, time = 6.390s
2014-11-03 17:38:01.381: [ RACG][3067832000] [18181][3067832000][ora.node2.vip]: Interface eth0 checked failed (host=node2)
Invalid parameters, or failed to bring up VIP (host=node2)
2014-11-03 17:38:01.381: [ RACG][3067832000] [18181][3067832000][ora.node2.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle/product/crs
2014-11-03 17:38:01.381: [ RACG][3067832000] [18181][3067832000][ora.node2.vip]: clsrcexecut: cmd = /u01/app/oracle/product/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/app/oracle/product/crs/bin/racgvip check node2
2014-11-03 17:38:01.381: [ RACG][3067832000] [18181][3067832000][ora.node2.vip]: clsrcexecut: rc = 1, time = 6.210s
2014-11-03 17:38:01.381: [ RACG][3067832000] [18181][3067832000][ora.node2.vip]: end for resource = ora.node2.vip, action = check, status = 1, time = 6.260s
发现eth0 ping的网关不正常。
将eth1上的网关设置删除后,还是出现相同的报错,怀疑是vip的默认网关配置出了问题。
将所有的服务都停止。
对节点2的vip进行debug,最后的5是_USR_ORA_DEBUG flag ,表示级别。
[root@rac10g2 ~]# crsctl debug log res "ora.node2.vip:5"
Set Resource Debug Module: ora.node2.vip Level: 5
启动ora.node2.vip。
[root@rac10g2 ~]# crs_start ora.node2.vip
查看trace日志。trace日志在$ORA_CRS_HOME/log/<nodename>/racg/<vip trace file>
果然发现默认网关设置不正常,设置为192.168.94.1,并不是预计的192.168.1.1。