HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

# hpvmdevmgmt -m gdev:myswitch:attr:SHARE=NO
This command restricts the vswitch called myswitch to use by one guest only.
The PRESERVE attribute has the values {YES|NO}. When set to YES, it preserves the existence
of a device database entry if, and when, the last guest listed as a dependency on that device is
deleted. If it is set to NO, or not set, when the last guest dependency is deleted for an entry, that
entry is deleted from the device database. When you add it to the device entry, it prevents the
entry from being automatically device deleted by an hpvmmodify -d command that deletes
the last guest dependency for a particular device entry. That is, the entry is preserved for future
use (whereas, the default behavior is to clean up non-used entries by deleted them.) You can
also set PRESERVE to NO, which is the same as not having the attribute at all. Note the following
example:
# hpvmdevmgmt -m gdev:/device:attr:PRESERVE=YES
You can give file entries in the device database that are used as backing storage for disks or DVDs
a USAGE attribute with the value DISK or DVD. This attribute is valid only for files and cannot
be set for a real disk, DVD, or burner (when the burner is used as a DVD). Its values are:
USAGE={DISK|DVD}
The USAGE attribute labels the usage of a file, so that non Integrity VM management software
can determine what type of device the file is to be presented as.
The following examples show how to set the USAGE attribute:
# hpvmdevmgmt -a gdev:/path/file:attr:USAGE=DISK
# hpvmdevmgmt -a gdev:/path/isofile.iso:attr:USAGE=DVD
or
# hpvmdevmgmt -a gdev:/path/file
# hpvmdevmgmt -m gdev:/path/file:attr:USAGE=DISK
# hpvmdevmgmt -a gdev:/path/isofile.iso
# hpvmdevmgmt -m gdev:/path/isofile.iso:attr:USAGE=DVD
Although not required, you should give the attributes SHARE=YES and PRESERVE=YES to the
ISO files that are used to back DVD devices.
For attached AVIO devices, you can specify the SHARE_LUNPATHS attribute, which allows
multiple guests to boot at the same time when they use different lunpaths to the same device.
Two different guests can use different lunpaths to the same device at the same time
(SHARE_LUNPATHS=YES) of the paths use different initiators; however, Integrity VM blocks
the use of different guests using different lunpaths at the same time if they use the same initiator.
SHARE_LUNPATHS=YES can still be set when potential initiator-sharing conflicts exists. The
hpvmstart command blocks the guests from booting when the same-iinitiator conflict (of using
different paths) exists.
Options
The following options can be specified only once.
The hpvmdevmgmt command recognizes the following command-line options and arguments:
-l {server| rdev| gdev|env}
Lists an entry. This option can perform the following actions:
List all entries:
hpvmdevmgmt -l all
List all devices with a specific attribute:
hpvmdevmgmt-V -l {all|server|rdev|gdev}:attr-name=attr-value
247