Managing HP Serviceguard A.11.20.20 for Linux, March 2014

For more information, see the manpage for cmcheckconf (1m) and “Verifying Cluster and
Package Components” (page 208).
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 233).)
6.6 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,
NFS, Enterprise Database Postgres Plus Advanced Server (EDB PPAS) and Sybase Toolkits, and
serviceguard-xdc packages.
NOTE: This feature is supported only on modular style package and is not supported on legacy
style package.
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.10 on Linux User Guide
HP Serviceguard Toolkit for NFS version A.03.03.10 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
the MD /dev/md0, and for some reason /dev/hpdev/my_disk2 becomes inaccessible. If the
6.6 Alert Notification for Serviceguard Environment 197