Getting started with HP-UX Workload Manager

50
par_manual_allocation.wlm, par_manual_allocation.wlmparThese configuration files demonstrate
how WLM can resize HP-UX Virtual Partitions (vPars) and nPartitions (nPars). In this configuration,
you manually request the number of cores for a partition by using the wlmsend command to feed
the request to WLM. Configure WLM in each partition on the system using the .wlm file. Configure
the WLM global arbiter in one partition using the .wlmpar file.
par_usage_goal.wlm, par_usage_goal.wlmpar These configuration files demonstrate how WLM
can resize HP-UX Virtual Partitions and nPartitions, shifting cores between the partitions on a system.
Configure WLM in each partition on the system using the .wlm file. Configure the WLM global
arbiter in one vPar using the .wlmpar file.
In addition, WLM has several free toolkits that simplify integrating WLM with various major
applications. Each toolkit comes with example WLM configurations as well. Some of these toolkits
help you use WLM with:
Apache Web server
Oracle databases
BEA WebLogic Server
SAP software
HP-UX SNMP Agent
For information on these toolkits and their configuration files, see the wlmtk(5) manpage or:
http://www.hp.com/go/wlm
Alternative methods for placing processes in workload
groups
When a system is divided into workload groups, each application must go into a workload group. By
default, processes run by root users go into the PRM_SYS group, and processes run by non-root users
go into the OTHERS group. However, the WLM configuration file enables you to change the workload
group in which a particular user’s processes run by adding user records to the WLM configuration
file. Furthermore, you can specify the workload groups in which processes run by adding application
records to your WLM configuration, or defining secure compartments that isolate the processes in
specified workload groups. You can even define process maps that include your own criteria for
placing processes in workload groups. For more information on these methods for placing processes
in workload groups, see the white paper, “HP-UX Workload Manager: a quick reference,” available
from the information library at:
http://www.hp.com/go/wlm
Outside the configuration file, you can use the prmrun and prmmove utilities discussed in the
following sections to manage process placement.