HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
processor. Note that the specific CPU chosen as the boot processor may
differ across virtual partition reboots.
Dynamic CPUs These are all the other CPUs, because all CPUs, except the boot processor
of each virtual partition, can be dynamically migrated. You can find which
CPU is the boot processor by using the vparstatus command; see
“Commands: Displaying vPars Monitor and Resource Information
(vparstatus)” (page 140).
You can manage CPUs in multiple ways:
by min and max limits: See “CPU: Specifying Min and Max Limits” (page 192)
by total See “CPU: Adding and Deleting by Total” (page 192)
by cell local processor See “CPU: Adding or Deleting by CLP (Cell Local Processor)”
(page 194)
by hardware path See “CPU: Adding or Deleting by Hardware Path” (page 195)
CPU: Specifying Min and Max Limits
The syntax to specify min and max CPUs assigned to a virtual partition is:
-[a|m] cpu:::[min][:max]
where:
-a add (used with vparcreate or vparmodify)
-m modify (used with vparmodify)
min the minimum number of CPUs for the virtual partition to boot and the minimum number of
CPUs that must remain assigned to the partition
max the maximum number of CPUs that can be assigned to the virtual partition
NOTE: The virtual partition must be in the down state to set the min or max value.
The total count of CPUs in the virtual partition must always be greater than or equal to min and
less than or equal to max.
See “CPU: Notes on vPars Syntax, Rules, and Output” (page 195) regarding the new concepts and
count rules for min.
Examples
• To set the minimum number of CPUs to 2:
keira1# vparmodify -p keira2 -m cpu:::2
• To set the minimum number of CPUs to 2 and the maximum to 4:
keira1# vparmodify -p keira2 -m cpu:::2:4
CPU: Adding and Deleting by Total
The basic syntax for adding and deleting CPUs is:
-[a|d|m] cpu::num
where:
-a|d|m specifies adding, deleting, or modifying the total count of CPUs.
num specifies the number of CPUs.
192 CPU, Memory, and I/O Resources (A.05.xx)