模拟RAC两个节点内联网不通

在RHEL5.8环境下,关闭RAC集群中一个节点的内网网卡后,该节点从集群中被移除,导致相关服务和实例关闭。通过检查日志和资源状态,发现网络通信丢失触发了节点移除。重新启用内网网卡后,节点恢复并重新加入集群,但部分资源如ora.cvu已转移至另一节点。最终,集群恢复正常运行状态。
摘要由CSDN通过智能技术生成

环境:RHEL5.8 RAC 11.2.0.3.0

1:2节点集群是正常的

[grid@rac1 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.CRSDATA.dg ora....up.type ONLINE    ONLINE    rac1        
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac2        
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        
ora.chris.db   ora....se.type ONLINE    ONLINE    rac1        
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac2        
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    rac2        
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    OFFLINE   OFFLINE               
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac2        
ora....ry.acfs ora....fs.type ONLINE    ONLINE    rac1        
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac2

2:关闭节点2的内网网卡

[root@rac2 ~]# date
Tue Jul 16 11:29:41 CST 2013
[root@rac2 ~]# ifdown eth1

3:查看集群信息:

[grid@rac1 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.CRSDATA.dg ora....up.type ONLINE    ONLINE    rac1        
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        
ora.chris.db   ora....se.type ONLINE    ONLINE    rac1        
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac1        
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  ONLINE    OFFLINE               
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora....ry.acfs ora....fs.type ONLINE    ONLINE    rac1        
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac1 

发现节点2集群信息已经不存在了

4:检查节点2在11:29:41点后的os日志信息:
[root@rac2 ~]# tail -f /var/log/messages
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Withdrawing address record for 192.168.1.151 on eth1.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.151.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Joining mDNS multicast group on interface eth1.IPv4 with address 169.254.241.123.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: IP_ADD_MEMBERSHIP failed: No such device
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Withdrawing address record for 169.254.241.123 on eth1.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Interface eth1.IPv4 no longer relevant for mDNS.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Withdrawing address record for fe80::a00:27ff:fe39:ce0a on eth1.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::a00:27ff:fe39:ce0a.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: iface.c: interface_mdns_mcast_join() called but no local address available.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Interface eth1.IPv6 no longer relevant for mDNS.
Jul 16 11:30:34 rac2 avahi-daemon[3029]: Withdrawing address record for 10.13.12.152 on eth0.
Jul 16 11:30:34 rac2 avahi-daemon[3029]: Withdrawing address record for 10.13.12.156 on eth0.

此时Withdrawing address record for 192.168.1.151 on eth1.已经很明确的告诉了我们,eth1上的IP地址已经被撤回。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值