Managing HP Serviceguard A.11.20.10 for Linux, December 2012

NOTE: For more information, see the comments in the editable configuration file output by the
cmmakepkg command, and the cmmakepkg (1m) manpage.
If you are going to browse these explanations deciding which parameters you need, you may
want to generate and print out a configuration file that has the comments for all of the parameters;
you can create such a file as follows:
cmmakepkg -m sg/all $SGCONF/sg-all
or simply
cmmakepkg $SGCONF/sg-all
This creates a file $SGCONF/sg-all that contains all the parameters and comments. (See
“Understanding the Location of Serviceguard Files (page 129) for the location of $SGCONF on your
version of Linux.)
More detailed instructions for running cmmakepkg are in the next section, “Generating the Package
Configuration File” (page 185).
See also “Package Configuration Planning ” (page 100).
6.1.4.1 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.
6.1.4.2 module_name
The module name. Do not change it. Used in the form of a relative path (for example, sg/
failover) as a parameter to cmmakepkg specify modules to be used in configuring the package.
(The files reside in the $SGCONF/modules directory; see “Understanding the Location of
Serviceguard Files” (page 129) for the location of $SGCONF on your version of Linux.)
New for modular packages.
6.1.4.3 module_version
The module version. Do not change it.
New for modular packages.
6.1.4.4 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
(page 164).
Packages of one type cannot include the base module for another; for example, if package_type
is failover, the package cannot include the multi_node, or system_multi_node module.
6.1.4.5 package_description
The application that the package runs. This is a descriptive parameter that can be set to any value
you choose, up to a maximum of 80 characters. Default value is Serviceguard Package.
6.1 Choosing Package Modules 169