Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Serviceguard Commands
Appendix A 327
cmhaltserv Halt a service from the high availability package
halt script. This is not a command line executable
command, it runs only from within the package
control script.
cmhaltserv is used in the high availability package
halt script to halt a service. If any part of package
is marked down, the package halt script is executed
as part of the recovery process.
This command sends a SIGTERM signal to the PID
and the corresponding process group of the
monitored service. If this signal is caught by the
running application, it is up to the application to
ensure that the processes will be terminated.
cmmakepkg Create a high availability package template file.
cmmakepkg creates a template package
configuration file (or package control script for a
legacy package). The template file should be
customized for a specific package, then verified by
the cmcheckconf command before being applied
(cmapplyconf). If you do not provide an
output_file_name, output goes to stdout.
See “Package Configuration Planning” on page 119;
“Configuring Packages and Their Services” on
page 199; “Configuring a Legacy Package” on
page 275; and “Reconfiguring a Package” on
page 289.
Table A-1 Serviceguard Commands (Continued)
Command Description