Managing Serviceguard 12th Edition, March 2006

Configuring Packages and Their Services
Creating the Package Configuration
Chapter 6274
# mkdir /etc/cmcluster/pkg1
You can use any directory names you wish.
2. Next, generate a package configuration template for the package:
# cmmakepkg -p /etc/cmcluster/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 (with 31 bytes or less in the name), the location of the control
script, and failover parameters for each package. Include the data
recorded on the Package Configuration Worksheet.
Configuring a Failover Package in Stages
It is recommended you configure failover packages in stages, as follows:
1. Configure volume groups and mount points only.
2. Distribute the control script to all nodes.
3. Apply the configuration.
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. Edit this file for failover packages. It is strongly
recommended that you never edit the package configuration file of a
CVM/CFS multi-node or system multi-node package, although
Serviceguard does not prohibit it.
Use the information on the Package Configuration worksheet to
complete the file. Refer also to the comments on the configuration
template for additional explanation of each parameter. You may include
the following information: