Managing Serviceguard 12th Edition, March 2006

Understanding Serviceguard Software Components
How Package Control Scripts Work
Chapter 388
How Package Control Scripts Work
Packages are the means by which Serviceguard starts and halts
configured applications. Failover packages are also units of failover
behavior in Serviceguard. A package is a collection of services, disk
volumes and IP addresses that are managed by Serviceguard to ensure
they are available. There can be a maximum of 150 packages per cluster
and a total of 900 services per cluster.
What Makes a Package Run?
There are 3 types of packages:
The failover package is the most common type of package. It runs on
one node at a time. If a failure occurs, it can switch to another node
listed in its configuration file. If switching is enabled for several
nodes, the package manager will use the failover policy to determine
where to start the package.
A system multi-node package runs on all the active cluster nodes at
the same time. It can be started or halted on all nodes, but not on
individual nodes.
A multi-node package can run on several nodes at the same time. If
AUTO_RUN is set to
YES
, Serviceguard starts the multi-node package
on all the nodes listed in its configuration file. It can be started or
halted on all nodes, or on individual nodes, either by user command
(cmhaltpkg) or automatically by Serviceguard in response to a
failure of a package component, such as service, EMS resource, or
subnet.
Multi-node and system multi-node packages are only supported for use
by applications specified by Hewlett-Packard. Do not edit control script
files for the CFS system multi-node or multi-node packages; they are
created and modified by the cfs* commands.
The CVM system multi-node package is initiated in a cluster by running
cmapplyconf on /etc/cmcluster/VxVM-CVM-pkg.conf (for CVM 3.5) or
on /etc/cmcluster/SG-CFS-pkg.conf (for CVM 4.1 without CFS).