HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)

This section describes how to enter resource statements for use with the hpvmcreate command
(described in Chapter 7) and the hpvmmodify command (described in Chapter 11). The resource
statement specifies the virtual storage device that will be seen by the vPar/VM and how it maps
to the physical storage device on the VSP.
The following is an outline of a complete resource statement for specifying a virtual storage device:
VM-guest-storage-specification:VM-Host-storage-specification
where:
VM-guest-storage-specification defines where and what storage is seen in the
vPar/VM (see Section 9.2.2.1 (page 124))
VM-Host-storage-specification defines where and how the vPar/VM storage is
supplied on the VSP (see Section 9.2.2.2 (page 124))
For examples of how to construct resource statements, see Section 9.2.2.3 (page 125).
9.2.2.1 Storage specification
All virtual storage is addressed from virtual PCI buses. The vPar/VM virtual platform contains 8
PCI buses. Each PCI bus has 8 slots into which virtual PCI adapters can be placed. An AVIO
storage adapter supports up to 128 devices per adapter (and VSP) and provides high performance
and guest storage manageability.
A VSP administrator specifies this virtual adapter using the following:
device:avio_stor:pcibus,pcislot,aviotgt
where:
device is one of the following: disk, dvd, tape, changer, burner, or hba
pcibus is an integer from 0-6.
The virtual AVIO is supported only on PCI buses 0-7.
pcislot is an integer from 0-7.
A PCI function number is not specified. It is implicitly zero because the virtual storage adapter
supports only a single channel.
aviotgt is an integer from 0–127 for AVIO. All supported storage device types can share
the same virtual AVIO adapter by specifying the same PCI bus and slot numbers. A virtual
AVIO adapter can be added only to a virtual machine if it has a device connected to it.
All targets connected to a vPar/VM are single LUN devices. That is, virtual disks and DVDs
are emulated as single LUNs and all attached devices are specified by per LUN VSP system
files. The physical LUN number of an attached device has no impact. All virtual and attached
AVIO LUN numbers are implicitly zero and therefore not specified.
All supported storage device types can share the same virtual adapter. Up to 15 storage
devices can be added to the same virtual adapter by specifying the same PCI bus and slot
numbers.
A virtual adapter can be added only to a vPar/VM if it has a device connected to it.
Not all device types are virtualized. Disk and DVD devices are virtual device types, whose virtual
media comes from the VSP. Tapes, changers, and burners are physical VSP devices. For these
attached devices, the physical IDs do not determine their place on the virtual bus.
9.2.2.2 VSP storage specification
Each vPar/VM storage device is backed by some VSP storage entity. A VSP entity is defined on
the VSP with a system file, which is used by vPars and Integrity VM and the VSP operating system
in processing I/O to and from that storage entity.
A VSP administrator specifies these storage entities using the following specification:
124 Creating virtual storage devices