Stop CRS:
crsctl stop crs (normal)
crsctl stop crs -f (force)

Start CRS:
crsctl start crs

Checking Resource Status for CRS: (replaces crs_stat -t -v in Oracle11gR2)
crsctl status resource -t or
crsctl stat res -t or
crsctl stat res -t -init (only local node status)

** Different resources can be filtered by the following commands:
crsctl stat res -t -w "TYPE = ora.database.type" (Database)
crsctl stat res -t -w "TYPE = ora.asm.type" (ASM)

crsctl stat res -t -w "TYPE = ora.scan_listener.type" (Scan Listener)
crsctl stat res -t -w "TYPE = ora.scan_vip.type" (Scan VIP)
crsctl stat res -t -w "TYPE = ora.cvu.type" (Cluster Verification Utility)

ps. equal sign (=) should have space in between


Checking Existing RAC Servers' state:
crsctl status server
or
crsct status server -f


Checking Existing Active Server Pools:
crsctl status serverpool



Querying CSS Voting Disk:
crsctl query css votedisk

Querying Oracle Clusterware Active Version on the cluster:
crsctl query crs activeversion

Querying Oracle Clusterware Version on current node:
crsctl query crs softwareversion

Checking Status of Oracle High Availability Services:
crsctl check has

Checking Status of CRS:
crsctl check crs

Checking Status of CSS (Cluster Synchronization Service):
crsctl check css

Checking Status of EVM (Event Manager):
crsctl check evm


Query the value of Disk Timeout (in Seconds):
crsctl get css disktimeout

Query the value of MissCount (in Seconds):
crsctl get css misscount

Checking Cluster Status of Local Node:
crsctl check cluster


Checking Cluster Status of All RAC Nodes:
crsctl check cluster -all

Stop Cluster Services of Local Node:
crsctl stop cluster

Stop Cluster Services of All RAC Nodes:
crsctl stop cluster -all

Start Cluster Services of Local Node:
crsctl start cluster

Start Cluster Services of All RAC Nodes:
crsctl start cluster -all

Prevent the automatic startup of Oracle High Availability Services When the server boots:
crsctl disable crs


arrow
arrow
    全站熱搜

    DanBrother 發表在 痞客邦 留言(0) 人氣()