Managing HP Serviceguard A.11.20.20 for Linux, May 2013

NOTE: Non-native Serviceguard modules are those that are not delivered with the Serviceguard
product. These are additional modules such as those supplied with HP Serviceguard toolkit modules
(for example, HP Serviceguard Contributed Toolkit Suite, Oracle, NFS toolkit, EDB PPAS, Sybase,
and so on).
This allows errors to be cleaned up manually during the halt process thus minimizing the risk of
other follow on errors and reducing package downtime.
When a package is in the halt_aborted state, you can do one of the following:
Fix the error manually in the module that caused the package halt to abort and re-run
cmhaltpkg <pkg_name>.
Run cmhaltpkg -f option to forcefully halt the package. When this command is run, it will
halt the package even if the package is in halt_aborted state.
For example, consider the following scenario:
You have a package pkgA that is up and running on a node. The package contains the following
modules:
sg-module1
sg-module2
non-sg-module1
non-sg-module2
sg-module3
sg-module4
Now, suppose you run the command cmhaltpkg pkgA, if a failure is detected in
non-sg-module2, then the package halt process is aborted at this point and the package is
moved to the halt_aborted state. The command exits and does not proceed further to halt the
sg-module3 and sg-module4 modules.
After fixing the error, if you re-run cmhaltpkg pkgA, halt begins from sg-module1 and proceeds.
NOTE: This error handling mechanism is applicable only for failover packages and not for
multi-node or system multi-node packages.
It is applicable only for modular packages and not for legacy packages.
If a package is in the detached or maintenance mode, the package cannot be in halt_aborted
state.
The following operations cannot be performed on a package which is in the partially_down
status:
Reconfigure a package
Run a package
Halt a node (however, you can forcefully halt a node using cmhaltnode -f option.)
Halt a cluster (however, you can forcefully halt a cluster using cmhaltcl -f option.)
Delete a package
Failover of a package automatically. You must halt the package completely and manually
failover the package.
7.4.3 Moving a Failover Package
You can use Serviceguard Manager to move a failover package from one node to another, or
Serviceguard commands as shown below.
Before you move a failover package to a new node, it is a good idea to run cmviewcl -v -l
package and look at dependencies. If the package has dependencies, be sure they can be met
on the new node.
7.4 Managing Packages and Services 219