Managing Serviceguard Extension for SAP, December 2007

Step-by-Step Cluster Conversion
SGeSAP Configuration
Chapter 3 171
The following example WLM configuration file ties the CPU core shares
guaranteed for dialog processing to the number of dialog processes
running as of the current SAP operation mode. In times of high load, the
overall dialog processing power of the instance is guaranteed to be at
least 25% of a core multiplied by the number of dialog work processes
running.
#
# Uses absolute CPU units so that 100 shares == 1 CPU.
#
tune {
wlm_interval = 5;
absolute_cpu_units = 1;
}
#
# Create a workload group for the dialog processes and use the wlmsapmap
# utility to move all the dialog processes to this workload group.
#
prm {
groups = OTHERS : 1, dialog : 2;
procmap = dialog : /opt/wlm/toolkits/sap/bin/wlmsapmap
-f /etc/cmcluster/C11/wlmprocmap.C11_D01_node1 -t DIA; }
#
# Request 25 shares per dialog job.
#
slo s_dialog {
pri = 1;
entity = PRM group dialog
cpushares = 25 shares total per metric m_dialog; }