Getting started with HP-UX Workload Manager

49
15.Click Finish to close the wizard.
16.Activate the new configuration file, instructing WLM to take control of resource management, using
the following wlmd command:
# wlmd a /tmp/isolate_oracle_instances.wlm
Example HP-UX Workload Manager configurations
If you would like to try other configurations, WLM offers many example configuration files. Each file
includes comments explaining the components used. The syntax used in these files is documented in
the wlmconf(4) manpage and in the HP-UX Workload Manager User’s Guide.
The example configurations, some of which are described in the following list, are available from
http://www.hp.com/go/wlm and in the directory /opt/wlm/examples/wlmconf/.
entitlement_per_process.wlm—A configuration file that demonstrates the use of a shares-per-metric
goal. A workload group’s allocation, or entitlement, is based directly on the number of currently
active processes running in the group.
manual_entitlement.wlm—A configuration file to help a new WLM user characterize the behavior
of a workload. The goal is to determine how a workload responds to a series of allocations
(entitlements). For a similar configuration that changes the amount of CPU resources in the pSet on
which a workload group is based, see the file /opt/wlm/toolkits/weblogic/config/
manual_cpucount.wlm.
metric_condition.wlmA configuration file that illustrates that an SLO can be enabled based on the
value provided by a metric (in this case, the metric is provided by a glance data collector provided
with the WLM product). Metrics can be used in both the goal statement and the condition
statement of a single SLO.
stretch_goal.wlmAn example configuration file that demonstrates how to use multiple SLOs for the
same workload (but at different priority levels) to specify a stretch goal for a workload. A stretch
goal is one that you would like to have met if all other higher-priority SLOs are being satisfied and
there are additional CPU resources available.