HP Serviceguard Oracle DataGuard Toolkit User Guide, April 2011

Table 5 Package attributes (continued)
DescriptionVariable Name
This parameter specifies whether the standby database has to be started as
the primary database or not. It has to be set to "yes" in the "Recovery
package" of the Continentalclusters' Recovery Group. When primary package
goes down, the user has to run the command cmrecovercl to bring up the
recovery package on the recovery cluster. The recovery package executes the
failover commands and starts the new primary database (which was originally
the standby database before recovery package startup). NOTE: The toolkit
displays a warning message during package validation (In package apply
(cmapplyconf -P) and package check (cmacheckconf -P)) when this parameter
is set to "yes" , stating that the parameter has to be used only in the Recovery
package of the Continentalclusters environment. The toolkit thus alerts the user
to change its value to "no" if it is not a recovery package.
START_STANDBY_AS_PRIMARY
This parameter is used to specify the E-mail address for sending alerts.ALERT_MAIL_ID
NOTE: The other parameters required by the ODG toolkit are sourced from ECMT
Oracle/SGeRAC toolkit module.
While using ECMT Oracle/SGeRAC toolkit module with ODG toolkit module, the package
configuration parameter "START_MODE" must always be set to "mount".
Oracle Data Guard package configuration example
This section explains an ODG package configuration example.
Follow the instructions in the chapter “Building an HA Cluster Configuration in the manual
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 the 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:
Install directory method: Here the scripts remain in the installation directory.
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 (or hadg_rac.sh) script in the configuration directory. If the script is
not found in the configuration directory, it takes it from the installation directory.
Single-Instance Environment
The example configuration uses the installation directory mode operation. This example on ODG
Package Setup and Configuration is for an ODG configuration using LVM.
24 Installation and configuration of the toolkit