zoukankan      html  css  js  c++  java
  • RAC的一些服务是UNKOWN状态的解决

      在重启RAC服务器以后,发现:

     1 rac1->crs_stat -t
     2 Name           Type           Target    State     Host        
     3 ------------------------------------------------------------
     4 ora.....CRM.cs application    ONLINE    UNKNOWN   rac1        
     5 ora....db1.srv application    ONLINE    UNKNOWN   rac1        
     6 ora.devdb.db   application    ONLINE    UNKNOWN   rac1        
     7 ora....b1.inst application    ONLINE    ONLINE    rac1        
     8 ora....b2.inst application    ONLINE    ONLINE    rac2        
     9 ora....SM1.asm application    ONLINE    ONLINE    rac1        
    10 ora....C1.lsnr application    ONLINE    UNKNOWN   rac1        
    11 ora.rac1.gsd   application    ONLINE    UNKNOWN   rac1        
    12 ora.rac1.ons   application    ONLINE    ONLINE    rac1        
    13 ora.rac1.vip   application    ONLINE    ONLINE    rac1        
    14 ora....SM2.asm application    ONLINE    ONLINE    rac2        
    15 ora....C2.lsnr application    ONLINE    UNKNOWN   rac2        
    16 ora.rac2.gsd   application    ONLINE    UNKNOWN   rac2        
    17 ora.rac2.ons   application    ONLINE    ONLINE    rac2        
    18 ora.rac2.vip   application    ONLINE    ONLINE    rac2    

       其中有一些服务的状态是UNKOWN的。

    解决办法:

     1 rac1->su -
     2 Password: 
     3 [root@rac1 ~]# /etc/init.d/init.crs stop
     4 Shutting down Oracle Cluster Ready Services (CRS):
     5 Stopping resources.
     6 Successfully stopped CRS resources 
     7 Stopping CSSD.
     8 Shutting down CSS daemon.
     9 Shutdown request successfully issued.
    10 Shutdown has begun. The daemons should exit soon.
    11 [root@rac1 ~]# /etc/init.d/init.crs start
    12 Startup will be queued to init within 90 seconds.
    13 [root@rac1 ~]# su - oracle
    14 rac1->crs_stat -t
    15 Name           Type           Target    State     Host        
    16 ------------------------------------------------------------
    17 ora.....CRM.cs application    ONLINE    ONLINE    rac2        
    18 ora....db1.srv application    ONLINE    ONLINE    rac2        
    19 ora.devdb.db   application    ONLINE    ONLINE    rac2        
    20 ora....b1.inst application    ONLINE    ONLINE    rac1        
    21 ora....b2.inst application    ONLINE    ONLINE    rac2        
    22 ora....SM1.asm application    ONLINE    ONLINE    rac1        
    23 ora....C1.lsnr application    ONLINE    ONLINE    rac1        
    24 ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
    25 ora.rac1.ons   application    ONLINE    ONLINE    rac1        
    26 ora.rac1.vip   application    ONLINE    ONLINE    rac1        
    27 ora....SM2.asm application    ONLINE    ONLINE    rac2        
    28 ora....C2.lsnr application    ONLINE    UNKNOWN   rac2        
    29 ora.rac2.gsd   application    ONLINE    UNKNOWN   rac2        
    30 ora.rac2.ons   application    ONLINE    ONLINE    rac2        
    31 ora.rac2.vip   application    ONLINE    ONLINE    rac2        
    32 
    33 rac2->su -
    34 Password: 
    35 [root@rac2 ~]# /etc/init.d/init.crs stop
    36 Shutting down Oracle Cluster Ready Services (CRS):
    37 Stopping resources.
    38 Successfully stopped CRS resources 
    39 Stopping CSSD.
    40 Shutting down CSS daemon.
    41 Shutdown request successfully issued.
    42 Shutdown has begun. The daemons should exit soon.
    43 [root@rac2 ~]# /etc/init.d/init.crs start
    44 Startup will be queued to init within 90 seconds.
    45 
    46 rac1->crs_stat -t
    47 Name           Type           Target    State     Host        
    48 ------------------------------------------------------------
    49 ora.....CRM.cs application    ONLINE    ONLINE    rac1        
    50 ora....db1.srv application    ONLINE    ONLINE    rac1        
    51 ora.devdb.db   application    ONLINE    ONLINE    rac1        
    52 ora....b1.inst application    ONLINE    ONLINE    rac1        
    53 ora....b2.inst application    ONLINE    ONLINE    rac2        
    54 ora....SM1.asm application    ONLINE    ONLINE    rac1        
    55 ora....C1.lsnr application    ONLINE    ONLINE    rac1        
    56 ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
    57 ora.rac1.ons   application    ONLINE    ONLINE    rac1        
    58 ora.rac1.vip   application    ONLINE    ONLINE    rac1        
    59 ora....SM2.asm application    ONLINE    ONLINE    rac2        
    60 ora....C2.lsnr application    ONLINE    ONLINE    rac2        
    61 ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
    62 ora.rac2.ons   application    ONLINE    ONLINE    rac2        
    63 ora.rac2.vip   application    ONLINE    ONLINE    rac2        
  • 相关阅读:
    Volatile的作用---http://www.cnblogs.com/xing901022/p/7840684.html
    基于JDBC持久化的事务管理-https://www.cnblogs.com/xing901022/p/4272420.html
    Class的isAssignableFrom方法--其他博主的博客
    深入并发二 ThreadLocal源码与内存泄漏相关分析 https://www.cnblogs.com/qmlingxin/p/9412061.html
    Beta阶段项目总结
    Alpha阶段项目总结
    Alpha版总结会议——班级派
    第二冲刺阶段——站立会议第十四天6月7日
    第二冲刺阶段——站立会议第十三天6月6日
    第二冲刺阶段——站立会议第十二天6月5日
  • 原文地址:https://www.cnblogs.com/Richardzhu/p/2836757.html
Copyright © 2011-2022 走看看