Managing Serviceguard 13th Edition, February 2007

Configuring Packages and Their Services
Chapter 6 257
6 Configuring Packages and Their
Services
Serviceguard packages group together applications and the services and
resources they depend on. The typical Serviceguard package is a failover
package that starts on one node but can be moved (“failed over”) to
another if necessary. See “What is Serviceguard?” on page 24, “How the
Package Manager Works” on page 74, and “Package Configuration
Planning” on page 165 for more information.
Creating or modifying a package requires the following broad steps:
1. Generate the package ASCII file
2. Edit the package ASCII file
3. Generate the package control script
4. Edit the package control script
5. Distribute the control script to the cluster nodes
6. Apply the package ASCII file
Each of these tasks is described in the sections that follow.
In configuring your own packages, use data from the Package
Configuration Worksheet described in the “Planning” chapter. Package
configuration data from the worksheet becomes part of the binary cluster
configuration file on all nodes in the cluster. The control script data from
the worksheet goes into an executable package control script which runs
specific applications and monitors their operation.
Much of the information on the worksheets is discovered automatically
by Serviceguard Manager.