RAC中unknown 狀態的處理方式

tolywang發表於2010-11-18

 

http://space.itpub.net/35489/viewspace-553545   

 

rac01$crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.orcl.db    application    ONLINE    UNKNOWN   rac02      
ora....l1.inst application    ONLINE    UNKNOWN   rac01      
ora....l2.inst application    ONLINE    UNKNOWN   rac02      
ora....01.lsnr application    ONLINE    UNKNOWN   rac01      
ora.rac01.gsd  application    ONLINE    UNKNOWN   rac01      
ora.rac01.ons  application    ONLINE    UNKNOWN   rac01      
ora.rac01.vip  application    ONLINE    ONLINE    rac01      
ora....02.lsnr application    ONLINE    UNKNOWN   rac02      
ora.rac02.gsd  application    ONLINE    UNKNOWN   rac02      
ora.rac02.ons  application    ONLINE    UNKNOWN   rac02      
ora.rac02.vip  application    ONLINE    ONLINE    rac02      

 


rac01$crs_stop  -all
Attempting to stop `ora.rac01.LISTENER_RAC01.lsnr` on member `rac01`
Attempting to stop `ora.rac02.LISTENER_RAC02.lsnr` on member `rac02`
Stop of `ora.rac01.LISTENER_RAC01.lsnr` on member `rac01` succeeded.
Attempting to stop `ora.orcl.orcl1.inst` on member `rac01`
Stop of `ora.rac02.LISTENER_RAC02.lsnr` on member `rac02` succeeded.
Attempting to stop `ora.orcl.orcl2.inst` on member `rac02`
Stop of `ora.orcl.orcl1.inst` on member `rac01` succeeded.
Attempting to stop `ora.rac01.vip` on member `rac01`
Stop of `ora.rac01.vip` on member `rac01` succeeded.
Stop of `ora.orcl.orcl2.inst` on member `rac02` succeeded.
Attempting to stop `ora.rac02.vip` on member `rac02`
Stop of `ora.rac02.vip` on member `rac02` succeeded.
rac01$crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.orcl.db    application    OFFLINE   OFFLINE              
ora....l1.inst application    OFFLINE   OFFLINE              
ora....l2.inst application    OFFLINE   OFFLINE              
ora....01.lsnr application    OFFLINE   OFFLINE              
ora.rac01.gsd  application    ONLINE    UNKNOWN   rac01      
ora.rac01.ons  application    ONLINE    UNKNOWN   rac01      
ora.rac01.vip  application    OFFLINE   OFFLINE              
ora....02.lsnr application    OFFLINE   OFFLINE              
ora.rac02.gsd  application    ONLINE    UNKNOWN   rac02      
ora.rac02.ons  application    ONLINE    UNKNOWN   rac02      
ora.rac02.vip  application    OFFLINE   OFFLINE              
rac01$

 

單獨關閉不能關閉的服務


rac01$crs_stop   ora.rac01.gsd
Attempting to stop `ora.rac01.gsd` on member `rac01`
Stop of `ora.rac01.gsd` on member `rac01` succeeded.
rac01$crs_stop ora.rac01.ons
Attempting to stop `ora.rac01.ons` on member `rac01`
Stop of `ora.rac01.ons` on member `rac01` succeeded.
rac01$crs_stop   ora.rac02.gsd
Attempting to stop `ora.rac02.gsd` on member `rac02`
Stop of `ora.rac02.gsd` on member `rac02` succeeded.
rac01$crs_stop    ora.rac02.ons
Attempting to stop `ora.rac02.ons` on member `rac02`
Stop of `ora.rac02.ons` on member `rac02` succeeded.

如果還有不能關閉的, 可以使用  crs_stop    -f    xxxxxxxxx     


rac01$crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.orcl.db    application    OFFLINE   OFFLINE              
ora....l1.inst application    OFFLINE   OFFLINE              
ora....l2.inst application    OFFLINE   OFFLINE              
ora....01.lsnr application    OFFLINE   OFFLINE              
ora.rac01.gsd  application    OFFLINE   OFFLINE              
ora.rac01.ons  application    OFFLINE   OFFLINE              
ora.rac01.vip  application    OFFLINE   OFFLINE              
ora....02.lsnr application    OFFLINE   OFFLINE              
ora.rac02.gsd  application    OFFLINE   OFFLINE              
ora.rac02.ons  application    OFFLINE   OFFLINE              
ora.rac02.vip  application    OFFLINE   OFFLINE              
rac01$ 

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-710174/,如需轉載,請註明出處,否則將追究法律責任。

相關文章