Administration - RAC 10gR2
Start, stop and check CRS (Cluster Ready Services)
Note. Start/stop need to be run as root from the CRS home.
Start CRS
crsctl start crs
Stop 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 <node name>
srvctl stop nodeapps -n <node name>
Start/stop asm
srvctl start asm -n <node name>
srvctl stop asm -n <node name>
Start/stop a database (all nodes)
srvctl start database -d <database name>
srvctl stop database -d <database name>
Start/stop an individual instance
srvctl start instance -d <database name> -i <instance name>
srvctl stop instance -d <database name> -i <instance name>
Check the VIP config
srvctl config nodeapps -n <node> -a -g -s -l
Change the VIP address, subnetmask or interface
srvctl stop nodeapps -n <node1>
srvctl stop nodeapps -n <node2>
srvctl modify nodeapps -n <node1> -A <ip_address>/<net mask>/<interface>
srvctl modify nodeapps -n <node2> -A <ip_address>/<net mask>/<interface>
srvctl start nodeapps -n <node1>
srvctl start nodeapps -n <node2>
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 <database name>
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/<your new subnet>:cluster_interconnect
No comments:
Post a Comment