在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这个命令 ,如需转载请自行联系原博主。