Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7 251
Managing Packages and Services
Managing packages and services involves the following tasks:
Starting a Package
Halting a Package
Moving a Package
Reconfiguring a Package on a Halted Cluster
Starting a Package
Ordinarily, a package configured as part of the cluster will start up on its
primary node when the cluster starts up. You may need to start a
package manually after it has been halted manually. You can do this
either in Serviceguard Manager or with HP Serviceguard commands.
Using Serviceguard Manager to Start a Package
Select the package you wish to start, and right-click to display the action
list. You can start the package either on its default configured node, or on
any node in the package node list. Select “Start Package on Configured
Node” or “Start Package on Specified Node.In the latter case, you will
see a select list of running eligible nodes from which you can choose the
node on which the package should start.
The progress window shows messages as the action takes place. This will
include a messages for starting the package.
The cluster must be running in order to start a package.
Using HP Serviceguard Commands to Start a Package
Use the cmrunpkg command to run the package on a particular node,
then use the cmmodpkg command to enable switching for the package.
Example:
# cmrunpkg -n ftsys9 pkg1
# cmmodpkg -e pkg1
This starts up the package on
ftsys9
, then enables package switching.
This sequence is necessary when a package has previously been halted
on some node, since halting the package disables switching.