zoukankan      html  css  js  c++  java
  • crsctl & srvctl

    [grid@localhost ~]$ crsctl check css 
    [grid@localhost ~]$ ps -ef | grep cssd
    --查看css服务
    
    [grid@localhost ~]$ crsctl check has
    [grid@localhost ~]$ ps -ef | grep ohasd.bin
    --查看has服务
    
    [grid@localhost ~]$ crs_stat -t
    --查看各个资源的状态
    
    [grid@localhost ~]$ crsctl status resource -t
    --查看各个资源的状态
    
    [grid@localhost ~]$ crs_stat -p ora.cssd
    --查看ora.cssd属性
    
    [grid@localhost ~]$ crs_stat -p ora.diskmon
    --查看ora.diskmon属性
    
    [grid@localhost ~]$ crsctl start resource ora.cssd
    --启动ora.cssd
    
    [grid@localhost ~]$ crs_stat -p ora.diskmon
    --查看ora.diskmon属性
    
    [grid@localhost ~]$ crsctl disable has
    --取消has自动启动
    
    [grid@localhost ~]$ crsctl enable has
    --启用has自动启动
    [grid@localhost ~]$ crsctl start has
    --启动has
    [grid@localhost ~]$ crsctl stop has
    --关闭has
    [grid@localhost ~]$ crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
    [grid@localhost ~]$ crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"
    --设置cssd和diskmon自动启动 

    [grid@localhost ~]$ crsctl modify resource "ora.cssd" -attr "AUTO_START=never"
    [grid@localhost ~]$ crsctl modify resource "ora.diskmon" -attr "AUTO_START=never"
    --设置cssd和diskmon不自动启动 
    [grid@localhost ~]$ srvctl stop listener -l listener
    [grid@localhost ~]$ srvctl start listener -l listener
    --启停监听
    
    [grid@localhost ~]$ srvctl stop database -d orcl
    [grid@localhost ~]$ srvctl start database -d orcl
    --启停数据库
    

      

      

  • 相关阅读:
    系统权限控制模型
    [Golang] 剑走偏锋 -- IoComplete ports
    Golang 正则匹配 -- regexp
    golang -- 字符串就地取反
    Hyperledger Fabric chaincode 开发(疑难解答)
    could not launch process: decoding dwarf section info at offset 0x0: too short
    win10 Ubuntu16 双系统
    7-8 哈利·波特的考试
    7-7 六度空间
    7-6 列出连通集
  • 原文地址:https://www.cnblogs.com/Elaine-Lan/p/9969942.html
Copyright © 2011-2022 走看看