Thursday, November 26, 2009

Some More RAC Commands

Today i will share how to shutdown single instance in an RAC cluster, We Will again be using SRVCTL for this..

To shutdown a single instance or one node of RAC cluster we use the command -

srvctl stop instance -d databasename -i instancename


To start instance -

srvctl start instance -d databasename -i instancename

This is pretty much useful. Sometimes your system team may ask to to shutdown the database on one node, for some maintenance activity. At that time these commands are very handy.

Sometimes SRVCTL may not work , and may give error. This can happen if GSD is down or because of some cluster ware error. In this case we can use the conventional method of shutting down the instance . Just export ORACLE_SID=MYSID and use shutdown command.

No comments:

Post a Comment