Managing Serviceguard 12th Edition, March 2006
Cluster and Package Maintenance
Managing Packages and Services
Chapter 7336
The progress window shows messages as the action takes place. This will
include messages for starting the package.
The cluster must be running in order to start a package.
Using 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, for a failover package:
# 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.
Use the cfs admin commands, listed in Appendix A, to start the
special-purpose multi-node packages used with CVM and CFS. For
example, to start the special-purpose multi-node package for the disk
group package (SG-CFS-DG-
id#
), use the cfsdgadm command. To start
the special-purpose multi-node package for the mount package
(SG-CFS-MP-
id#
) use the cfsmntadm command. Check to see if your
package has a dependency; before you can start your dependent package,
you must start all the packages it depends on.
Halting a Package
You halt a Serviceguard package when you wish to bring the package out
of use but wish the node to continue in operation. You can halt a package
using Serviceguard Manager or on the Serviceguard command line.
Halting a package has a different effect than halting the node. When you
halt the node, its failover packages may switch to adoptive nodes
(assuming that switching is enabled for them); when you halt a failover
package, it is disabled from switching to another node, and must be
restarted manually on another node or on the same node.
System multi-node packages run on all cluster nodes simultaneously;
halting these packages stops them running on all nodes. A multi-node
package can run on several nodes simultaneously; you can halt them on
all the nodes where they are running, or you can specify individual
nodes.