HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

If you are using VxVM - unmount and deport the disk group,
$ umount /ORACLE_TEST0
$ vxdg deport /dev/vx/dsk/DG0_ORACLE_TEST0
Repeat this step on all other cluster nodes to be configured to run the package to ensure Oracle
can be brought up and down successfully.
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/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
Support For Oracle Database without ASM 21