HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

3. Modify the Serviceguard package configuration files to match your guest environment, as
described in Section 11.3.3: “Modifying the Package Configuration Files” (page 161).
4. Start the Serviceguard package, as described in Section 11.3.4: “Starting the Distributed
Guest” (page 161).
NOTE: When using AVIO networking devices for guests that are configured as Serviceguard
Packages, be sure that all Service guard standby lans are configured using PPA devices supported
by AVIO.
11.3.1 Configuring the Integrity VM Multiserver Environment
The Integrity VM multiserver environment provides an integrated environment when guests
are configured as Serviceguard packages. In a cluster that is configured as a multiserver
environment, each VM Host is aware that the guests are Serviceguard packages and gives control
of these distributed guests to ServiceGuard.
For example, two VM Hosts (host1 and host2) make up a Serviceguard cluster. A guest running
on host1 is configured as a Serviceguard package that can fail over to host2. After you set up
the multiserver environment, you can use the hpvmstatus command on each VM Host to
display consistent guest package status information. When the guest package is running on
host1, you can use the hpvmstatus command on host2 to display the guest's current status.
After you configure a guest as a Serviceguard package, you cannot use Integrity VM commands
to start and stop the guest. Only Serviceguard commands control the packaged guest. This
provides consistent control of the guests and also protects shared whole disk backing stores.
Serviceguard ensures exclusive access for shared storage only when the disks are configured
with a volume manager like LVM or VxVM. The Integrity VM multiserver environment extends
this protection to whole disk backing stores and prevents accessing the same backing store from
more than one guest at the same time.
The multiserver environment requires that Serviceguard be running on the VM Host, and allows
you to configure guests as Serviceguard packages. The multiserver environment does not apply
to configurations where Serviceguard is installed on the guest.
Set up the multiserver environment on each VM Host that is part of the multiserver environment,
as follows:
1. Register each VM Host system that will be a member of the multiserver environment. Enter
the following commands on each VM Host system:
# hpvmdevmgmt -a server:host-name
# hpvmdevmgmt -m server:host-name:attr:SERVERID=n
# hpvmdevmgmt -m server:host-name:attr:SERVERADDR=ip-address
Where:
host-name is the unqualified name of the VM Host system.
n is a unique number identifying this VM Host system in the multiserver environment.
Enter a number from 1 through 255.
ip-addr is the IP address of the VM Host system. Use the IP address of the network
connection that serves the multiserver environment.
Enter these commands on each VM Host system in the multiserver environment, specifying
appropriate values. For example, to set up two nodes in the multiserver environment (host1
and host2), enter the following commands on host1:
# hpvmdevmgmt -a server:host1
# hpvmdevmgmt -m server:host1:attr:SERVERID=1
# hpvmdevmgmt -m server:host1:attr:SERVERADDR=1.2.3.4
# hpvmdevmgmt -a server:host2
# hpvmdevmgmt -m server:host2:attr:SERVERID=2
# hpvmdevmgmt -m server:host2:attr:SERVERADDR=1.2.3.5
Enter these same commands on host2.
158 Using HP Serviceguard with Integrity VM