HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration
NOTE: HP recommends that you do not use IGNOREWWID=YES on a multipath device, or
use it only on one path of a multipath device, because serious device or guest conflicts could
arise.
Only superusers can execute the hpvmdevmgmt command.
A set of Integrity VM servers can be grouped into an Integrity VM multiserver environment,
MSE. This grouping is required when a set of Integrity VM servers is also configured as a
Serviceguard cluster. To set up an Integrity VM multiserver environment, use the hpvmdevmgmt
command on each of the servers in the group to establish each server entry and the MSE group
entry. The same set of hpvmdevmgmt commands can be run on each Integrity VM server in the
group with the exception of the local server entry. In most cases, the local server entry is already
present. If it is already present, use the hpvmdevmgmt -m command to add the attributes to the
existing entry. If you attempt to add a new server entry, an error is issued advising you that an
entry with the same name already exists.
NOTE: If the Serviceguard cluster is configured before establishing the MSE group, the Integrity
VM servers form an MSE server group name by adding the prefix HPVM-SG- to the Serviceguard
cluster name. This MSE group entry is automatically formed on each MSE server once the server
entries are defined and guests are configured into Serviceguard packages.
When the HPVM_MSE_GROUP_ENTRY is made automatically, it receives a required UUID
attribute. This UUID attribute must be the same on each MSE server. To do this, choose one of
the UUIDs and change the other servers to match.
The following commands set up the an Integrity VM MSE group and also changes the UUID
attribute:
# hpvmdevmgmt -a env:HPVM_MSE_GROUP_ENTRY:attr:GROUPNAME=HPVM-SG-clustername
# hpvmdevmgmt -m env:HPVM_MSE_GROUP_ENTRY:attr:UUID=b7a4ec05-c2a2-11db-be42-adc07415534
In this command sequence, you supply the IP address (ip-address) used by Serviceguard to
monitor the cluster. Also, specify a server identifier (server-id) from 1 to 255.
# hpvmdevmgmt -a server:hostname:attr:SERVERADDR=ip-address,SERVERID=server-id
If the entry already exists, use the following command:
# hpvmdevmgmt -m server:hostname:attr:SERVERADDR=ip-address,SERVERID=server-id
To delete a multiserver entry, enter the following command:
# hpvmdevmgmt -d server:hostname
With Integrity VM, you can allow devices to be specified as either shared or not shared. By
default, vswitches are configured to be shared, and storage devices are configured to not be
shared. As administrator, you can configure a storage device to be shared by multiple guests.
The SHARE attribute is checked only when booting a guest. If one guest is running with a
nonshared device and another guest attempts to boot using that same device, the latter guest is
blocked. If multiple guests need to share devices, then the SHARE attribute for those devices must
be changed to SHARE=YES using the modify option (-m) with the hpvmdevmgmt command.
For example, to make the HP-UX iso.* images shareable so that two virtual machines (host1
and host2) can use them to install at the same time, enter the following commands:
# hpvmdevmgmt -m gdev:/var/opt/hpvm/ISO-images/hpux/:attr:SHARE=YES
# hpvmmodify -P host1 -a dvd:scsi::null:/var/opt/hpvm/ISO-images/hpux/
# hpvmmodify -P host2 -a dvd:scsi::null:/var/opt/hpvm/ISO-images/hpux/
Virtual DVDs and virtual network devices can be shared. DVDs are not shareable unless you
specify otherwise. Sharing of virtual devices or hardware backing stores must be carefully planned
in order to prevent data corruption.
To restrict the vswitch named myswitch so that it is no longer shareable, enter the following
command:
246