Managing HP Serviceguard A.12.00.00 for Linux, June 2014

IMPORTANT: Because priority is a matter of ranking, a lower number indicates a higher priority
(20 is a higher priority than 40). A numerical priority is higher than no_priority.
This parameter is new as of A.11.18. See also About Package Dependencies” (page 111).
6.1.4.18 dependency_name
A unique identifier for a particular dependency (see dependency_condition) that must be met
in order for this package to run (or keep running). It must be unique among this package's
dependency_names. The length and formal restrictions for the name are the same as for
package_name (page 185).
IMPORTANT: Restrictions on dependency names in previous Serviceguard releases were less
stringent. Packages that specify dependency_names that do not conform to the above rules will
continue to run, but if you reconfigure them, you will need to change the dependency_name;
cmcheckconf and cmapplyconf will enforce the new rules.
Configure this parameter, along with dependency_condition and dependency_location,
and optionally priority (page 189), 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 111).
6.1.4.19 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 188) 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 111).
6.1.4.20 dependency_location
Specifies where the dependency_condition must be met. The only legal value is same_node.
6.1.4.21 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.
190 Configuring Packages and Their Services