[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
--启停数据库

  

 

 

  

相关文章:

  • 2021-05-21
  • 2022-12-23
  • 2021-12-14
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-07
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2021-08-28
  • 2021-06-25
相关资源
相似解决方案