Managing Serviceguard 14th Edition, June 2007

Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4 183
To avoid this situation, it is a good idea to specify a run_script_timeout
and halt_script_timeout for all packages, especially packages that use
Serviceguard commands in their external scripts. If a timeout is not
specified and your configuration has a command loop as described above,
inconsistent results can occur, including a hung cluster.
Package Configuration File Parameters
Before editing the package configuration file, assemble the following
information and enter it on the worksheet for each package. For more
details about each parameter, see the “Package Parameter Explanations”
on page 281; you may also want to generate and print out a complete
package configuration file; use a command such as:
cmmakepkg -m sg/all $SGCONF/sg-all
package_name The name of the package. The package name must be
unique in the cluster. It is used to start, stop, modify,
and view the package.
The package name can be from 1 to 39 characters; more
details in Chapter 6 under package_name (see page
282).
package_type The type of the package. This parameter indicates
whether the package will run on one node at a time or
on multiple nodes. Valid types are failover,
multi_node, and system_multi_node. Default is
failover. system_multi_node packages are
supported only for applications supplied by HP, such as
the Veritas Cluster File System (CFS).
Do not create Veritas Cluster File System packages by
editing the configuration template; on systems that
support CFS, use the CFS administration commands in
Appendix A. See “Configuring Veritas System
Multi-node Packages” on page 313 and “Configuring
Veritas Multi-node Packages” on page 315.
node_name The names of primary and alternate nodes for the
package. Enter a node_name for each node on which the
package can run.
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