oracle 12c grid 已经废弃crs_stat这个命令

在oracle 10g 查crs集群状态 用crs_stat -t很方便
oracle 11g 查grid 集群状态 用crsctl status res -t,很少用crs_stat -t ,但也可以用,但获取信息不全。
到了12c这个命令crs_stat 彻底废弃。

[root@12cdb1 bin]# ./crs_stat -t
CRS-275: This command is not supported in Oracle Restart environment.

12c 的crsctl status res -t  输出
[root@12cdb1 bin]# ./crsctl status res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       12cdb1                   STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       12cdb1                   STABLE
ora.asm
               ONLINE  ONLINE       12cdb1                   Started,STABLE
ora.ons
               OFFLINE OFFLINE      12cdb1                   STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       12cdb1                   STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.evmd
      1        ONLINE  ONLINE       12cdb1                   STABLE
ora.test.db
      1        ONLINE  OFFLINE                               Instance Shutdown,ST
                                                             ABLE
-------------------------------------------------------------------------------




11gR2的输出


[root@bak bin]# ./crsctl status res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ons
               OFFLINE OFFLINE      bak                                      
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       bak                                      
ora.diskmon
      1        OFFLINE OFFLINE                                                   
ora.evmd
      1        ONLINE  ONLINE       bak

本文转自ICT时空dbasdk的博客,原文链接:oracle 12c grid 已经废弃crs_stat这个命令 ,如需转载请自行联系原博主。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值