Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4 175
The service name must not contain any of the following
illegal characters: space, slash (/), backslash (\), and
asterisk (*). All other characters are legal. The service
name can contain up to 39 characters.
Service Command
For each named service, enter a Service Command.
This command will be executed through the control
script by means of the cmrunserv command.
In the package control script file, enter values into an
array known as SERVICE_CMD. Enter one service
command string for each service. The SERVICE_NAME,
SERVICE_CMD, and SERVICE_RESTART parameters are
set in the package control script in groups of three.
Service Restart Parameter
Enter a number of restarts. One valid form of the
parameter is “-r n” where n is a number of retries. A
value of “-r 0” indicates no retries. A value of “-R ”
indicates an infinite number of retries. The default is 0,
or no restarts.
In the package control script file, enter values into an
array known as SERVICE_RESTART. Enter one restart
value for each service. The SERVICE_NAME,
SERVICE_CMD, and SERVICE_RESTART parameters are
set in the package control script in groups of three.
Deferred Resource Names
For each deferred resource specified in the package
configuration ASCII file, you must enter the resource
name in this array in the control script. The name
should be spelled exactly as it is spelled in the
RESOURCE_NAME parameter in the package ASCII
configuration file.
In the package control script file, enter the value into
the array known as DEFERRED_RESOURCE_NAME. This
name must match the resource name listed with the
RESOURCE_START parameter in the package ASCII
configuration file.