Tuesday, February 25, 2014

Controlling Oracle Clusterware

The crsctl utility is used to invoke certain OHASD functions.

To start or stop Oracle Clusterware on all nodes:
# crsctl start cluster
# crsctl stop cluster

To enable or disable Oracle Clusterware for automatic startup on a specific node:
# crsctl enable crs
# crsctl disable crs

To check the status of CRS on the local node:

# crsctl check cluster

Verifying the Status of Oracle Clusterware

$ crsctl check cluster -all
***********************************************************
host01:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
***********************************************************
host02:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
***********************************************************
host03:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
***********************************************************

Viewing the High Availability Services Stack
$ crsctl stat res -init -t
---------------------------------------------------------------
NAME           TARGET  STATE        SERVER        STATE_DETAILS      
---------------------------------------------------------------
Cluster Resources
---------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       host01        Started            
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       host01                                      
ora.crf
      1        ONLINE  ONLINE       host01                                      
ora.crsd
      1        ONLINE  ONLINE       host01                                      
ora.cssd
      1        ONLINE  ONLINE       host01                                      
ora.cssdmonitor
      1        ONLINE  ONLINE       host01                                      
ora.ctssd
      1        ONLINE  ONLINE       host01        OBSERVER          
ora.evmd
      1        ONLINE  ONLINE       host01                                      
...

No comments:

Post a Comment