Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Configuring Packages and Their Services
Creating the Package Configuration
Chapter 6182
Configuring in Stages
It is recommended to configure packages on the cluster in stages, as
follows:
1. Configure volume groups and mount points only.
2. Apply the configuration.
3. Distribute the control script to all nodes.
4. Run the package and ensure that it can be moved from node to node.
5. Halt the package.
6. Configure package IP addresses and application services in the
control script.
7. Distribute the control script to all nodes.
8. Run the package and ensure that applications run as expected and
that the package fails over correctly when services are disrupted.
Package Configuration Template File
The following is a sample package configuration file template customized
for a typical package.
# **********************************************************************
# ****** HIGH AVAILABILITY PACKAGE CONFIGURATION FILE (template) *******
# **********************************************************************
# ******* Note: This file MUST be edited before it can be used. ********
# * For complete details about package parameters and how to set them, *
# * consult the HP Serviceguard manuals. *
# **********************************************************************
# Enter a name for this package. This name will be used to identify the
# package when viewing or manipulating it. It must be different from
# the other configured package names.
PACKAGE_NAME pkg1
# Enter the package type for this package.
# Currently the only valid value for PACKAGE TYPE is:
#
# FAILOVER package runs on one node at a time and if a failure
# occurs it can switch to an alternate node.
#
# Examples : PACKAGE_TYPE FAILOVER (default)