Using the Serviceguard Toolkit for Oracle Data Guard in an HP Serviceguard Cluster B.01.00, September 2010
"Managing HP Serviceguard" to create the logical volume infrastructure on
shared disks.
The disk must be available to all clustered nodes that will be configured
to run ODG toolkit.
Create file systems on all logical volumes on the volume groups.
The ODG toolkit can be configured in one of the following methods:
a) Install directory method: Here the scripts remain in the installation
directory.
b) configuration directory method: Here the user has to copy the scripts
from the
installation directory (including contents of subdirectories) to the
configuration directory
and define this location in the parameter "TKIT_DIR" in the package
configuration file.
The users can modify the scripts in the configuration directory to add
any specific
requirements. Serviceguard first tries to use the hadg.sh script in the
configuration directory.
If the script is not found in the configuration directory, it takes it
from the installation
directory.
The example configuration uses the installation directory mode operation.
This example on ODG Package Setup and Configuration is for an Oracle Data
Guard
configuration using LVM.
a. Creating a Package configuration
Create two packages – one for the primary database on the primary cluster
and the other for
the standby database on the standby cluster.
Create a directory in /etc/cmcluster, for example "dataguard". This
directory will eventually
become TKIT_DIR and "cd" to this directory.
Run the following commands to create the Package configuration file
Templates. Note that the
ODG toolkit has to be used in combination with the ECMT Oracle toolkit.
A combinational package is the one in which two applications are packaged
together
by combining their respective Serviceguard modules into one package.
The ODG Toolkit module can be combined with the ECMT Oracle Toolkit
module as follows:
#cmmakepkg -m ecmt/oracle/oracle -–m tkit/dataguard/dataguard dgpkg.conf
b. Specifying configuration parameters in the package