Oracle   Home  

 

Oracle Database 9i, 10g, 11g

Oracle Data Warehouse & BI

Oracle Applications EBS 11i, R12

 Oracle Middleware

SQL & PL/SQL

UNIX/ Linux

   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
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://dev1rac.mfol.dgti.ro:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 11g Database Control ...
    ... Stopped.
 

If you want to check if the Entreprise Manager Database Console is running or not:

 

emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://dev1rac:1158/em/console/aboutApplication
EM Daemon is not running.
 

emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://dev1rac:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.

 

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:
$ oracle_home/bin/srvctl stop database -d db_name     (this command is starting all the instances)

 

 

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:
$ oracle_home/bin/srvctl stop asm -n node_name

 

 

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

 

 

 

Oracle Database 9i, 10g, 11g

Oracle Data Warehouse & BI Oracle Applications EBS 11i, R12  Oracle Middleware

SQL & PL/SQL

UNIX/ Linux

   Home  >  Oracle Database Administration (DBA)  >  RAC  >  Shut down (stopping) Oracle clusterware processes

 

 

Different Romanian Links/ Linkuri romanesti diferite

  1. Invata limba engleza (Learn English language if you are Romanian)

  2. Translator Englez - Roman           Translator Roman- Englez

  Doresti un proiect de arhitectura ieftin (pentru zonele Buzau, Bucuresti sau Prahova) ?

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.