Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy for Linux B.12.00.00

service_cmd "$SGSBIN/DR3PARRCMon $SG_PACKAGE_NAME"
service_restart unlimited
To receive notifications about the status change of the Remote Copy Volume Groups,
specify an appropriate value for the DR_NOTIFICATION_CHOICES attribute by
specifying one or more notification types.
The DR_NOTIFICATION_CHOICES attribute supports the following types of
notifications:
EMAIL
NOTE: For email notifications, you must include sg/email module as part of
the package.
SYSLOG
OPC
CONSOLE
You can configure one or any combination of the notification types for the Remote Copy
Volume Group monitor in the DR_NOTIFICATION_CHOICES attribute. For example, to
configure all the types of notifications:
DR_NOTIFICATION_CHOICES EMAIL OPC SYSLOG CONSOLE
If you do not want to use the Remote Copy Volume Group monitor, comment the
DR_NOTIFICATION_CHOICES attribute and the monitoring service in the package
configuration file.
For the failover_policy parameter, in Metrocluster failover packages you can use any
of the Serviceguard defined failover policies. The site_preferred and
site_preferred_manual failover policies are introduced in Serviceguard specifically for
Metrocluster configurations.
The site_preferred value implies that when a Metrocluster package needs to fail over, it
fails over to a node in the same site as the node it last ran. If a configured node is not available
within the same site, the package fails over to a node on another site.
The site_preferred_manual failover policy enables automatic failover of packages within
a site and manual failover across sites.
Configure a cluster with sites to use either of these policies. For information on configuring
the failover policy to site_preferred or site_preferred_manual, see “Site Aware
Failover Configuration” (page 10).
3. Validate the package configuration file.
# cmcheckconf -P pkgName.config
4. Apply the package configuration file.
# cmapplyconf -P pkgName.config
NOTE: After the modular Metrocluster 3PAR package is created, if the value of any
Metrocluster 3PAR parameter needs to be changed, then edit this package configuration file
and re-apply it.
Online reconfiguration of the packages
Metrocluster with 3PAR Remote Copy for Linux supports the online reconfiguration of the packages.
For more information, see Managing HP Serviceguard A.12.00.00 for Linux available at http://
www.hp.com/go/linux-serviceguard-docs.
Configuring Metrocluster Packages 21