srvctl commands in oracle rac 11g Database
==============================
SRVCTL commands Chart
Commands | Objects | Comment |
srvctl add | instance database | The OCR is modified. |
srvctl relocate | service | You can reallocate a service from one named instance to another named instance. |
srvctl start srvctl status | instance database nodeapps |
|
srvctl disable | instance database | enable = when the server restart the resource must be restarted
disable = when the server restart the resource must NOT be restarted (perhaps we are working for some maintenance tasks) |
srvctl config | database nodeapps | Lists configuration information from the OCR (Oracle Cluster Registry). |
srvctl getenv | instance database | srvctl getenv = displays the environment variables stored in the OCR for target. srvctl unsetenv = llows these variables to be unset |
The most SRVCTL commands are:
=========================
srvctl start database -d DBname
srvctl stop database -d DBname
srvctl start instance -d DBname -i INSTANCEname
srvctl stop instance -d DBname -i INSTANCEname
srvctl start instance -d DBname -i INSTANCEname
srvctl stop instance -d DBname -i INSTANCEname
srvctl status database -d DBname
srvctl status instance -d DBname -i INSTANCEname
srvctl status nodeapps -n NODEname
srvctl enable database -d DBname
srvctl disable database -d DBname
srvctl enable instance -d DBname -i INSTANCEname
srvctl disable instance -d DBname -i INSTANCEname
srvctl config database -d DBname -> to get some information about the database from OCR.
srvctl getenv nodeaps
1 comment:
For Complete RAC overview : http://chandu208.blogspot.com/2011/04/oracle-rac-overview.html
Post a Comment