Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Cluster and Package Maintenance
Configuring a Legacy Package
Chapter 7262
Configuring a Legacy Package
IMPORTANT You can still create a new legacy package. If you are using a
Serviceguard Toolkit such as Serviceguard NFS Toolkit, consult the
documentation for that product.
Otherwise, use this section to maintain and re-work existing legacy
packages rather than to create new ones. The method described in
Chapter 6, “Configuring Packages and Their Services,” on page 191, is
simpler and more efficient for creating new packages, eliminating the
separate package control script and the need to distribute it manually.
Creating or modifying a legacy package requires the following broad
steps:
1. Generate the package configuration file
2. Edit the package configuration 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 configuration file
Each of these tasks is described in the sub-sections that follow.
In configuring packages, use data from the Package Configuration
Worksheet described in Chapter 4, “Planning and Documenting an HA
Cluster,” on page 89.
Creating the Legacy 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.