Resizing partitions automatically with HP-UX Workload Manager
22
The configuration generated by the wizard appears in the following example. It includes two groups
(Finance and Orders) that were created using the wizard, although their creation was not shown in
the preceding steps.
#
# HP-UX WLM configuration: originally created using wlmcw(1M).
#
#
# Primary host for the dynamic partition setup.
#
primary_host = "myserver";
#
# The PRM structure is used to define workload groups and optionally
# assign applications and users to those groups.
#
prm {
groups =
Finance : 3,
Sales : 2,
Orders : 4;
apps =
Finance : /opt/finance/bin/analyzer,
Sales : /opt/sales/bin/report.maker,
Orders : /opt/dbase/bin/dbase;
}
#
# SLO (Service-Level Objective) structure.
#
slo slo_Finance {
# Priority of this SLO.
pri = 1;
# The workload group this SLO applies to.
entity = PRM group Finance;
# Request no less than mincpu of available shares.
mincpu = 1;
# Grant no more than maxcpu shares for this SLO.
maxcpu = 12800;
# Allocate available CPU shares to achieve goal.
goal = usage _CPU;
}
#
# SLO (Service-Level Objective) structure.
#
slo slo_Sales {
# Priority of this SLO.
pri = 1;
# The workload group this SLO applies to.
entity = PRM group Sales;
# Request no less than mincpu of available shares.
mincpu = 1;
# Grant no more than maxcpu shares for this SLO.
maxcpu = 12800;
# Allocate available CPU shares to achieve goal.
goal = usage _CPU;
}