Using Serviceguard Extension for RAC, 4th Edition, February 2007
Serviceguard Configuration for Oracle 9i RAC
Using Packages to Configure Startup and Shutdown of RAC Instances
Chapter 3166
If you are using CVM disk groups for the RAC database, be sure to
include the name of each disk group on a separate STORAGE_GROUP line in
the configuration file.
If you are using CFS or CVM for RAC shared storage with multi-node
packages, the package containing the RAC instance should be configured
with package dependency to depend on the multi-node packages.
The following is a sample of the setup dependency conditions in
application package configuration file:
DEPENDENCY_NAME mp1
DEPENDENCY_CONDITION SG-CFS-MP-1=UP
DEPENDENCY_LOCATION SAME_NODE
DEPENDENCY_NAME mp2
DEPENDENCY_CONDITION SG-CFS-MP-2=UP
DEPENDENCY_LOCATION SAME_NODE
DEPENDENCY_NAME mp3
DEPENDENCY_CONDITION SG-CFS-MP-3=UP
DEPENDENCY_LOCATION SAME_NODE
Configuring Packages that Access the Oracle RAC
Database
You can also use packages to start up applications that access the RAC
instances. If an application is intended to fail over among cluster nodes,
then you must set it up as a distinct package, separate from the package
that starts and stops the RAC instance. Use the following procedures for
packages that contain applications which access the RAC database:
1. In the ASCII package configuration file, set the AUTO_RUN parameter
to NO, or if you are using Serviceguard Manager to configure
packages, set Automatic Switching to Disabled. This keeps the
package from starting up immediately when the node joins the
cluster, and before RAC is running.
2. You can then manually start the package using the cmmodpkg -e
packagename command after RAC is started. Alternatively, you can
choose to automate the process of package activation by writing your