HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)

CPU, Memory, and I/O Resources (A.05.xx)
CPU: Notes on vPars Syntax, Rules, and Output
Chapter 6
223
CPU: Notes on vPars Syntax, Rules, and Output
CPU: CLI Rules for Dynamic Migration of Memory and CPU
Please note the following CLI (Command Line Interface) rules for online migration of memory and CPUs
while the target partitions are up. Note that because the following applies to only online migration (in other
words, where the target partition is up), the following does not apply to the vparcreate command, where the
target virtual partition should never be up during the vparcreate invocation.
In the same command, you cannot have an online addition and online deletion. For example, the following
are illegal:
keira1# vparmodify -p keira2 -a cpu::2 -d cpu::1
keira1# vparmodify -p keira2 -a mem::1024 -d mem::512
You must specify each change on a separate command line. For example, the following are allowed:
keira1# vparmodify -p keira2 -a cpu::2
keira1# vparmodify -p keira2 -d cpu::1
keira1# vparmodify -p keira2 -a mem::1024
keira1# vparmodify -p keira2 -d mem::512
In the same command, you cannot make changes to both memory and CPU. For example, the following
are illegal:
keira1# vparmodify -p keira2 -a cpu::2 -a mem::1024
CPU: Deleting CPUs Summary
The current boot processor can not be deleted from a virtual partition. (Use vparstatus -v to determine
the current boot processor.) If you wish to delete a specific CPU that is being used as a boot processor by a
booted virtual partition, you will need to shutdown the virtual partition and then delete the desired CPU.
CPU: vparstatus
When a virtual partition is down, the CPUs assigned to that partition are reserved to that partition and
cannot be used for other partitions. For example, vparstatus does not show any CPU assigned as the
boot processor. The boot processor is not assigned until the virtual partition is actually booted.
If a virtual partition is down and assigned only one CPU, a CPU will be reserved by the vPars Monitor,
making it unavailable. The specific CPU reserved is not determined until boot time. As a result, while the
virtual partition is down, vparstatus -A, which shows available resources, will show all the possible
paths of unassigned CPUs but the count of available CPUs will be one less. The count reflects the actual
number of available CPUs because one CPU is reserved for the down virtual partition.
CPU: Counts Summary
At all times, the rule of min<=total<=max is enforced.
When adding by CLP, the total count changes whether the partition is up or down.