HP-UX Workload Manager User's Guide
Example configuration files
stretch_goal.wlm
Chapter 9 319
# $Revision: 1.7 $
# Caveats:
# DO NOT MODIFY this file in its /opt/wlm/examples/wlmconf location!
# Make modifications to a copy and place that copy outside the
# /opt/wlm/ directory, as items below /opt/wlm will be replaced
# or modified by future HP-UX WLM product updates.
#
# Purpose:
# Demonstrate the use of multiple SLOs at different priority levels,
# but for the same workload, used to facilitate a “stretch” goal (one
# that we’d like to have met if all other higher-priority SLOs are
# being met).
#
# This file is very similar to the performance_goal.template file.
# It is provided without the user-customizable fields in brackets.
# But, more importantly, we have added an SLO to illustrate how one
# can accomplish stretch (“would-be-nice-if-there-are-extra-cycles”)
# goals.
#
# PRM structure
#
# In this example, we have two groups again:
# finance and sales
# Each workload has one application.
#
prm {
groups = finance:2,
sales:3;
apps = finance: /opt/fin_app/count_money, # application for finance group
sales: /opt/sales/do_ebiz; # application for sales group
}
#
# slo structures
#
#
# This is an SLO for the finance group, only “active” on weekdays.
slo finance_query {
pri = 1; # SLO of highest priority
mincpu = 20; # minimum CPU allocation (percentage)