Thursday, October 22, 2009

ADMINISTER CRS (Cluster Ready Services)

Start/Stop CRS
crsctl start crs
crsctl stop crs

Check CRS's status
crsctl check crs

See the status of the various services
crs_stat –t

Start/stop nodeapps
srvctl start nodeapps -n
srvctl stop nodeapps -n

Start/stop asm
srvctl start asm -n
srvctl stop asm -n

Start/stop a database (all nodes)
srvctl start database -d
srvctl stop database -d
Start/stop an individual instance
srvctl start instance -d -i
srvctl stop instance -d -i
Check the VIP config
srvctl config nodeapps -n -a -g -s
Change the VIP address, subnetmask or interface
srvctl stop nodeapps -n
srvctl stop nodeapps -n
srvctl modify nodeapps -n -A //
srvctl modify nodeapps -n -A //
srvctl start nodeapps -n
srvctl start nodeapps -n

Locate the voting disk
crsctl query css votedisk

Retrive OCR (Oracle Cluster Registry) information
ocrcheck
To prevent a database starting at boot time
srvctl disable database -d
Change the private interconnect subnet
First find the interface which is in use as the interconnect - run as root from the crs home:
oifcfg getif
Make a note of the interface name (eth1 in the following example), then
run the following:
oifcfg delif -global eth1
oifcfg setif -global eth1/:cluster_interconnect

No comments:

Post a Comment