Skip to content

SRVCTL commands RAC and ONE NODE

Here are some useful command that mostly same for RAC and RAC ONE node

i have mentioned RAC ONE NODE wherever applicable.

  • Database status

srvctl status database -d abc

  • start database

srvctl start database -d abc;

  • stop database

srvctl stop database -d abc  -o immediate;

  • relocate database – by default it takes 30 min or less to relocate.  RAC ONE NODE only

srvctl relocate database -d abc -n node2

  • use -w option in minutes to relocate faster for example -w 1 in 1 minute RAC ONE NODE only

srvctl relocate database -d abc -n node2 -w 1

  • service status

srvctl status service -d abc

  • start all service in database

srvctl start service -d abc ;

  • stop all services in database

srvctl stop service -d abc ;

  • status of specific service in database

srvctl status service  -s abc_service -d abc;

  • start specific service in database

srvctl start service  -s abc_service -d abc;

  • stop specific service in database

srvctl stop service  -s abc_service -d abc;

  • disable specific service in database

srvctl disable service  -s abc_service -d abc;

  • remove service in database

srvctl remove service  -s abc_service -d abc;

  • remove database from srvctl – server control

srvctl remove database -d abc;

 

 

 

 

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: