HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

Not all virtual device types support all VM Host storage types (see Section 7.1.3 (page 83)).
Complete VM storage resource statements are discussed in the next section.
7.2.2.3 VM Storage Resource Statements
This subsection provides information on formulating complete valid resource statements for
Integrity VM storage devices.
To specify an Integrity VM storage device for a virtual machine, use a complete valid resource
statement with the hpvmcreate or hpvmmodify command. The resource statement is a
combination of the VM guest resource specification (described inSection 7.2.2.1 (page 91)) and
the VM Host Storage Specification (described in Section 7.2.2.2 (page 92)). This section provides
examples of complete resource statements for each of the following types of virtual storage
devices:
Section 7.2.2.3.1: “Virtual Disks” (page 93)
Section 7.2.2.3.2: “Virtual LvDisks” (page 94)
Section 7.2.2.3.3: “Virtual FileDisks” (page 96)
Section 7.2.2.3.4: “Virtual DVDs” (page 97)
Section 7.2.2.3.5: “Virtual FileDVDs” (page 98)
Section 7.2.2.3.6: “Virtual NullDVDs” (page 98)
Section 7.2.2.3.7: “Attachable Devices” (page 100)
A virtual machine can have up to 30 VIO devices or up to 128 AVIO devices total (number of
virtual and attached devices).
The maximum size of a virtual storage resource is 2 TB. The minimum size of a virtual storage
resource is 512 bytes for virtual disk and 2048 bytes for a virtual DVD.
Do not specify the same storage resource, virtual or attached, for the same virtual machine more
than once (see Section 7.2.1.4 (page 88)). Unless otherwise noted, storage resources, virtual or
attached, cannot be simultaneously shared by virtual machines.
All multipath products for storage resources must run on the VM Host; multipath solutions are
not supported in a virtual machine. All multipath solutions used on the VM Host must be in
valid supported configurations before being used for Integrity VM storage resources (see
Section 7.2.1.3 (page 88)).
The resource statements in the following subsections do not contain VM hardware addressing.
The PCI bus, PCI slot, and SCSI target numbers are optional.
7.2.2.3.1 Virtual Disks
A Virtual Disk is an emulated SCSI disk whose virtual media comes from a VM Host disk LUN.
The VM Host disk LUN is specified using a character device file. The character device file is
owned by the HP-UX sdisk driver.
Virtual Disk resources cannot be shared simultaneously across active virtual machines (except
in certain cluster configurations, as indicated in this manual). Only one active virtual machine
at time can be given a particular Virtual Disk resource. Virtual Disk resources can be changed
dynamically among active virtual machines.
To prevent virtual media conflicts that can result in data corruption, a proper accounting of how
the VM Host whole disks are allocated for use by Virtual Disks needs to be done, as described
in Section 7.2.1.4 (page 88).
To provide a multipath solution for a Virtual Disk, see Section 7.2.1.3 (page 88).
If you are using a multipath product, the Virtual Disk resource statement takes the form of:
disk:scsi::disk:/dev/rdsk/cXtYdZ
Where /dev/rdsk/cXtYdZ is an HP-UX character sdisk device file.
7.2 Configuring Integrity VM Storage 93