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关闭集群。

  • 相关阅读:
    图解Python 【第八篇】:网络编程-进程、线程和协程
    TCP协议三次握手、四次挥手过程
    OSI七层模型与TCP/IP五层模型
    TCP/IP协议分为哪四层,具体作用是什么。
    app测试中,ios和android的区别
    APP在用户设备发生crash,应该怎么修复
    Android四层架构
    安卓四大组件、六大布局、五大存储
    测试工程师准备找工作,需要准备什么?
    接口测试响应码解析
  • 原文地址:https://www.cnblogs.com/future2012lg/p/3920260.html
Copyright © 2011-2022 走看看