HP-UX Workload Manager User's Guide
Contents
8
Using WLM on multiple servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Using WLM with HP Integrity Virtual Machines (Integrity VM) . . . . . . . . . . . . . . . . 58
WLM and Process Resource Manager (PRM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
WLM product directory structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
2. WLM quick start: the essentials for using WLM
Network operating environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
WLM shown in action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Where WLM is installed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Seeing how WLM will perform without actually affecting your system . . . . . . . . . . . 75
Starting WLM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Stopping WLM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Creating a configuration file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
The easiest way to configure WLM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Where to find example WLM configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
How WLM controls applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
How to put an application under WLM control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Application records: Workload separation by binary name . . . . . . . . . . . . . . . . . . . . 83
User records: Workload separation by process owner UID . . . . . . . . . . . . . . . . . . . . 83
Unix group records: Workload separation by Unix group ID . . . . . . . . . . . . . . . . . . 84
Secure compartments: Workload separation by secure compartment . . . . . . . . . . . 85
Process maps: Workload separation using your own criteria. . . . . . . . . . . . . . . . . . . 85
prmrun: Starting a process in a workload group . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
prmmove: Moving an existing process to a workload group. . . . . . . . . . . . . . . . . . . . 86
Default: Inheriting workload group of parent process . . . . . . . . . . . . . . . . . . . . . . . . 87
How to determine a goal for your workload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Some common WLM tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Migrating cores across partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Providing a fixed amount of CPU resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Portions of processors (FSS groups) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Whole processors (PSETs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Providing CPU resources for a given time period . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Providing CPU resources as needed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Other functions WLM provides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Run in passive mode to verify operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Auditing and billing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102