HP-UX Workload Manager User's Guide
Integration with other products
Integrating with Serviceguard
Appendix D416
Steps for integration
To integrate WLM with Serviceguard:
Step 1. Install WLM on each node in your Serviceguard cluster.
Step 2. Edit a single WLM configuration file to handle all the Serviceguard
packages in the cluster. The following example assumes there are two
packages: pkgA and pkgB. This configuration file must:
a. Place all the packages’ applications in workload groups in the prm
structure:
prm {
...
groups = pkgA:2, pkgB:3;
apps = pkgA:/opt/dbase/bin/sales_dbase,
pkgB:/opt/dbase/bin/finance_dbase;
...
}
b. Set up tune structures to report a status metric for each package:
tune pkgA_active {
coll_argv = wlmrcvdc sg_pkg_active;
}
tune pkgB_active {
coll_argv = wlmrcvdc sg_pkg_active;
}
These tune structures set the metric values pkgA_active and
pkgB_active to 1 if their packages are indeed active on the current
node. The key component is the sg_pkg_active data collector, which
is included with WLM. For more information on this data collector,
see sg_pkg_active(1M).
Rather than creating tune structures for each package, you can set
up a global tune structure that takes in package status data from any
running sg_pkg_active:
tune {
coll_argv = wlmrcvdc sg_pkg_active;
}