Wednesday, February 24, 2016
srvctls status cmds for ORACLE RAC database
LINK FOR MORE INFO :
https://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#CHDEBCFF
oracle@Linux212:[~] $ srvctl -help
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config|convert|upgrade
objects: database|instance|service|nodeapps|vip|network|asm|diskgroup|listener|srvpool|server|scan|scan_listener|oc4j|home|filesystem|gns|cvu
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
----------------------------------------------------------------------
----------------------------------------------------------------------
CHECK STATUS OF DATABASE :
oracle@Linux212:[~] $ srvctl status database -d ORCLRAC
Instance ORCLRAC1 is running on node Linux211
Instance ORCLRAC2 is running on node Linux212
----------------------------------------------------------------------
CHECK STATUS OF NODEAPPS :
oracle@Linux212:[~] $ srvctl status nodeapps
VIP Linux211-vip is enabled
VIP Linux211-vip is running on node: Linux211
VIP Linux212-vip is enabled
VIP Linux212-vip is running on node: Linux212
Network is enabled
Network is running on node: Linux211
Network is running on node: Linux212
GSD is disabled
GSD is not running on node: Linux211
GSD is not running on node: Linux212
ONS is enabled
ONS daemon is running on node: Linux211
ONS daemon is running on node: Linux212
----------------------------------------------------------------------
CHECK STATUS OF ASM :
oracle@Linux212:[~] $ srvctl status asm
ASM is running on Linux212,Linux211
----------------------------------------------------------------------
CHECK STATUS OF INSTANCE ON NODE:
oracle@Linux212:[~] $ srvctl status instance -d ORCLRAC -n Linux211
Instance ORCLRAC1 is running on node Linux211
oracle@Linux212:[~] $ srvctl status instance -d ORCLRAC -n Linux212
Instance ORCLRAC2 is running on node Linux212
----------------------------------------------------------------------
oracle@Linux212:[~] $ srvctl status instance -d ORCLRAC -i "ORCLRAC1,ORCLRAC2" -v
Instance ORCLRAC1 is running on node Linux211. Instance status: Open.
Instance ORCLRAC2 is running on node Linux212. Instance status: Open.
----------------------------------------------------------------------
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment