Installing and Managing HP-UX Virtual Partitions (includes A.04.01)

CPU, Memory, and IO Resources
IO: Allocation Notes (vPars A.04, A.03 and earlier)
Chapter 6
158
IO: Allocation Notes
(vPars A.04, A.03 and earlier)
When planning or performing IO allocation, note the following:
An LBA can be assigned to at most one virtual partition at any given time.
When you are planning your IO to virtual partition assignments, note that only one virtual partition may
own any hardware at or below the LBA (Local Bus Adapter) level. In other words, hardware at or
below the LBA level must be in the same virtual partition.
Example
Looking at the ioscan output of a rp7400/N4000, the two internal disk slots use the same LBA:
0/0 ba Local PCI Bus Adapter (782)
0/0/2/0 ext_bus SCSI C875 Ultra Wide Single-Ended
0/0/2/1 ext_bus SCSI C875 Ultra Wide Single-Ended
Therefore, you cannot assign one of the internal disks to partition vpar1 and the other internal disk to
partition vpar2; these disks must reside in the same partition.
Syntax Notes
Using vPars A.03.01 or earlier, LBAs must be explicitly specified (included in the hardware path).
Specifying only the SBA is not supported. If specifying only an SBA, the commands will not assume that
all LBAs under the SBA are to be assigned; the system may actually panic.
Beginning with vPars A.03.02, you can specify only the SBA. The vPars commands will assume the
change applies to all LBAs under the specified SBA.
The exception are boot disks; boot disks are specified using the full hardware path.
NOTE When assigning IO, if you specify a path below the LBA level (for example,
cell/sba/lba/.../device, vPars automatically assign the LBA to the virtual partition.
For example, if you specify -a io:0/0/0/2/0.6.0 where 0/0/0 is the cell/sba/lba, the lba
of 0/0/0 is assigned to the virtual partition. Further, this LBA assignment implies that all
devices using 0/0/0 are assigned to the virtual partition.
The assignment rules of LBAs remain applicable: the LBA can only be owned by one virtual
partition. For example, once the LBA at 0/0/0 is assigned to one virtual partition, it cannot
be simultaneously assigned to any other virtual partition. Thus, if the device at
0/0/0/2/0.6.0 is assigned to a virtual partition, the LBA at 0/0/0 is assigned to that
virtual partition, so the device at 0/0/0/2/0.6.0 cannot be assigned to a different virtual
partition.
LBA Example
The vparcreate command on a non-nPartitionable system looks like:
#vparcreate -p vpar1 -a cpu::1 -a cpu:::1 -a mem::1024 -a io:0.0 -a io:0.0.2.0.6.0:BOOT
where the IO assignment is specified using the LBA level (-a io:0.0) and the boot disk is specified using
the full hardware path (-a io:0.0.2.0.6.0).