Oracle 1204 RAC failover 测试 (四)
1. 拔除rac2的hba卡光纤,让RAC2与存储柜中断,发现RAC2 reboot,RAC1正常工作
[oracle@racdb01 ~]$ crs_stat -t
ora.rac.db application ONLINE ONLINE racdb01
ora....s1.inst application ONLINE ONLINE racdb01
ora....s2.inst application ONLINE OFFLINE
ora....SM1.asm application ONLINE ONLINE racdb01
ora....01.lsnr application ONLINE ONLINE racdb01
ora....b01.gsd application ONLINE ONLINE racdb01
ora....b01.ons application ONLINE ONLINE racdb01
ora....b01.vip application ONLINE ONLINE racdb01
ora....SM2.asm application ONLINE OFFLINE
ora....02.lsnr application ONLINE OFFLINE
ora....b02.gsd application ONLINE OFFLINE
ora....b02.ons application ONLINE OFFLINE
ora....b02.vip application ONLINE ONLINE racdb01
2.恢复RAC2与SAN Switch的光纤连线,reboot RAC2,所有服务恢复正常
3.拔除rac1的hba卡光纤,让RAC1与存储柜中断,发现RAC1 reboot,RAC2正常工作
[oracle@racdb02 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.rac.db application ONLINE ONLINE racdb02
ora....s1.inst application ONLINE OFFLINE
ora....s2.inst application ONLINE ONLINE racdb02
ora....SM1.asm application ONLINE OFFLINE
ora....01.lsnr application ONLINE OFFLINE
ora....b01.gsd application ONLINE OFFLINE
ora....b01.ons application ONLINE OFFLINE
ora....b01.vip application ONLINE ONLINE racdb02
ora....SM2.asm application ONLINE ONLINE racdb02
ora....02.lsnr application ONLINE ONLINE racdb02
ora....b02.gsd application ONLINE ONLINE racdb02
ora....b02.ons application ONLINE ONLINE racdb02
ora....b02.vip application ONLINE ONLINE racdb02
[oracle@racdb02 ~]$
4.恢复RAC1与SAN Switch的光纤连线,reboot RAC1,所有服务恢复正常