Thursday, April 10, 2014

RAC administration using server control utility "srvctl"

Hopefully this serves as a reminder...

start database
srvctl start database -d dbname
srvctl start db -d dbname

stop database
srvctl stop database -d dbname
srvctl stop db -d dbname


Start instance
srvctl start instance -d dbname -i instance_name

stop instance
srvctl stop instance -d dbname -i instance_name

get info of environment variables
srvctl getenv db -d dbname

set info of environment variables like ORACLE_BASE & time zone
srvctl setenv db -d {dbname} -t TZ=GMT
srvctl setenv database -d  {dbname} -t "ORACLE_BASE=/app/oracle"

No comments:

Post a Comment