Using Serviceguard Extension for RAC, 5th Edition, June 2007

Serviceguard Configuration for Oracle 9i RAC
Using Packages to Configure Startup and Shutdown of RAC Instances
Chapter 3194
Customizing the Control Script for RAC Instances
Use the package control script to perform the following:
Activation and deactivation of RAC volume groups.
Startup and shutdown of the RAC instance.
Monitoring of the RAC instance.
Set RAC environment variables in the package control script to define
the correct execution environment for RAC.
Enter the names of the LVM volume groups you wish to activate in
shared mode in the VG[] array. Use a different array element for each
RAC volume group. (Remember that RAC volume groups must also be
coded in the cluster configuration file using OPS_VOLUME_GROUP
parameters.) Be sure to specify shared activation with the vgchange
command by setting the VGCHANGE parameter as follows:
VGCHANGE="vgchange -a s”
If your disks are mirrored with LVM mirroring on separate physical
paths and you want to override quorum, use the following setting:
VGCHANGE="vgchange -a s -q n”
Enter the names of the CVM disk groups you wish to activate in shared
mode in the CVM_DG[] array. Use a different array element for each RAC
disk group. (Remember that CVM disk groups must also be coded in the
package ASCII configuration file using STORAGE_GROUP parameters.) Be
sure to an appropriate type of shared activation with the CVM activation
command. For example:
CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set
activation=sharedwrite"
Do not define the RAC instance as a package service. Instead, include the
commands that start up an RAC instance in the
customer_defined_run_commands section of the package control script.
Similarly, you should include the commands that halt an RAC instance
in the customer_defined_halt_commands section of the package control
script.
Define the Oracle monitoring command as a service command, or else
use the special Oracle script provided with the ECM Toolkit.