HP-UX Workload Manager User's Guide
WLM configuration file syntax overview
Configuration file example
Appendix B 399
# This is a stretch goal for the finance query group. If all other CPU
# requests of higher priority SLOs have been met, apply more CPU to
# group finance, so its application runs faster.
slo finance_query_stretch {
pri = 5;
mincpu = 20;
maxcpu = 80;
entity = PRM group finance;
goal = metric fin_app.query.resp_time < 1.0;
condition = Mon - Fri;
}
# On weekends, we do not expect any query transactions, but just in
# case, we will specify a nominal CPU allocation for this application
# for off-hours.
slo finance_query_weekend {
pri = 1;
cpushares = 5 total;
entity = PRM group finance;
condition = Sat - Sun;
}
# This is an SLO for the Sales group.
slo sales_query {
pri = 1;
mincpu = 40;
maxcpu = 80;
entity = PRM group sales;
goal = metric sales_app.resp_time < 10.0;
}
tune {
wlm_interval = 30;
}
tune fin_app.query.resp_time {
coll_argv = /opt/fin_app/finance_collector -a 123 -v;
cntl_kp = 0.8;
}
tune sales_app.resp_time {
coll_argv = /opt/sales_app/monitor -threshold 2 -freq 30;
cntl_kp = 2.0;
}