Managing Serviceguard 14th Edition, June 2007

Configuring Packages and Their Services
Choosing Package Modules
Chapter 6282
More detailed instructions for running cmmakepkg are in the next
section, “Generating the Package Configuration File” on page 299. See
also “Package Configuration Planning” on page 165.
package_name Any name, up to a maximum of 39 characters, that:
starts and ends with an alphanumeric character
otherwise contains only alphanumeric characters or dot (.), dash (-),
or underscore (_)
is unique among package names in this cluster
IMPORTANT Restrictions on package names in previous Serviceguard releases
were less stringent. Packages whose names do not conform to the
above rules will continue to run, but if you reconfigure them, you will
need to change the name; cmcheckconf and cmapplyconf will
enforce the new rules.
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 “Understanding Where Files Are Located” on page 200 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. You can configure only failover or multi-node packages; see
“Types of Package: Failover, Multi-Node, System Multi-Node” on
page 273.
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 *.
If you use a list, specify each node on a new line, preceded by the literal
node_name, for example: