HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM SAP Toolkit
Example WLM configuration files
Chapter 596
#
# 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. Use process maps to map
#the different SAP instance processes to the appropriate workload
#groups. When wlmsapmap uses just the map file argument, all the SAP
#processes from that instance are moved to the corresponding
#workload group.
#
prm {
groups = OTHERS : 1,
SAP_D01 : 2,
SAP_D02 : 3;
procmap =
SAP_D01 : /opt/wlm/toolkits/sap/bin/wlmsapmap
-f /etc/cmcluster/C11/wlmprocmap.C11_D01_node1,
SAP_D02 : /opt/wlm/toolkits/sap/bin/wlmsapmap
-f /etc/cmcluster/C11/wlmprocmap.C11_D02_node1;
}
#
# The following SLO requests resources on behalf of the SAP_D01 workload.
# This SLO is usage-based, so more CPU resources will get allocated as
# the workload gets busier.
#
slo s_SAP_D01 {
pri = 1;
entity = PRM group SAP_D01;
mincpu = 100;
maxcpu = 300;