HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
Examples
• To create the partition winona2 with two bound CPUs and one unbound CPU, set total to
three and min to two (vPars A.03.xx and earlier):
# vparcreate -p winona2 -a cpu::3 -a cpu:::2
• To add an unbound CPU to an existing partition, use the vparmodify command to either
modify the total number of CPUs (-m cpu::total) or add to the total number of CPUs
(-a cpu::total).
For example, to add one unbound CPU to the partition winona2, which already has three
CPUs, two of which are bound, you can either modify total to four:
winona1# vparmodify -p winona2 -m cpu::4
or add one to total:
winona1# vparmodify -p winona2 -a cpu::1
• To delete one unbound CPU from the partition winona2, which already has four CPUs:
winona1# vparmodify -p winona2 -m cpu::3
or
winona1# vparmodify -p winona2 -d cpu::1
• Because you can dynamically migrate unbound CPUs, you can migrate an unbound CPU from
one partition to another while both partitions are running. For example, if the partition winona1
has two bound CPUs and the partition winona2 has two bound and two unbound CPUs, you
can migrate an unbound CPU from winona2 to winona1 using the following:
winona1# vparmodify -p winona2 -d cpu::1
winona1# vparmodify -p winona1 -a cpu::1
NOTE: Migrating unbound CPUs may not fully complete immediately after executing the
vparmodify commands.
For more information on CPUs, see the following:
• For information on bound and unbound CPUs, see “CPU: Bound and Unbound” (page 239).
If you do not know which CPUs are bound CPUs and which are unbound CPUs, use the
vparstatus command. See “Commands: Displaying vPars Monitor and Resource Information
(vparstatus)” (page 140) and the vparstatus(1M) manpage.
• For issues with using vparmodify, see the vparmodify(1M) manpage.
For required partition states, see the vparresources(5) manpage.
CPU: Managing I/O Interrupts
This section describes information you need if you are managing I/O interrupts on a vPars-enabled
system. Note that migrating interrupts should only be done by advanced administrators for
performance tuning.
intctl Command
The intctl command is a HP-UX tool that allows you to manage I/O interrupts among active
CPUs.
For HP-UX 11i v1, intctl is not installed by default with HP-UX, but you can obtain the software
for intctl from the HP-UX Software Pack for 11i v1. Software Pack is available from the Software
Pack DVD included with the HP-UX 11i OE DVDs or from the Software Depot website at:
http://www.hp.com/go/softwaredepot
242 CPU, Memory, and I/O Resources (A.03.xx)