Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4 117
In the package control script file, these variables are
entered in pairs. Example IP[0]=192.10.25.12 and
SUBNET[0]=192.10.25.0. (In this case the subnet
mask is 255.255.255.0.)
HA_APP_SERVER
Specify that High Availability dependent servers are
being used with this package. One of the key servers
for HA is Network File System (NFS). You need to set
HA_APP_SERVER to yes in order to let the control script
verify, start, and stop the NFS daemons. This
parameter is for use only with certain HP supported
toolkits. The toolkits that currently use this parameter
(either pre_ or post_IP) include NFS, SAMBA, and
Apache. The default is to leave this parameter
commented out.
Service Name
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 bytes.
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.