Managing Serviceguard 12th Edition, March 2006

Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4184
Enter a unique name for each specific service within
the package. All services are monitored by
Serviceguard. You may specify up to 30 services per
package. Each name must be unique within the cluster.
The service name is the name used by cmrunserv and
cmhaltserv inside the package control script. It must
be the same as the name specified for the service in the
package ASCII configuration file.
In the package control script file, enter values into an
array known as SERVICE_NAME. Enter one service name
for each service. The SERVICE_NAME, SERVICE_CMD, and
SERVICE_RESTART parameters are set in the package
control script in groups of three.
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 nwhere 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