HP-UX vPars and Integrity VM V6.3 Administrator Guide

6.5.1.3 Guest user
The guest user runs applications on a guest OS. Access is provided and limited by the guest
administrator. There are no Integrity VM storage requirements for application users of the guest
OS.
There are no Integrity VM storage commands for application users in the guest OS. The guest users
use Integrity VM storage on the guest OS the same way as they normally use storage on an HP
Integrity server. Any Integrity VM storage changes must be directed to the guest administrator,
guest operator, or the VSP administrator.
6.5.2 Managing storage
This subsection describes ways to use the vPar or VM guests storage commands.
6.5.2.1 Adding virtual storage devices
A VSP administrator adds or attaches vPar or VM guests storage using the hpvmstatus and
hpvmmodify or vparmodify commands. Virtual storage devices can be added or attached
while the vPar or VM guest is powered on or off. The virtual storage adapter can have up to 128
devices (the number of virtual and attached devices).
To add or attach a virtual storage device to a guest:
1. Based on all the vPar or VM guests storage considerations, choose a storage device to add.
2. Based on the device type, set up and configure the VSP to form a valid resource statement.
This includes accounting VSP resources to avoid future storage conflicts.
3. Use the valid resource statement with the hpvmmodify command to add or attach the vPar
or VM guests storage device.
For more information about dynamic addition of IO devices to vPars and VM guests, see
Section 13.17 (page 247).
The resource statement for adding a vPar or VM guests storage device does not require virtual
hardware addressing. If the PCI bus, slot, and target numbers are not specified, vPars and Integrity
VM automatically chooses the first position available for the device. For example:
# hpvmmodify -P myvmm -a disk:avio_stor::disk:/dev/rdisk/disk7
# hpvmstatus -P myvmm
..
[Storage Interface Details]
...
disk avio_stor 0 1 0 0 0 disk /dev/rdisk/disk5
disk avio_stor 0 1 0 1 0 disk /dev/rdisk/disk7
NOTE: If the PCI bus, slot, and target numbers are not specified, then, vPars and Integrity VM
automatically adds up to 14 targets behind a single HPVM AVIO Storage HBA and then moves
on to a new virtual HBA for subsequent additions.
To add more than 14 devices behind a given AVIO virtual HBA, the target number must be explicitly
specified.
To add an AVIO storage device at a specific PCI bus, slot, and target, specify the following:
host# hpvmmodify -P guest1 -a disk:avio_stor:0,5,0:disk:/dev/rdisk/disk11
94 Storage devices