当前位置:操作系统 > Unix/Linux >>

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

模拟RAC两个节点内联网不通
 
环境: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 inte易做图ce eth1.IPv4 with address 192.168.1.151.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Joining mDNS multicast group on inte易做图ce 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]: Inte易做图ce 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 inte易做图ce eth1.IPv6 with address fe80::a00:27ff:fe39:ce0a.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: iface.c: inte易做图ce_mdns_mcast_join() called but no local address available.
Jul 16 11:30:02 rac2 avahi-daemon[3029]: Inte易做图ce 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地址已经被撤回。
一系列报错,实例和asm也关闭了:
alterrac2.log:
2013-07-16 11:30:17.452
[cssd(3335)]CRS-1612:Network communi
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,