Managing Serviceguard Fifteenth Edition, reprinted May 2008

Configuring Packages and Their Services
Choosing Package Modules
Chapter 6288
module_name The module name (for example, failover, service, etc.)
Do not change it. Used in the form of a relative path (for example
sg/failover) as a parameter to cmmakepkg to specify modules to be used
in configuring the package. (The files reside in the $SGCONF/modules
directory; see “Learning Where Serviceguard Files Are Kept” on
page 199 for an explanation of Serviceguard directories.)
New for modular packages.
module_version The module version. Do not change it.
New for modular packages.
package_type The type can be failover, multi_node, or
system_multi_node. Default is failover. You can configure only
failover or multi-node packages; see “Types of Package: Failover,
Multi-Node, System Multi-Node” on page 277.
node_name The node on which this package can run, or a list of nodes in
order of priority, or an asterisk (*) to indicate all nodes. The default is *.
For system multi-node packages, you must specify *.
If you use a list, specify each node on a new line, preceded by the literal
node_name, for example:
node_name <node1>
node_name <node2>
node_name <node3>
The order in which you specify the node names is important. First list
the primary node name (the node where you normally want the package
to start), then the first adoptive node name (the best candidate for
failover), then the second adoptive node name, followed by additional
node names in order of preference.
In case of a failover, control of the package will be transferred to the next
adoptive node name listed in the package configuration file, or (if that
node is not available or cannot run the package at that time) to the next
node in the list, and so on.