HP-UX Workload Manager User's Guide
Example configuration files
par_manual_allocation.wlm
Chapter 9 305
#
# Dependencies:
# This example was designed to run with HP-UX WLM version A.03.00 or
# later. (A.03.00 was the first version to support strictly
# host-based configurations.)
#
# To implement WLM’s dynamic partition resizing:
# 1. Set the primary_host keyword in this file
#
# 2. Copy this WLM configuration to each partition in the system
#
# 3. Adjust the priority for the SLO named slo_myslo to reflect the
# priority of the applications for the current partition relative
# to the priority of the applications in all the other partitions
#
# 4. Customize the configuration file
# par_manual_allocation.wlmpar used by the WLM global
# arbiter (see that file for details)
#
# 5. Activate the par_manual_allocation.wlmpar file on the
# primary host:
#
# wlmpard -a par_manual_allocation.wlmpar
#
# 6. Activate the WLM configuration file on each partition:
#
# wlmd -a par_manual_allocation.wlm
#
# NOTE: You will activate both the par_manual_allocation.wlmpar
# file and the par_manual_allocation.wlm file on the primary
# host.
#
# 7. Change the number of cores a partition requests using wlmsend
#
# Using the wlmsend command on a partition, you can explicitly
# request a certain number of cores for that partition. The
# configuration below defines a metric named num_cpus. You can
# change the value of this metric with wlmsend. For example, the
# following command requests 3 cores:
#
# % /opt/wlm/bin/wlmsend num_cpus 3
#
# After using wlmsend, wait one wlm_interval (set at 5 seconds
# below) then use the wlminfo command from the next step to see
# how the group’s allocation is affected. Continue changing the