HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)
How vPars and its Components Work
Transitioning from vPars A.03.xx to vPars A.04.xx/A.05.xx (CPU Syntax and Rules)
Chapter 2
49
Table 2-6 CPU Rules from A.03.xx to A.04.xx/A.05.xx
vPars A.03.xx Rules vPars A.04.xx/A.05.xx Rules
dynamic CPU migration
• only unbound CPUs can be migrated while a
virtual partition is up
dynamic CPU migration
• all CPUs except the boot processor can be
migrated while a virtual partition is up
count rules
• number of CPUs assigned by hw_path <=
min
•
min
<=
total
<=
max
count rules
•
min
<=
total
• total =
(number of CPUs assigned by hw_path) +
(number of CPUs assigned by cell) +
(number of CPUs assigned by vPars Monitor)
NOTE: when the virtual partition is booted, one
of the CPUs from the operand list above
becomes the boot processor.
NOTE: from a user’s point of view, the same
CPU could be considered under more than one
category. However, the vPars Monitor will
categorize and count a CPU only once. Use
vparstatus -v to see the CPU details
•
total
<=
max
• when a virtual partition is down, the number of
CPUs assigned by hardware path must be less
than or equal to the pre-existing
total
adding to or deleting from the
total
count of CPUs
assigned to a virtual partition is performed by only
• modifying
total
directly (cpu::
total
)
adding to or deleting from the
total
count of CPUs
is performed by any of the following:
• modifying
total
directly (cpu::
total
)
• adding or deleting by hw_path (cpu:
hw_path
)
— if the virtual partition is up, total will be
adjusted automatically (unless the CPUs
are already assigned to the partition)
— if the virtual partition is down, the number
of CPUs assigned by hardware path must be
less than or equal to the pre-existing
total
if this is the case, you should first modify
total
to allow the additional CPU.
• adding or deleting by CLP
— total will be adjusted automatically
adding by num (-a cpu::
num
)
• deletion requires decreasing by num (-d
cpu::
num
)
adding by num (-a cpu::
num
)
• deletion requires decreasing by num (-d
cpu::
num
) or by hw_path (-d cpu:hw_path)