Sunday, March 2, 2008

Starting and Stopping Oracle Clusterware

Starting CRS
---------------

Login to the server as root and set the oracle environment with oraenv.
$ . oraenv ORACLE_SID= ? +ASM#

Start Clusterware
$ crsctl start crs CRS-4123: Oracle High Availability Services has been started.

The clusterware process will start in the background, after a few minutes check the status
$ crsctl status res -t

Stopping CRS
---------------

First make sure you stop the RAC instance in your cluster environment. This can be done as the ORACLE owner using the SRVCTL utility (Server Control Utility). This is not essential but usually good practice.
example: srvctl stop database -d databasename


Login to the server as root and set the oracle environment with oraenv.
$ . oraenv ORACLE_SID= ? +ASM#


Stop Clusterware
$ crsctl start crs CRS-2791: Starting shutdown of Oracle Availability Services -managed resources on 'hostname'

CRS will be shutdown in the foreground.

********************************************
keywords: cluster ready services
********************************************
Version: 11g
********************************************

1 comment:

Anonymous said...

Great work.