HP-UX Workload Manager User's Guide

Example configuration files
performance_goal.template
Chapter 9 317
goal = metric [fin_app.query.resp_time < 2.0];
condition = [Mon - Fri]; # only active on weekdays
}
# On weekends, we do not expect any query transactions, but just in
# case, we will specify a nominal, fixed CPU allocation for this
# application for off-hours.
#
slo [finance_query_weekend] {
pri = [1];
mincpu = [5];
maxcpu = [5];
entity = PRM group [finance];
condition = [Sat - Sun];
}
#
# This is an SLO for the Sales group, active at all times (there are no
# conditions or exceptions).
#
slo [sales_query] {
pri = [1];
mincpu = [40];
maxcpu = [80];
entity = PRM group [sales];
goal = metric [sales_app.resp_time < 10.0];
}
#########################
# Global tune structure #
#########################
#
# Have HP-UX WLM check for new performance data (and make any necessary
# adjustments to allocations) every 30 seconds.
#
tune {
wlm_interval = [30]; # wlmd polling interval
}
###################################
# Metric-specific tune structures #
###################################
#
# This structure specifies the data collector (coll_argv) for the
# fin_ap.query.resp_time metric, used in the goal statements of the