解决crs_stat状态为UNKNOWN问题

RAC启动后,crs_stat -t显示有两个resource的状态为unknown,如下:

oracle@RAC1 [/home/oracle] crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    ONLINE    UNKNOWN   rac1        
ora.rac1.ons   application    ONLINE    UNKNOWN   rac1        
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2        
ora.xjny.db    application    ONLINE    ONLINE    rac2        
ora....y1.inst application    ONLINE    ONLINE    rac1        
ora....y2.inst application    ONLINE    ONLINE    rac2    

通过crs_stop,使该resource变为offline状态,然后用crs_start重启该resource,如下:
oracle@RAC1 [/home/oracle] crs_stop ora.rac1.gsd
Attempting to stop `ora.rac1.gsd` on member `rac1`
Stop of `ora.rac1.gsd` on member `rac1` succeeded.

oracle@RAC1 [/home/oracle] crs_stop ora.rac1.ons
Attempting to stop `ora.rac1.ons` on member `rac1`
Stop of `ora.rac1.ons` on member `rac1` succeeded.

命令完成后,相关resource变为OFFLINE状态:

oracle@RAC1 [/home/oracle] crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    OFFLINE   OFFLINE               
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2        
ora.xjny.db    application    ONLINE    ONLINE    rac2        
ora....y1.inst application    ONLINE    ONLINE    rac1        
ora....y2.inst application    ONLINE    ONLINE    rac2   

使用crs_start命令启动该resource:

oracle@RAC1 [/home/oracle] crs_start ora.rac1.gsd
Attempting to start `ora.rac1.gsd` on member `rac1`
Start of `ora.rac1.gsd` on member `rac1` succeeded.
oracle@RAC1 [/home/oracle]  crs_start ora.rac1.ons
Attempting to start `ora.rac1.ons` on member `rac1`
Start of `ora.rac1.ons` on member `rac1` succeeded.
oracle@RAC1 [/home/oracle] 
oracle@RAC1 [/home/oracle] crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2        
ora.xjny.db    application    ONLINE    ONLINE    rac2        
ora....y1.inst application    ONLINE    ONLINE    rac1        
ora....y2.inst application    ONLINE    ONLINE    rac2     

当前名称:解决crs_stat状态为UNKNOWN问题
转载注明:http://bzwzjz.com/article/gejjgo.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: app网站建设 成都网站建设 成都网站建设 成都网站设计 成都企业网站建设 成都网站设计 网站建设方案 手机网站建设套餐 成都定制网站建设 成都网站制作 成都网站建设公司 成都响应式网站建设公司 营销型网站建设 做网站设计 成都定制网站建设 营销网站建设 成都营销网站制作 外贸营销网站建设 重庆企业网站建设 网站建设改版 成都网站制作 成都网站制作