HP Serviceguard Extended Distance Cluster for Linux A.12.00.00 Deployment Guide, March 2014
5 Configuring Packages for Extended Distance Cluster
Software
Starting with A.11.20.10, HP Serviceguard introduces a unified method of configuring packages.
Packages created with this method are referred to as modular packages. With this new method,
you can configure any package using a single file.
Similarly, using the modular package method, you can configure the packages in serviceguard-xdc
environment. Modular packages that contain attributes and values for XDC module are referred
to serviceguard-xdc packages. The configuration parameters for XDC module in the package are
located in the package file. This chapter discusses how to create an serviceguard-xdc modular
package.
5.1 Creating a serviceguard-xdc Modular Package
NOTE: Mulitnode or system multinode package are not supported.
To create a modular package, complete the following procedure:
1. Run the following commands to create a modular package for serviceguard-xdc:
On Red Hat Enterprise Linux Server 5 and 6 with persistent reservation:
cmmakepkg -m xdc/xdc /usr/local/cmcluster/conf/xdc_pkg1/xdc_pkg1.conf
On SUSE Linux Enterprise Server 11 with persistent reservation:
cmmakepkg -m xdc/xdc /opt/cmcluster/conf/xdc_pkg1/xdc_pkg1.conf
By running these commands, an empty template file is created. You will need to edit this empty
template file to enable Software RAID in your environment.
Following is a sample section of the serviceguard-xdc template file. This snippet illustrates only
the section where serviceguard-xdc configuration is specified:
2. If the MD device is active, run the following command to stop the MD device:
mdadm –S /dev/md0
where, “/dev/md0” is the name of the MD device specified in the configuration file.
Ensure that the MD device that is specified in the package configuration file are activated by
the package only.
# *********************************************************************
# *** EXTENDED DISTANCE CLUSTER CONFIGURATION ***
# *********************************************************************
#
# RPO_Target
#
# "rpo_target" is used to specify the Recovery Point Objective Target.
# This refers to the maximum time window allowed after which the raid
# system will be disabled to prevent large data loss, resulting in the
# package not being able to start. This is by default set to 0.
# Recommended value is more than the value set for "raid_monitor_interval".
#
# Possible values are:
# 1. -1 - To ignore the rpo_target check during startup
# 2. Any positive integer including zero.
#
# For example, to ignore rpo_target check, configure
# rpo_target -1
# To allow only a maximum of 10 seconds of data loss, configure
# rpo_target 10
#
# Legal values for xdc/xdc/rpo_target: (value >= -1).
xdc/xdc/rpo_target 0
5.1 Creating a serviceguard-xdc Modular Package 31