Managing HP Serviceguard A.11.20.10 for Linux, December 2012

Configured resources are available on cluster nodes.
File systems and volume groups are valid.
Services are executable.
Any package that this package depends on is already be part of the cluster configuration.
For more information, see the manpage for cmcheckconf (1m) and “Checking Cluster
Components” (page 201).
When cmcheckconf has completed without errors, apply the package configuration, for example:
cmapplyconf -P $SGCONF/pkg1/pkg1.conf
This adds the package configuration information to the binary cluster configuration file in the
$SGCONF directory and distributes it to all the cluster nodes.
NOTE: For modular packages, you now need to distribute any external scripts identified by the
external_pre_script and external_script parameters.
But, if you are accustomed to configuring legacy packages, note that you do not have to create a
separate package control script for a modular package, or distribute it manually. (You do still have
to do this for legacy packages; see “Configuring a Legacy Package” (page 225).)
6.5 Alert Notification for Serviceguard Environment
Alert notification enhances Serviceguard capability by sending e-mail notification to configured
e-mail addresses in case of predefined set of events. E-mail addresses can be configured by editing
the email_id parameter in the package configuration file. This feature is applicable on Oracle
and NFS Toolkits, and serviceguard-xdc packages.
Oracle and NFS Toolkits Environment
For information about alert notification on Oracle and NFS toolskits environment, see the following
documents at http://www.hp.com/go/linux-serviceguard-docs:
HP Serviceguard Toolkit for Oracle version A.05.01.01 on Linux User Guide
HP Serviceguard Toolkit for NFS version A.03.03.01 on Linux User Guide
serviceguard-xdc Environment
By default, this parameter is commented and is present in the package configuration file for the
serviceguard-xdc packages.
The email_id parameter must be used to provide e-mail addresses of the serviceguard-xdc alert
notification recipients. Each email_id parameter can have one of the following values:
A complete e-mail address
An alias
A distribution list
You can also include multiple recipients by repeating the email_id address.
The serviceguard-xdc package can send an alert e-mail:
when a mirror half of the MD device becomes inaccessible
when raid_monitor service cannot add back a mirror half of the MD device after the mirror
half becomes accessible.
For example, consider the following scenario:
If the xdcpkg package is running on node1 and the MD device configured in xdcpkg package
is /dev/md0. /dev/hpdev/my_disk1 and /dev/hpdev/my_disk2 are the mirror halves of
190 Configuring Packages and Their Services