HP-UX Virtual Partitions Administrator Guide (includes A.05.09) (5900-2188, March 2012)

1 <= min <= total <= max
hw_path is the hardware path of a bound CPU. If not specified, the vPars Monitor chooses
the hardware path.
Note on vparmodify Syntax
The vparmodify command follows a similar syntax, except that vparmodify allows the -m
(modify) option as well as the -a (add) or -d (delete) option.
With the -m option, the number used with the -m is an absolute number. For example, -m cpu::3
represents an absolute number of three total CPUs; in this case, it sets the total number of
CPUs (bound plus unbound) to three.
With the -a option (as well as the -d option), the number used with the -a is a relative number
of CPUs (relative to the number of CPUs already assigned to the virtual partition). For example,
-a cpu::3 represents three CPUs relative to the number of existing CPUs; in this case, -a cpu::3
adds 3 additional unbound CPUs to the number of unbound CPUs already assigned to the partition.
CPU: Adding a CPU as a Bound CPU
All CPUs begin as not being assigned to any virtual partition, so all CPUs begin as unbound CPUs.
However, you can assign CPUs as bound CPUs to the partition by specifying the min number in
the -a cpu:::min command line option.
Examples
To create a virtual partition winona2 with two bound CPUs:
winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2
In this example, the total number of CPUs assigned to the partition is two (-a cpu::2).
Of these two CPUs, two are bound because min is set to two (-a cpu:::2).
If the partition already exists, you can use the vparmodify command to set the number of
bound CPUs. For example, to increase the number of bound CPUs from two to three:
winona1# vparmodify -p winona2 -m cpu::3 -m cpu:::3
Choosing the Hardware Path of a Bound CPU
By default, the vPars Monitor chooses the hardware path of a bound CPU. However, if you need
to use a specific CPU, you can specify its hardware path by using the -a cpu:hw_path option.
Examples
In the following command:
winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2
the virtual partition winona2 has two bound CPUs. If you want the CPU at hardware path 41
to be one of the two bound CPUs, specify the hardware path 41 (-a cpu:41) such that the
command line is:
winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2 -a cpu:41
If you want to specify multiple CPUs, use the -a cpu:hw_path option for each hardware path.
For example, if you want to specify the CPU at hardware path 41 and the CPU at hardware
path 45, the command is:
winona1# vparcreate -p winona2 -a cpu::2 -a cpu:::2 -a cpu:41 -a
cpu:45
Note that because there are two paths specified, min must be greater than or equal to two.
Further, because there are at least two bound CPUs, total must be at least two.
234 CPU, Memory, and I/O Resources (A.03.xx)