HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM SAP Toolkit
Example WLM configuration files
Chapter 594
# 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 an application record
#to isolate the Apache workload and a user record to isolate the SAP
#workload. All httpd processes will be moved to the Apache group, and
#all processes run as user p00adm will be moved to the SAP group.
#
prm {
groups = OTHERS : 1,
Apache : 2,
SAP : 3;
apps = Apache : /opt/hpws/apache/bin/httpd;
users = p00adm : SAP;
}
#
# The following SLO requests resources on behalf of the Apache workload.
# This SLO requests a static entitlement of 100 shares.
#
slo s_apache {
pri = 1;
entity = PRM group Apache;
cpushares = 100 total;
}
#
# The following SLO requests resources on behalf of the SAP workload.
# This SLO is usage-based, so more CPU resources will get allocated as
# the workload gets busier.
#
slo s_sap {