Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Choosing Package Modules
IMPORTANT: Before you start, you need to do the package-planning tasks described
under “Package Configuration Planning ” (page 120).
To choose the right package modules, you need to decide the following things about the
package you are creating:
What type of package it is; see “Types of Package: Failover, Multi-Node, System
Multi-Node” (page 200).
Which parameters need to be specified for the package (beyond those included in
the base type, which is normally failover, multi-node, or system-multi-node). See
“Package Modules and Parameters” (page 201).
When you have made these decisions, you are ready to generate the package
configuration file; see “Generating the Package Configuration File” (page 225).
Types of Package: Failover, Multi-Node, System Multi-Node
There are three types of packages:
Failover packages. This is the most common type of package. Failover packages
run on one node at a time. If there is a failure, Serviceguard (or a user) can halt
them, and then start them up on another node selected from the package’s
configuration list; see node_name (page 206).
To generate a package configuration file that creates a failover package, include-m
sg/failover on the cmmakepkg command line. See “Generating the Package
Configuration File” (page 225).
Multi-node packages. These packages run simultaneously on more than one node
in the cluster. Failures of package components such as applications, services, or
subnets, will cause the package to be halted only on the node on which the failure
occurred.
Relocatable IP addresses cannot be assigned to multi-node packages.
IMPORTANT: Multi-node packages must either use a clustered file system such as
Red Hat GFS, or not use shared storage.
To generate a package configuration file that creates a multi-node package,
include-m sg/multi_node on the cmmakepkg command line. See “Generating
the Package Configuration File” (page 225).
System multi-node packages. System multi-node packages are supported only for
applications supplied by HP.
200 Configuring Packages and Their Services