HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
CPU: Removing a Bound CPU
To remove a bound CPU from a virtual partition, use the vparmodify command to modify the
total and min parameters for the virtual partition.
NOTE: When executing any operations relating to bound CPUs (adding, modifying, or deleting),
the target virtual partition must be down.
Example
• If the partition winona2 has two bound CPUs and you want only one bound CPU (and you
do not want to add any unbound CPUs), set the total and min numbers to one:
winona1# vparmodify -p winona2 -m cpu:::1 -m cpu::1
NOTE: If you set only the min number to one and leave the total number set at two, you
will still have two CPUs assigned to winona2. One bound CPU will be removed from the
partition, but one unbound CPU will be added to the partition in order to maintain the total
of two CPUs.
NOTE: Because one of the value requirements for CPUs is min <= total and because
command line options are processed left to right, when setting both min and total to one,
you need to set min to one before setting total to one. This is accomplished by specifying
the -m cpu:::min option before the -m cpu::total option.
CPU: Removing a CPU with a Specified Hardware Path
If you had specified a hardware path for a bound CPU, you would delete the specified hw_path
and modify the min and total numbers.
Example
• If you have two bound CPUs and want to remove the bound CPU at hardware path 41 (and
do not want to add any unbound CPUs), delete the hardware path 41, modify min to one,
and modify total number to one:
# vparmodify -p winona2 -d cpu:41 -m cpu:::1 -m cpu::1
NOTE: If you delete only hw_path and leave total as two and leave min as two, you
will still have two bound CPUs.
CPU: Adding, Removing, and Migrating Unbound CPUs
For vPars A.03.xx and earlier, after min bound CPUs are assigned to a virtual partition, the quantity
(total - min) CPUs are assigned to the partition as unbound CPUs. Therefore, to migrate unbound
CPUs, specify total such that (total-min) is the number of unbound CPUs assigned to the target
partition.
CPU: Removing a Bound CPU 241