Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Cluster and Package Maintenance
Configuring a Legacy Package
Chapter 7268
Excerpt from Legacy Package Control Script: Remote Data
Replication, Software RAID Data Replication and MD RAID
Sections
# REMOTE DATA REPLICATION DEFINITION
# Specify the remote data replication method.
# Leave the default, DATA_REP="none", if remote data replication is not used.
#
# If remote data replication is used for the package application data, set
# the variable DATA_REP to the data replication method. The current supported
# methods are "clx", "clxeva" and "xdcmd".
#
DATA_REP="none"
# SOFTWARE RAID DATA REPLICATION
# Specify the location of the Software RAID configuration file if "DATA_REP"
# is set to "xdcmd" or "XDCMD". This is the Extended Distance cluster
Configuration file.
# A separate copy of this file will be used by each package. It is recommended
# that this file be kept in the package directory.
#
# For example:
# XDC_CONFIG_FILE="$SGCONF/pkg1/raid.conf"
#
# Set XDC_CONFIG_FILE as shown below if raid.conf file is in the
# package directory.
#
# XDC_CONFIG_FILE="${0%/*}/raid.conf"
#
#XDC_CONFIG_FILE=""
# MD (RAID) CONFIGURATION FILE
# Specify the configuration file that will be used to define
# the md raid devices for this package.
#
# NOTE: The multipath mechanisms that are supported for shared storage
# depend on the storage subsystem and the HBA driver in the
# configuration. Follow the documentation for those devices when setting
# up multipath. The MD driver was used with earlier versions of
# Serviceguard and may still be used by some storage system/HBA
# combinations. For that reason there are references to MD in the template
# files, worksheets, and other areas. Only use MD if your storage systems
# specifically calls out its use for multipath.
# If some other multipath mechanism is used (e.g. one built
# into an HBA driver), then references to MD, RAIDTAB, RAIDSTART, etc.
# should be commented out. If the references are in the comments, they
# can be ignored. References to MD devices, such as /dev/md0, should be