Preventing automatic database startup

Configure the Oracle RAC database for manual startup if you want the Oracle RAC database to be managed by VCS using the Oracle agent. Before you configure the VCS service groups for Oracle, you need to prevent the Oracle database from starting automatically. The Oracle Clusterware and Oracle agent may attempt to start the database instance at the same time if the database mount is available. To prevent the Oracle database from starting automatically, you must change the management policy for the database from automatic to manual using the Oracle SRVCTL command. The command changes the AUTO_START attribute of the Oracle database and instance resources.

To prevent automatic database startup

  1. Register the database, if not already registered:

    $ srvctl add database -d db-name -o oracle_home \
    -p location-of-parameterfile -y manual
  2. Once the database is registered, change the management policy for the database to manual:

    $ srvctl stop database -d db-name
    $ srvctl modify database -d db-name -y manual
  3. Start the database:

    $ srvctl start database -d db-name