HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014
To configure and run the package, and to ensure Oracle can be brought up and down, repeat
these steps on all other cluster nodes.
• Create the Serviceguard package using legacy method.
The following steps in this section describes the method for creating the Serviceguard package
using the legacy method. For information on creating the Serviceguard package using the
modular method, see Modular package support in Serviceguard for Linux and ECM Toolkits
available at http://www.hp.com/go/hpux-serviceguard-docs —>HP Serviceguard Enterprise
Cluster Master Toolkit.
$ mkdir /etc/cmcluster/pkg/ORACLE_TEST0
Copy the toolkit files from Oracletoolkit
$ cd /etc/cmcluster/pkg/ORACLE_TEST0/
$ cp /opt/cmcluster/toolkit/oracle/*
Create a package configuration file (ORACLE_TEST0.conf) and package control script
(ORACLE_TEST0.cntl) as follows:
$ cmmakepkg -p ORACLE_TEST0.conf
$ cmmakepkg -s ORACLE_TEST0.cntl
There should be one set of configuration and control script files for each Oracle instance.
The Serviceguard package control script (ORACLE_TEST0.cntl). Below are some examples of
modifications to the Serviceguard package control script you need to make to customize to
your environment.
If you are using LVM
VOLUME GROUPS
Define the volume groups that are used by the Oracle instance. File systems associated with these
volume groups are defined as follows:
VG[0]=/dev/vg00_${SID_NAME}
For example:
VG[0]=/dev/vg00_ORACLE_TEST0
Define the file systems which are used by the Oracle instance.
NOTE: One of these file systems must be the shared file system or logical volume containing the
Oracle Home configuration information ($ORACLE_HOME). The name of the instance is used to
name the volume groups, logical volumes, and file systems.
LV[0]=/dev/vg00_${SID_NAME}/lvol1
FS[0]=/${SID_NAME}
For example:
LV[0]=/dev/vg00_ORACLE_TEST0/lvol1
FS[0]=/ORACLE_TEST0
If you are using VxVM
• DISK GROUPS
Define the disk groups that are used by the Oracle instance. File systems associated with these
disk groups are defined as follows:
VXVM_DG[0]=/dev/vx/dsk/DG00_${SID_NAME}
For example:
24 Using the Oracle Toolkit in an HP Serviceguard Cluster