HP-UX Workload Manager User's Guide
Example configuration files
twice_weekly_boost.wlm
Chapter 9330
# When the day is correct, boost scouting to 60 shares, unless
# scouting has requested a manual boost.
#
slo scouting_date_boost {
pri = 2;
entity = PRM group scouting;
cpushares = 60 total;
condition = (Mon || Wed);
exception = (metric scouting.boost_enable > 0) ;
}
#
# If the system administrator requests it, boost scouting to 70 shares.
#
slo scouting_manual_boost {
pri = 1;
entity = PRM group scouting;
cpushares = 70 total;
condition = (metric scouting.boost_enable > 0) ;
# front office manual boost overrides scouting manual boost
exception = (metric front_office.boost_enable > 0) ;
}
# Any CPU that remains after satisfying the above SLOs is given to the
# OTHERS group by default. You can change this default using the
# distribute_excess keyword. For more information on this keyword, see
# the wlmconf(4) manpage.
#
# Relay the boost enable metrics from the outside user.
#
tune front_office.boost_enable {
coll_argv = wlmrcvdc;
}
tune scouting.boost_enable {
coll_argv = wlmrcvdc;
}
For information on the condition keyword, see “Specifying when the
SLO is active (optional)” on page 205.