Using Serviceguard Extension for RAC, 9th Edition, September 2010
1. Shut down the Oracle applications, if any.
2. Shut down Oracle.
3. Deactivate the database volume groups or disk groups.
4. Shut down the cluster (cmhaltnode or cmhaltcl).
If the shutdown sequence described above is not followed, cmhaltcl or cmhaltnode may fail
with a message that GMS clients (RAC 9i) are active or that shared volume groups are active.
Creating Packages to Launch Oracle RAC Instances
To coordinate the startup and shutdown of RAC instances with cluster node startup and
shutdown, create a one-node package for each node that runs a RAC instance. In the package
configuration file, specify only the single node that the instance will run on, and specify the
control script that is executed every time the instance node or the entire RAC cluster starts up
or shuts down.
NOTE: You must create the RAC instance package with a PACKAGE_TYPE of FAILOVER, but
the fact that you are entering only one node ensures that the instance will only run on that node.
To simplify the creation of RAC instance packages, you can use the Oracle template provided
with the separately purchasable ECM Toolkits product (T1909BA). Use the special toolkit scripts
that are provided, and follow the instructions that appear in the README file. Also, refer to the
section “Customizing the Control Script for RAC Instances” below for more information.
To create the package with Serviceguard Manager, select the cluster. Go to the actions menu and
choose configure package. To modify a package, select the package. For an instance package,
create one package for each instance. On each node, supply the SID name for the package name.
To create a package on the command line, use the cmmakepkg command to get an editable
configuration file.
Set the AUTO_RUN parameter to YES if you want the instance to start up as soon as the node joins
the cluster. In addition, you should set the NODE_FAIL_FAST_ENABLED parameter to NO.
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 that access the RAC database:
104 Serviceguard Configuration for Oracle 9i RAC