Managing HP Serviceguard A.11.20.10 for Linux, December 2012

If this package will depend on another package or packages, enter values for
dependency_name, dependency_condition, dependency_location, and optionally
priority.
See About Package Dependencies” (page 107) for more information.
NOTE: The package(s) this package depends on must already be part of the cluster
configuration by the time you validate this package (via cmcheckconf; see “Verifying and
Applying the Package Configuration” (page 189)); otherwise validation will fail.
To configure package weights, use the weight_name and weight_value parameters
(page 175). See About Package Weights” (page 115) for more information.
Use monitored_subnet to specify a subnet to be monitored for this package. If there are
multiple subnets, repeat the parameter as many times as needed, on a new line each time.
In a cross-subnet configuration, configure the additional monitored_subnet_access
parameter for each monitored_subnet as necessary; see About Cross-Subnet Failover”
(page 125) for more information.
If your package will use relocatable IP addresses, enter the ip_subnet and ip_address
addresses. See the parameter descriptions (page 176) for rules and restrictions.
In a cross-subnet configuration, configure the additional ip_subnet_node parameter for
each ip_subnet as necessary; see About Cross-Subnet Failover” (page 125) for more
information.
For each service the package will run:
enter the service_name (for example, a daemon or long-running process)
enter the service_cmd (for example, the command that starts the process)
enter values for service_fail_fast_enabled and service_halt_timeout if
you need to change them from their defaults.
service_restart if you want the package to restart the service if it exits. (A value of
unlimited can be useful if you want the service to execute in a loop, rather than exit
and halt the package.)
Include a service entry for disk monitoring if the package depends on monitored disks. Use
entries similar to the following:
service_name=cmresserviced_Pkg1
service_cmd=$SGBIN/cmresserviced /dev/sdd1
service_restart=””
See “Creating a Disk Monitor Configuration” (page 191) for more information.
To monitor a crucial resource as part of a package using generic resources, enter values for
the following parameters (page 178):
generic_resource_name to identify the generic resource in a package.
generic_resource_evaluation_type to define whether the status of the generic
resource must be evaluated during or before the package is started.
generic_resource_up_criteria to determine the status of a generic resource
based on the specified criterion.
See “Configuring a Generic Resource” (page 104) for more information.
If the package needs to activate LVM volume groups, configure vgchange_cmd, or leave the
default.
188 Configuring Packages and Their Services