|
Oracle Home |
|
Home > Oracle Database Administration (DBA) > RAC > Shut down (stopping) Oracle clusterware processes |
|
Oracle 10g, 11g Database Administration (DBA): RAC |
|---|
Shut down/ stopping Oracle clusterware processes |
|
These steps were tested on a 11.2 Oracle clusterware/ 11.2 Oracle database. When you run srvctl you will perform an operation for the database or for the cluster. If the operation if related to the database you must use the srvctl command from the ORACLE_HOME, and if the operation is related to the cluster, you must use the srvctl from the GRID_HOME.
1. Ensure that you are logged in as the oracle Linux/ UNIX user.
If you are not connected as oracle OS user, you must switch to the oracle OS user su - oracle
2. Stop/ shut (stop) down all applications using the Oracle database.
This step includes stopping (shutting down) the Oracle Enterprise Manager Database Control:
$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Attention: In previous releases of Oracle Database, you were required to set environment variables for ORACLE_HOME and ORACLE_SID to start, stop, and check the status of Enterprise Manager. With Oracle Database 11g release 2 (11.2) and later, you need to set the environment variables ORACLE_HOME and ORACLE_UNQNAME to use or manage the Enterprise Manager.
export ORACLE_UNQNAME=GlobalUniqueName (database SID and not instance SID)
3. Shut down (stop) all Oracle RAC instances on all nodes.
To shut down all Oracle RAC instances for a database, enter the
following command, where db_name is the name of the database:
4. Shut down (stop) all Oracle ASM instances on all nodes. (If you are not using the ASM you must skip this step.)
To shut down an Oracle ASM instance, enter the following command, where
node_name is the name of the node where the Oracle ASM instance
is running:
5. Stop (shut down) the Oracle cluster stack
su - root cd $CRS_HOME/bin # ./crsctl stop crs (must be run on each node)
./srvctl stop nodeapps -n node_name --> in 11.2 stops only ONS and eONS because of some dependencies.
More information about this subject ( Shut down (stopping) Oracle clusterware processes ) you can get from www.in-oracle.com
|
|
Home > Oracle Database Administration (DBA) > RAC > Shut down (stopping) Oracle clusterware processes |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.