HP (Hewlett-Packard) VM00540000 Personal Computer User Manual


 
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. Usethe IP address of the network connection
that serves the multiserver environment.
Enter thesecommands oneach VM Hostsystem inthe multiserverenvironment, specifyingappropriate
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.
2. Verify the registration by entering the following command on each member of the multiserver
environment:
# hpvmdevmgmt -l server
host1:CONFIG=SERVER,SERVERADDR=16.116.9.0,SERVERID=1::WWID_NULL
host2:CONFIG=server,EXIST=NO,DEVTYPE=UNKNOWN,SHARE=NO,SERVERADDR=16.116.8.91,
SERVERID=2::WWID_NULL
The list of servers in the multiserver environment must match the list of nodes in the Serviceguard cluster
configuration.
10.3.2 Creating Guest Packages
On the VM Host, create a package configuration file and control script for the guest using the following
procedure:
1. Install Integrity VM and create the guest with all necessary virtual storage devices and vswitches.
Repeat this procedure on each node in the multiserver environment.
2. Install, configure, and run HP Serviceguard on every node in the multiserver environment.
3. Configure the Integrity VM multiserver environment on the primary node and the alternate nodes
as described in “Configuring the Integrity VM Multiserver Environment” (page 119).
4. Startthe gueston the primarynode using thehpvmstart command. Use thehpvmstatus command
to verify the guest name and to make sure that it's running.
5. Create a Serviceguard package by running the hpvmsg_package script from the HP Serviceguard
for Integrity VM Toolkit, which is installed in the /opt/cmcluster/toolkit/hpvm/ directory
when you install Integrity VM. Specify the guest name as the argument to the command, as follows:
# /opt/cmcluster/toolkit/hpvm/hpvmsg_package.sh compass1
This is the HP Virtual Machine Serviceguard Toolkit Package Template Creation
script.
120 Using HP Serviceguard with Integrity VM