Using Serviceguard Extension for RAC, 10th Edition, April 2013

In the function customer_defined_run_cmds:
start the RAC instance using the command: <RAC MNP working directory>/toolkit_dbi.sh
start
In the function customer_defined_halt_cmds:
stop the RAC instance using the command: <RAC MNP working directory>/toolkit_dbi.sh
stop
For the ASMDG MNP:
set VGCHANGE to "vgchange -a s" . When you use ASM over HP-UX raw disks, ignore this
step.
specify the names of the ASM Shared Volume Groups in VG[0], VG[1]... When you use ASM
over HP-UX raw disks, ignore this step.
Configure one package service:
set SERVICE_NAME[0] to the name of service specified in the ASCII configuration file
set SERVICE_CMD[0] to "<ASMDG MNP working directory>/toolkit_asmdg.sh check"
set SERVICE_RESTART[0] to ""
In the function customer_defined_run_cmds:
mount the ASM disk group using the command: <ASMDG MNP working
directory>/toolkit_asmdg.sh start
In the function customer_defined_halt_cmds:
Unmount the ASM disk group using the command: <ASMDG MNP working
directory>/toolkit_asmdg.sh stop
Legacy Package Configuration
OC MNP creation procedures
1. On one node of the cluster, create an OC MNP working directory under /etc/cmcluster
and copy the files in the Toolkit directory /opt/cmcluster/SGeRAC/toolkit/crsp.
All the following steps require root privilege:
# mkdir /etc/cmcluster/YourOwn-OCMNP-Dir
# cd /etc/cmcluster/OCMNP-Dir
# cp /opt/cmcluster/SGeRAC/toolkit/crsp/* .
2. Edit the configuration file oc.conf based on the description in “Toolkit Configuration File
Parameters” (page 73) to suit your Oracle environment.
3. Generate the package configuration file and control script for the OC MNP.
# cmmakepkg -p pkgConfigFile
# cmmakepkg -s pkgControlScript
Edit the package template files based on the description in “Legacy Package Configuration
File Parameters” (page 83) and “Legacy Package Control Script Parameters” (page 85) and
make sure that the pkgControlScript is executable.
4. Create the OC MNP working directory on all other participating nodes. Distribute the edited
package configuration file, package control script, and the Toolkit scripts created in steps 2
and 3 to all nodes. Then apply the package configuration file from one node:
# cmapplyconf -P pkgConfigFile
Using Serviceguard Packages to Synchronize with Oracle 10gR2/11gR1/11gR2 RAC 87