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 CRScrsctl stop crs
Check CRS's statuscrsctl check crs
See the status of the various servicescrs_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 -lChange 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 votediskRetrive OCR (Oracle Cluster Registry) information
ocrcheckTo 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 getifMake 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