HP-UX Workload Manager User's Guide

Configuring WLM
Defining the PRM components (optional)
Chapter 5 151
Here is an example prm structure:
prm {
groups = finance : 2,
sales : 3,
marketing : PSET : LCPU = ON;
users = jdoe : finance,
pdoe : sales,
admin : finance sales marketing;
apps = finance : /bin/dbase “dbase*Finance”,
sales : /bin/dbase “dbase*Sales”;
procmap = finance :
/bin/env/ UNIX95= /bin/ps -C pid_app -o pid=,
sales : /scratch/pidsbyapp salespid_app,
marketing : /scratch/pidsbyapp mrketpid_app;
gmincpu = finance : 20,
sales : 10;
gmaxcpu = sales : 20;
gminmem = finance : 30,
sales : 10,
marketing : 20;
disks = OTHERS : /dev/vg01 1,
finance : /dev/vg01 35,
sales : /dev/vg01 35;
}
Defining PRM components using the WLM GUI
In addition to defining the PRM components using a text editor, you can
use the WLM Configuration Wizard (/opt/wlm/bin/wlmcw). Alternatively,
you can use the WLM GUI (/opt/wlm/bin/wlmgui). For information on
using the WLM GUI to accomplish various tasks, see its online help.
Running the WLM GUI requires Java Runtime Environment version
1.4.2 or later and, for PRM-based configurations, PRM C.03.00 or later.
(To take advantage of the latest updates to WLM and the GUI, use the
latest version of PRM available.)
The following steps show how to define a workload group using the GUI.
Step 1. Set your DISPLAY environment variable.
Step 2. Start the GUI: