Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Configuring Packages and Their Services
Choosing Package Modules
Chapter 6 207
Configure this parameter, along with dependency_condition and
dependency_location (see page 207), and optionally priority, 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” on page 115.
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 (see page 205) 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” on page 115.
dependency_location
Specifies where the dependency_condition must be met. The only legal
value is same_node.