HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM SAP Toolkit
Example WLM configuration files
Chapter 598
#into different workload groups.
#
# Dependencies:
#This example was designed to run with HP-UX WLM version A.03.01 or
#later.
#
# Set the interval on which WLM takes CPU requests and makes changes in CPU
# allocations to 5 seconds. (The default interval is 60 seconds. Using a
# smaller interval allows WLM to respond more quickly to changes in
# workload performance.)
#
# Use absolute_cpu_units mode so that 100 shares equals 1 core of CPU
# resources.
#
tune {
wlm_interval = 5;
absolute_cpu_units = 1;
}
#
# prm structure
#
#Define groups for the various workloads. The procmap feature is
#used in conjunction with the SAPTK process ID finder so that the
#SAP batch processes are moved to the Batch group and the dialog
#processes are moved to the Dialog group.
#
#Note that when multiple process types are specified with the -t
#option, quotes must be used around the argument; otherwise, the
#comma separating the process types is interpreted as a procmap
#record separator rather than a process type separator. For example:
#
# procmap = BTC_UPD : opt/wlm/toolkits/sap/bin/wlmsapmap
#-f /etc/cmcluster/C11/wlmprocmap.C11_D01_node1 -t “BTC,UPD”;
#
#This would move all the batch (BTC) and update (UPD) processes
#to the BTC_UPD workload group.
#
prm {
groups = OTHERS : 1,
Batch : 2,
Dialog : 3;
procmap =
Batch : /opt/wlm/toolkits/sap/bin/wlmsapmap