Saturday, July 16, 2011

Oracle 11g Release 2: CRSCTL commands

CRSCTL Commands


Check current Version of Clusterware
$crsctl query crs activeversion
$crsctl query crs softwareversion [node_name]
To Start & Stop Cluster ready service and cluster synchronization service
$crsctl start crs
$crsctl stop crs
#/etc/init.d/init.crs start
#/etc/init.d/init.crs stop
#/etc/init.d/init.cssd stop
#/etc/init.d/init.cssd start
To Enable & Disable Cluster ready service
$crsctl enable crs
$crsctl disable crs
#/etc/init.d/init.crs enable
#/etc/init.d/init.crs disable
To Check current status of Cluster ready service
$crsctl check crs
$crsctl check cluster [-node node_name] 
To check current status of cluster synchronization service, cluster ready service and event manager service daemon
$crsctl check cssd
$crsctl check crsd
$crsctl check evmd
To List the Voting disks those are currently used by CSS 
$crsctl check css votedisk
$crsctl query css votedisk 
To add and delete any voting disk
$crsctl add css votedisk PATH
$crsctl delete css votedisk PATH
To start clusterware resources
$crsctl start resources 
$crsctl stop resources  
Hope it will help you out.

1 comment: