-
-
RAC在虚拟机上GSD LSN经常UNKNOWN解决办法 只从成功在虚拟机安装了双节点RAC后能全部启动起来STATE ONLINE. 可每次重启机器后总是有几个UNKNOWN的,如果手工就能启动.crs_start ora.xxxxx, 或则是crs_start -f xxxxx 如果不报错都能成功启动起来. 然后网上寻找了下,有人说可能是时间同步问题,如果10秒就没有问题. 想下时间同步,可虚拟机做了时间同步机制啊. 当这个10秒钟的差距,在虚拟机上启动系统本来就有些慢,而且同时启动的时候总有先后区别. 估计两个节点之间因为启动资源快慢程度而导致10秒以上超时. 那么如果一个个节点启动会如何呢? 先启动节点1的机器 [oracle@node1 ~]$ cd $DBSRCIPTHOME[oracle@node1 dbsrcipt]$ sh crs_stat_unknow.sh --看到LINUX已经起来了,迫不及待地查看下状态HA Resource Target State----------- ------ -----ora.MYRAC.MYRAC1.inst ONLINE OFFLINEora.MYRAC.MYRAC2.inst ONLINE OFFLINEora.MYRAC.db www.2cto.com ONLINE OFFLINEora.node1.ASM1.asm ONLINE ONLINE on node1ora.node1.LISTENER1_NODE1.lsnr ONLINE OFFLINEora.node1.gsd ONLINE OFFLINEora.node1.ons ONLINE ONLINE on node1ora.node1.vip ONLINE ONLINE on node1ora.node2.ASM2.asm ONLINE OFFLINEora.node2.LISTENER1_NODE2.lsnr ONLINE OFFLINEora.node2.gsd ONLINE OFFLINEora.node2.ons ONLINE OFFLINEora.node2.vip ONLINE ONLINE on node1--结果节点1的 ONS VIP ASM1都起来了,而其他的正在启动中,可以看到VIP2已经挂在节点1上[oracle@node1 dbsrcipt]$ sh crs_stat_unknow.sh --在过几分钟看看,发现节点1的服务全部起来了,GSD和LSNR并没有同时启动的UNKNOWS状态HA Resource Target State----------- ------ -----ora.MYRAC.MYRAC1.inst ONLINE ONLINE on node1ora.MYRAC.MYRAC2.inst ONLINE OFFLINEora.MYRAC.db ONLINE ONLINE on node1ora.node1.ASM1.asm ONLINE ONLINE on node1ora.node1.LISTENER1_NODE1.lsnr ONLINE ONLINE on node1ora.node1.gsd ONLINE ONLINE on node1ora.node1.ons ONLINE ONLINE on node1ora.node1.vip ONLINE ONLINE on node1ora.node2.ASM2.asm ONLINE OFFLINEora.node2.LISTENER1_NODE2.lsnr ONLINE OFFLINEora.node2.gsd ONLINE OFFLINEora.node2.ons ONLINE OFFLINEora.node2.vip ONLINE ONLINE on node1--开始启动节点2机器 过了几分种看 如下节点2启动了3个服务,其他服务正在启动中[oracle@node1 dbsrcipt]$ sh crs_stat_unknow.shHA Resource Target State----------- ------ -----ora.MYRAC.MYRAC1.inst ONLINE ONLINE on node1ora.MYRAC.MYRAC2.inst ONLINE OFFLINEora.MYRAC.db ONLINE ONLINE on node1ora.node1.ASM1.asm ONLINE ONLINE on node1ora.node1.LISTENER1_NODE1.lsnr ONLINE ONLINE on node1ora.node1.gsd ONLINE ONLINE on node1ora.node1.ons www.2cto.com ONLINE ONLINE on node1ora.node1.vip ONLINE ONLINE on node1ora.node2.ASM2.asm ONLINE ONLINE on node2ora.node2.LISTENER1_NODE2.lsnr ONLINE OFFLINEora.node2.gsd ONLINE OFFLINEora.node2.ons ONLINE ONLINE on node2ora.node2.vip ONLINE ONLINE on node2[oracle@node1 dbsrcipt]$ sh crs_stat_unknow.sh -- 在过几分钟 节点2服务全启动了,而且没有一个UNKNOWNS 而且VIP2已经转回到节点2身上HA Resource Target State----------- ------ -----ora.MYRAC.MYRAC1.inst ONLINE ONLINE on node1ora.MYRAC.MYRAC2.inst ONLINE ONLINE on node2ora.MYRAC.db www.2cto.com ONLINE ONLINE on node1ora.node1.ASM1.asm ONLINE ONLINE on node1ora.node1.LISTENER1_NODE1.lsnr ONLINE ONLINE on node1ora.node1.gsd ONLINE ONLINE on node1ora.node1.ons ONLINE ONLINE on node1ora.node1.vip ONLINE ONLINE on node1ora.node2.ASM2.asm ONLINE ONLINE on node2ora.node2.LISTENER1_NODE2.lsnr ONLINE ONLINE on node2ora.node2.gsd ONLINE ONLINE on node2ora.node2.ons ONLINE ONLINE on node2ora.node2.vip ONLINE ONLINE on node2[oracle@node1 dbsrcipt]$ 作者 ZengMuAnSha
点这里复制本页地址发送给您QQ/MSN上的好友
- 300*300广告