Home >Database >Mysql Tutorial >rac中节点的vip在该节点启动不了,在其他节点正常启动。
本实验是在虚拟机中! 与实验相同的问题:http://blog.csdn.net/wanghui5767260/article/details/38850335 问题描述: 节点1、节点2和节点3同时我做了断电处理,结果节点1 和节点2 都正常启动了,而节点3的vip在自己的节点上启动报错而在其他节点上启动正常
本实验是在虚拟机中!
与实验相同的问题:http://blog.csdn.net/wanghui5767260/article/details/38850335
问题描述:
节点1、节点2和节点3同时我做了断电处理,结果节点1 和节点2 都正常启动了,而节点3的vip在自己的节点上启动报错而在其他节点上启动正常。
注:节点3只装入了集群。
查看状态:
[root@rac3 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....B1.inst application ONLINE ONLINE rac1
ora....B2.inst application ONLINE ONLINE rac2
ora.RACDB.db application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
ora.rac3.gsd application ONLINE ONLINE rac3
ora.rac3.ons application ONLINE ONLINE rac3
ora.rac3.vip application ONLINE ONLINE rac1
在节点3的crs日志中报错:
2014-08-27 22:16:55.013: [ CRSRES][2740304784]0Attempting to stop`ora.rac3.vip` on member `rac1`
2014-08-27 22:16:55.204: [ CRSRES][2740304784]0Stop of `ora.rac3.vip` onmember `rac1` succeeded.
2014-08-27 22:16:55.552: [ CRSRES][2740304784]0ora.rac3.gsd target setto OFFLINE before stop action
2014-08-27 22:16:55.552: [ CRSRES][2740304784]0StopResource: setting CLIvalues
2014-08-27 22:16:55.627: [ CRSRES][2740304784]0Attempting to stop`ora.rac3.gsd` on member `rac3`
2014-08-27 22:16:56.658: [ CRSRES][2740304784]0Stop of `ora.rac3.gsd` onmember `rac3` succeeded.
2014-08-27 22:17:06.343: [ CRSRES][2740304784]0startRunnable: settingCLI values
2014-08-27 22:17:06.374: [ CRSRES][2740304784]0Attempting to start`ora.rac3.gsd` on member `rac3`
2014-08-27 22:17:07.455: [ CRSRES][2740304784]0Start of `ora.rac3.gsd`on member `rac3` succeeded.
2014-08-27 22:17:07.878: [ CRSRES][2740304784]0startRunnable: settingCLI values
2014-08-27 22:17:07.897: [ CRSRES][2740304784]0Attempting to start`ora.rac3.vip` on member `rac3`
2014-08-27 22:17:14.916: [ CRSAPP][2740304784]0StartResource error forora.rac3.vip error code = 1
2014-08-27 22:17:18.262: [ CRSRES][2740304784]0Start of `ora.rac3.vip` on member `rac3`failed.
做了一些检查都正常
[root@rac3 bin]# ./oifcfg getif
eth0 192.168.90.0 global public
eth1 192.168.91.0 global cluster_interconnect
[root@rac3 bin]#
[root@rac3 bin]#
[root@rac3 bin]# ./crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
查看日志还是报错
2014-08-27 22:27:37.202: [ CRSRTI][2253600]0CSS is not ready. Receivedstatus 3 from CSS. Waiting for good status ..
2014-08-27 22:27:38.654: [COMMCRS][114084752]clsc_connect: (0x94cfed0) no listener at(ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac3_crs))
2014-08-27 22:27:38.654: [CSSCLNT][2253600]clsssInitNative: connect failed, rc 9
2014-08-27 22:27:38.654: [ CRSRTI][2253600]0CSS is not ready. Receivedstatus 3 from CSS. Waiting for good status ..
2014-08-27 22:27:40.096: [ COMMCRS][114084752]clsc_connect:(0x95238e0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac3_crs))
2014-08-27 22:27:40.096: [CSSCLNT][2253600]clsssInitNative: connect failed, rc 9
2014-08-27 22:27:40.096: [ CRSRTI][2253600]0CSS is not ready. Receivedstatus 3 from CSS. Waiting for good status ..
2014-08-27 22:27:41.575: [COMMCRS][114084752]clsc_connect: (0x95238e0) no listener at(ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac3_crs))
2014-08-27 22:27:41.575: [CSSCLNT][2253600]clsssInitNative: connect failed, rc 9
2014-08-27 22:27:41.575: [ CRSRTI][2253600]0CSS is not ready. Receivedstatus 3 from CSS. Waiting for good status ..
关掉虚拟机,重新换了两块网卡,
[root@rac3 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....B1.inst application ONLINE ONLINE rac1
ora....B2.inst application ONLINE ONLINE rac2
ora.RACDB.db application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
ora.rac3.gsd application ONLINE ONLINE rac3
ora.rac3.ons application ONLINE ONLINE rac3
ora.rac3.vip application ONLINE ONLINE rac3
恢复正常,可能是由于虚拟机网卡的问题吧!!!