zoukankan      html  css  js  c++  java
  • crs_stop 错误一列

    grid 与 oracle 版本为11.2.0.4,为两节点RAC,在通过crs_stop -all命令关闭oracle服务时出现下面问题:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host        
    ------------------------------------------------------------
    ora.DATA.dg    ora....up.type OFFLINE   OFFLINE               
    ora.FRA.dg     ora....up.type OFFLINE   OFFLINE               
    ora....ER.lsnr ora....er.type OFFLINE   OFFLINE               
    ora....N1.lsnr ora....er.type OFFLINE   OFFLINE               
    ora.OCR.dg     ora....up.type OFFLINE   OFFLINE               
    ora.asm        ora.asm.type   OFFLINE   ONLINE    rac02       
    ora.cvu        ora.cvu.type   OFFLINE   OFFLINE               
    ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
    ora....network ora....rk.type OFFLINE   OFFLINE               
    ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE               
    ora.ons        ora.ons.type   OFFLINE   OFFLINE               
    ora.rac.db     ora....se.type OFFLINE   OFFLINE               
    ora....SM1.asm application    OFFLINE   ONLINE    rac01       
    ora....01.lsnr application    OFFLINE   OFFLINE               
    ora.rac01.gsd  application    OFFLINE   OFFLINE               
    ora.rac01.ons  application    OFFLINE   OFFLINE               
    ora.rac01.vip  ora....t1.type OFFLINE   OFFLINE               
    ora....SM2.asm application    OFFLINE   ONLINE    rac02       
    ora....02.lsnr application    OFFLINE   OFFLINE               
    ora.rac02.gsd  application    OFFLINE   OFFLINE               
    ora.rac02.ons  application    OFFLINE   OFFLINE               
    ora.rac02.vip  ora....t1.type OFFLINE   OFFLINE               
    ora....ry.acfs ora....fs.type OFFLINE   OFFLINE               
    ora.scan1.vip  ora....ip.type OFFLINE   OFFLINE

    从状态可以看出ASM进程无法关闭,通过srvctl或者crs_stop关闭提示如下内容:

    1
    2
    3
    4
    [oracle@rac01 ~]$ crs_stop ora.rac02.ASM2.asm
    CRS-2545: Cannot operate on 'instance of ora.asm assigned to rac02'. 
    It is locked by 'oracle' for command 'Stop Resource' issued from 'rac01'
    CRS-0233: Resource or relatives are currently involved with another operation.

    看来很奇怪,其实很正常,因为ocr和voting使用了asm,若关闭asm服务,则整个crs不存在了。正常情况应该是通过crsctl stop crs关闭集群。

  • 相关阅读:
    路由器默认密码
    目前网络安全的攻击来源
    SQL注入——时间盲注
    UNIX网络编程第4章4.5listen函数4.6accept函数
    UNIX网络编程第3章套接字编程简介3.2套接字地址结构3.3值结果参数3.4字节排序函数
    Ubuntu软件系列---如何安装deb安装包
    Ubuntu软件系列---添加实时网速
    Ubuntu软件系列---网易云
    4.9 TF读入TFRecord
    4-8 使用tf.train.string_input_producer读取列表样本
  • 原文地址:https://www.cnblogs.com/future2012lg/p/3920260.html
Copyright © 2011-2022 走看看