HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration
type: CD-ROM
size: 4300800 Kbytes
bytes per sector: 2048
To modify an existing AVIO storage backing store, specify the following:
host# hpvmmodify -P guest1 -m disk:avio_stor:0,5,0:disk/dev/rdisk/disk11
In this command, avio_stor indicates the “from” adapter and the “bus,dev” specification indicates
the bus and device list of storage targets to convert.
To modify all targets on a SCSI storage adapter to be targets on an AVIO storage adapter, specify
the following:
host# hpvmmodify -P guest1 -m hba:avio_stor:0,5
For information about AVIO support, see the HP Integrity Virtual Machines 4.2: Release Notes.
This command string modifies an existing SCSI device adapter with some number of device
targets to use the AVIO device adapter. The command has the following restrictions:
• Each of the backing store devices under the SCSI HBA must be supported AVIO devices
and adhere to storage type limitations.
• All targets to be converted must list the same device adapter type.
• The command can be executed only on a guest that is stopped.
• Multiple adapter entries can be placed on the same command line. For example:
hpvmmodify -P guest1 -m disk:avio_stor:0,5 -m hba:avio_stor:0,6
The modification can also be reversed to the original SCSI adapter:
hpvmmodify -P guest1 -m disk:scsi:0,5
The following example shows how to convert scsi to avio_stor:
# hpvmstatus -P guest1 -d
...
[Virtual Machine Devices]
[Storage Interface Details]
disk:scsi::0,5,0:disk:/dev/rdisk/disk0
disk:scsi::0,5,1:disk:/dev/rdisk/disk1
disk:scsi::0,5,2:disk:/dev/rdisk/disk2
disk:scsi::0,5,3:disk:/dev/rdisk/disk3
disk:scsi::0,5,4:disk:/dev/rdisk/disk4
...
# hpvmmodify -P guest1 -m hba:avio_stor:0,5
# hpvmstatus -P guest1 -d
...
[Virtual Machine Devices]
[Storage Interface Details]
disk:avio_stor:0,5,0:disk:/dev/rdisk/disk0
disk:avio_stor:0,5,1:disk:/dev/rdisk/disk1
disk:avio_stor:0,5,2:disk:/dev/rdisk/disk2
disk:avio_stor:0,5,3:disk:/dev/rdisk/disk3
disk:avio_stor:0,5,4:disk:/dev/rdisk/disk4
...
Prior to running the hpvmmodify command shown previously, devices unsupported by AVIO
need to be moved to a new HBA, using the hpvmmodify delete and add operations.
124 Creating Virtual Storage Devices