Useful Srvctl Commands

on 10:46 AM

Purpose
Commands
Starts an instance
srvctl start instance -d db_name -i inst_name
Starts all instances
srvctl start database -d db_name
Stops all instances, closes database
srvctl stop database -d db_name
Stops an instance
srvctl stop instance -d db_name -i inst_name
Starts a service
srvctl start service -d db_name -s service_name
Stops a service
srvctl stop service -d db_name -s service_name
Checks status of a service
srvctl status service -d db_name
Checks an individual instance
srvctl status instance -d db_name -i inst_name
Checks status of all instances
srvctl status database -d db_name
1. Starts nodeapps
srvctl start nodeapps -n node_name
2. What are nodeapps?
1. gsd,
2. vip,
3. listener,
4. ons
Stops gsd, vip and listener
srvctl stop nodeapps -n node_name
To start ASM on node
srvctl start asm -n node_name
To stop ASM on node
srvctl stop asm -n node_name



0 comments:

Post a Comment