Using HP-UX Workload Manager: A quick reference

23
Figure 2. Time-based resource allocation
SLO is enabled
SLO is disabled; workload
gets its gmincpu
To provide a workload group CPU resources based on a schedule:
NOTE
This procedure applies only to PRM-based configurations (confined within a
single instance of HP-UX). PRM must be installed on your system for WLM
to be able to manage PRM-based workloads.
You can achieve similar functionality for configurations that manage
partitions by using a condition keyword similar to the one shown in step
2. For information on configuring WLM for migrating CPU resources
across partitions, see the wlmpard(1M) and wlmparconf(4) manpages.
1. Define the workload group and assign a workload to it.
In your WLM configuration file, define your workload group in a prm structure using the groups
keyword. Assign a workload to the group using the apps keyword.
In this example, the sales group is the group of interest again.
prm {
groups = sales : 2;
apps = sales : /opt/sales/bin/sales_monitor;
}