Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Configuring Packages and Their Services
Creating the Package Configuration
Chapter 6186
#
# 1. USER_NAME can either be ANY_USER, or a maximum of
# 8 login names from the /etc/passwd file on user host.
# 2. USER_HOST is where the user can issue Serviceguard commands.
# If using Serviceguard Manager, it is the COM server.
# Choose one of these three values: ANY_SERVICEGUARD_NODE, or
# (any) CLUSTER_MEMBER_NODE, or a specific node. For node,
# use the official hostname from domain name server, and not
# an IP addresses or fully qualified name.
# 3. USER_ROLE must be PACKAGE_ADMIN. This role grants permission
# to MONITOR, plus for administrative commands for the package.
#
# These policies do not effect root users. Access Policies here
# should not conflict with policies defined in the cluster configuration file.
#
# Example: to configure a role for user john from node noir to
# administer the package, enter:
# USER_NAME john
# USER_HOST noir
# USER_ROLE PACKAGE_ADMIN
Use the information on the Package Configuration worksheet to
complete the file. Refer also to the comments on the configuration
template for additional explanation of each parameter. You may include
the following information:
FAILOVER_POLICY. Enter either CONFIGURED_NODE or
MIN_PACKAGE_NODE.
FAILBACK_POLICY. Enter either MANUAL or AUTOMATIC.
NODE_NAME. Enter the name of each node that is allowed to run the
package on a separate line.
AUTO_RUN. Enter YES to allow the package to start on the first
available node, or NO to keep the package from automatic startup.
RUN_SCRIPT and HALT_SCRIPT. Specify the pathname of the package
control script (described in the next section). No default is provided.
If your package contains application services, enter the
SERVICE_NAME, SERVICE_FAIL_FAST_ENABLED and
SERVICE_HALT_TIMEOUT. values. Enter a group of these three for
each service. You can configure no more than 30 services per
package. The service name must also be defined in the package
control script.