Wednesday, November 21, 2007

Collections of 10gR2 RAC Commands

Manual Cluster Start

Execute as user root
/etc/init.d/init.crs start
/etc/init.d/init.crsd start (10.1.0.3 and below)
init q

Manual Cluster Stop

Execute as user root
/etc/init.d/init.crs stop

To disable CRS
/etc/init.d/init.crs disable

Resource start and stop (10gR2)

The crs_start and crs_stop command can be used to start and stop CRS managed resources
$ crs_start resource-name -all (all resource)
$ crs_stop resource-name -all (all resource)
Does not stop the clusterware!

cluster commands

crs_relocate – change where resource is active
crs_stat – status queries
crs_start resource –all Start resources (10R2)
crs_stop resource –all Stop resources (10gR2)


Server Control Commands

srvctl start database –d database-name
srvctl stop database –d database-name
srvctl start asm –n node-name
srvctl stop asm –n node-name
srvctl start nodeapps –n node-name
srvctl stop nodeapps – n node-name

No comments: