oracle 11gR2 RAC 拨公网物理测试

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:939

oracle 11gR2 RAC 拨公网物理测试

安装完oracle 11gR2 rac for aix 后,今天做了下拨公网的物理测试,
拨掉节点p520的公网网线后,vip服务会发生漂移到节点2上,p520 listener,network,ons服务offline,vip会发生切换

[root@p650:/grid/app/11.2.0/grid/bin]#./crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGDATA1.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGRECOVER.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGSYSTEM.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.LISTENER.lsnr
ONLINE OFFLINE p520
ONLINE ONLINE p650
ora.asm
ONLINE ONLINE p520 Started
ONLINE ONLINE p650 Started
ora.eons
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.gsd
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.net1.network
ONLINE OFFLINE p520
ONLINE ONLINE p650
ora.ons
ONLINE OFFLINE p520
ONLINE ONLINE p650
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE p650
ora.oc4j
1 ONLINE ONLINE p520
ora.orcl.db
1 ONLINE ONLINE p520 Open
2 ONLINE ONLINE p650 Open
ora.p520.vip
1 ONLINE INTERMEDIATE p650 FAILED OVER
ora.p650.vip
1 ONLINE ONLINE p650
ora.scan1.vip
1 ONLINE ONLINE p650

[root@p650:/grid/app/11.2.0/grid/bin]#./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.CRS.dg ora....up.type ONLINE ONLINE p520
ora.DGDATA1.dg ora....up.type ONLINE ONLINE p520
ora....OVER.dg ora....up.type ONLINE ONLINE p520
ora....STEM.dg ora....up.type ONLINE ONLINE p520
ora....ER.lsnr ora....er.type ONLINE ONLINE p650
ora....N1.lsnr ora....er.type ONLINE ONLINE p650
ora.asm ora.asm.type ONLINE ONLINE p520
ora.eons ora.eons.type ONLINE ONLINE p520
ora.gsd ora.gsd.type ONLINE ONLINE p520
ora....network ora....rk.type ONLINE ONLINE p650
ora.oc4j ora.oc4j.type ONLINE ONLINE p520
ora.ons ora.ons.type ONLINE ONLINE p650
ora.orcl.db ora....se.type ONLINE ONLINE p520
ora....SM1.asm application ONLINE ONLINE p520
ora....20.lsnr application ONLINE OFFLINE
ora.p520.gsd application ONLINE ONLINE p520
ora.p520.ons application ONLINE OFFLINE
ora.p520.vip ora....t1.type ONLINE ONLINE p650
ora....SM2.asm application ONLINE ONLINE p650
ora....50.lsnr application ONLINE ONLINE p650
ora.p650.gsd application ONLINE ONLINE p650
ora.p650.ons application ONLINE ONLINE p650
ora.p650.vip ora....t1.type ONLINE ONLINE p650
ora.scan1.vip ora....ip.type ONLINE ONLINE p650

恢复公网后
[root@p650:/grid/app/11.2.0/grid/bin]#./crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGDATA1.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGRECOVER.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.DGSYSTEM.dg
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.LISTENER.lsnr
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.asm
ONLINE ONLINE p520 Started
ONLINE ONLINE p650 Started
ora.eons
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.gsd
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.net1.network
ONLINE ONLINE p520
ONLINE ONLINE p650
ora.ons
ONLINE ONLINE p520
ONLINE ONLINE p650
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE p650
ora.oc4j
1 ONLINE ONLINE p520
ora.orcl.db
1 ONLINE ONLINE p520 Open
2 ONLINE ONLINE p650 Open
ora.p520.vip
1 ONLINE ONLINE p520
ora.p650.vip
1 ONLINE ONLINE p650
ora.scan1.vip
1 ONLINE ONLINE p650

[root@p650:/grid/app/11.2.0/grid/bin]#./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.CRS.dg ora....up.type ONLINE ONLINE p520
ora.DGDATA1.dg ora....up.type ONLINE ONLINE p520
ora....OVER.dg ora....up.type ONLINE ONLINE p520
ora....STEM.dg ora....up.type ONLINE ONLINE p520
ora....ER.lsnr ora....er.type ONLINE ONLINE p520
ora....N1.lsnr ora....er.type ONLINE ONLINE p650
ora.asm ora.asm.type ONLINE ONLINE p520
ora.eons ora.eons.type ONLINE ONLINE p520
ora.gsd ora.gsd.type ONLINE ONLINE p520
ora....network ora....rk.type ONLINE ONLINE p520
ora.oc4j ora.oc4j.type ONLINE ONLINE p520
ora.ons ora.ons.type ONLINE ONLINE p520
ora.orcl.db ora....se.type ONLINE ONLINE p520
ora....SM1.asm application ONLINE ONLINE p520
ora....20.lsnr application ONLINE ONLINE p520
ora.p520.gsd application ONLINE ONLINE p520
ora.p520.ons application ONLINE ONLINE p520
ora.p520.vip ora....t1.type ONLINE ONLINE p520
ora....SM2.asm application ONLINE ONLINE p650
ora....50.lsnr application ONLINE ONLINE p650
ora.p650.gsd application ONLINE ONLINE p650
ora.p650.ons application ONLINE ONLINE p650
ora.p650.vip ora....t1.type ONLINE ONLINE p650
ora.scan1.vip ora....ip.type ONLINE ONLINE p650

可以看到p520节点上的network,ons,vip服务自动切换回来,并且正常,不再需要手工干预,
这点比10g 版本中做了改进,而10g恢复公网后,需要手工干预。

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】