HP-UX Virtual Partitions Administrator's Guide (includes A.03.04) (previously titled Installing and Managing HP-UX Virtual Partitions)

CPU, Memory, and I/O Resources (A.05.xx)
CPU: Adding or Deleting by Hardware Path
Chapter 6
224
CPU: Adding or Deleting by Hardware Path
The syntax for specifying by hardware path is:
-[a|d] cpu:
hw_path
where:
a add
d delete
hw_path
the
hw_path
(you can find the hardware path using ioscan or vparstatus -v)
NOTE The target virtual partition can be up or down when specifying by hardware path.
CPUs that are added using the hardware path syntax can be deleted only by using the
hardware path syntax.
Adding or deleting CPUs by hardware path changes total only when the virtual partition is up
(unless the operation is an addition and the specified CPU is already assigned to the partition).
If the virtual partition is down, total is not changed and becomes a high boundary. For
example, if keira2 is down and total is set to 2, you cannot have more than 2 CPUs added by
hardware path. This is for A.03.xx backwards compatibility.
Example
To add the CPUs at 0/10 and 0/11 to keira2:
keira1# vparmodify -p keira2 -a cpu:0/10 -a cpu:0/11
Using both the Hardware Path Specification and CLP specification
Although you can add and delete CPUs by hardware path, to avoid confusion it is recommended that you
specify by cell rather than by hardware path. The exception is for dual-core processors.
For dual-core processors, if you wish to have both cores of a processor assigned to the same virtual partition,
you should specify by hardware path instead of by cell. Specifying by cell cannot guarantee that both cores in
the processor are the CPUs chosen by the Monitor and assigned to the target virtual partition, although the
Monitor will attempt to do this whenever possible.
For more information on configuring dual-core processors, see “CPU: Dual-Core Processors” on page 227.