HP Serviceguard A.11.20- Managing Serviceguard Twentieth Edition, August 2011

NOTE: This is a new process for configuring packages, as of Serviceguard A.11.18. This manual
refers to packages created by this method as modular packages, and assumes that you will use it
to create new packages; it is simpler and more efficient than the older method, allowing you to
build packages from smaller modules, and eliminating the separate package control script and
the need to distribute it manually.
If you want to create new modular CFS packages, see “Creating Modular Disk Group and Mount
Point Packages” (page 205).
Packages created using Serviceguard A.11.17 or earlier are referred to as legacy packages. If
you need to reconfigure a legacy package (rather than create a new package), see “Configuring
a Legacy Package” (page 302).
It is also still possible to create new legacy packages by the method described in “Configuring a
Legacy Package. If you are using a Serviceguard Toolkit such as Serviceguard NFS Toolkit, consult
the documentation for that product.
If you decide to convert a legacy package to a modular package, see “Migrating a Legacy Package
to a Modular Package” (page 311). Do not attempt to convert Serviceguard Toolkit packages.
If you decide to convert a legacy CFS package to a modular CFS package, see “Migrating from
Legacy CFS Packages to Modular CFS Packages ” (page 377).
If you want to convert from EMS resources to generic resources, see “Migrating EMS Resources to
Generic Resources” (page 396).
(Parameters that are in the package control script for legacy packages, but in the package
configuration file instead for modular packages, are indicated by (S) in the tables later in this
section (page 231).)
Choosing Package Modules
IMPORTANT: Before you start, you need to do the package-planning tasks described under
“Package Configuration Planning ” (page 125).
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 228).
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 230).
When you have made these decisions, you are ready to generate the package configuration file;
see “Generating the Package Configuration File” (page 254).
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 235).
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 254).
Multi-node packages. These packages run simultaneously on more than one node in the cluster.
Failures of package components such as applications, services, generic resources, EMS
228 Configuring Packages and Their Services