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

CPU, Memory, and I/O Resources (A.04.xx)
CPU: Adding or Deleting by Hardware Path
Chapter 7
264
CPU: Adding or Deleting by Hardware Path
The syntax for specifying by hardware path is:
-[a|d] cpu:
hw_path
where:
a is adding
d is deleting
hw_path
is 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-CPU sockets.
For dual-CPU sockets, if you wish to have both CPUs of a socket assigned to the same virtual partition, you
should specify by hardware path instead of by cell. Specifying by cell cannot guarantee that both CPUs in the
socket 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 dual-core CPU usage, see “CPU: Dual-Core Processors” on page 269.