HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration
resource can only be specified once to a given virtual machine. Therefore, only one VM Host
system file per VM Host storage entity can be provided to a virtual machine (see
Section 7.2.1.4 (page 106)).
Not all virtual device types support all VM Host storage types (see Section 7.1.4 (page 101)).
Complete VM storage resource statements are discussed in the next section.
7.2.2.3 VM Storage Resource Statements
This section provides information about 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 in Section 7.2.2.1 (page 108)) and
the VM Host Storage Specification (described in Section 7.2.2.2 (page 109)). This section provides
examples of complete resource statements for each of the following types of virtual storage
devices:
• Virtual disks
• Virtual LvDisks
• Virtual FileDisks
• Virtual DVDs
• Virtual FileDVDs
• Virtual NullDVDs
• Attachable Devices
A virtual machine can have up to 30 VIO devices or up to 128 AVIO devices total (number of
virtual and attached devices).
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 106)). 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 105)).
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 esdisk or 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 106).
The agile Virtual Disk resource statement takes the form:
disk:scsi::disk:/dev/rdisk/diskX
110 Creating Virtual Storage Devices