Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Configure this parameter, along with dependency_condition and
dependency_location, and optionally priority (page 210), if this package depends
on another package; for example, if this package depends on a package named pkg2:
dependency_name pkg2dep
dependency_condition pkg2 = UP
dependency_location same_node
For more information about package dependencies, see About Package Dependencies
(page 130).
dependency_condition
The condition that must be met for this dependency to be satisfied. As of Serviceguard
A.11.18, the only condition that can be set is that another package must be running.
The syntax is: <package_name> = UP, where <package_name> is the name of the
package depended on. The type and characteristics of the current package (the one we
are configuring) impose the following restrictions on the type of package it can depend
on:
If the current package is a multi-node package, <package_name> must identify a
multi-node or system multi-node package.
If the current package is a failover package and its failover_policy (page 209)
is min_package_node, <package_name> must identify a multi-node or system
multi-node package.
If the current package is a failover package and configured_node is its
failover_policy, <package_name> must identify a multi-node or system
multi-node package, or a failover package whose failover_policy is
configured_node.
See also About Package Dependencies” (page 130).
dependency_location
Specifies where the dependency_condition must be met. The only legal value is
same_node.
weight_name, weight_value
These parameters specify a weight for a package; this weight is compared to a node's
available capacity (defined by the CAPACITY_NAME and CAPACITY_VALUE parameters
in the cluster configuration file) to determine whether the package can run there.
Both parameters are optional, but if weight_value is specified, weight_name must
also be specified, and must come first. You can define up to four weights, corresponding
to four different capacities, per cluster. To specify more than one weight for this package,
repeat weight_name and weight_value.
Choosing Package Modules 211