Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Configuring Packages and Their Services
Creating the Package Configuration
Chapter 6 181
Creating the Package Configuration
The package configuration process defines a set of application services
that are run by the package manager when a package starts up on a node
in the cluster. The configuration also includes a prioritized list of cluster
nodes on which the package can run together with definitions of the
acceptable types of failover allowed for the package.
Creating the Package Configuration File
Use the following procedure to create packages by editing and processing
a package configuration file.
1. First, create a subdirectory for each package you are configuring in
the $SGCONF directory:
# mkdir $SGCONF/pkg1
You can use any directory names you wish.
2. Next, generate a package configuration template for the package:
# cmmakepkg -p $SGCONF/pkg1/pkg1.config
You can use any file names you wish for the ASCII templates.
3. Edit these template files to specify package name, prioritized list of
nodes, the location of the control script, and failover parameters for
each package. Include the data recorded on the Package
Configuration Worksheet.