Managing Serviceguard Eighteenth Edition, September 2010
multi-node package, or a failover package whose failover_policy is
configured_node.
• DOWN means that this package requires the package identified by <package_name>
to be down (that is, the status reported by cmviewcl is UP). This is known as an
exclusionary dependency (or exclusion dependency).
If you specify DOWN:
— The exclusionary dependency must be mutual: only one of the packages can
be running at any given time. For example, if pkgA depends on pkgB to be
down, pkgB must also depend on pkgA to be down.
— You must apply both packages to the cluster configuration at the same time.
— Both packages must be failover packages whose failover_policy is
configured_node.
— At least one of the packages must specify a priority (page 293).
For more information, see “About Package Dependencies” (page 179).
dependency_location
Specifies where the dependency_condition must be met.
• If dependency_condition is UP, legal values fordependency_location are same_node,
any_node, and different_node.
— same_node means that the package depended on must be running on the same
node.
— different_node means that the package depended on must be running on
a different node in this cluster.
— any_node means that the package depended on must be running on some
node in this cluster.
• If dependency_condition is DOWN, legal values fordependency_location are same_node
andall_nodes.
— same_node means that the package depended on must not be running on the
same node.
— all_nodes means that the package depended on must not be running on any
node in this cluster.
For more information, see “About Package Dependencies” (page 179).
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.
Choosing Package Modules 295