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

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.
11.3.2 Creating Guests as 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 Section 11.3.1: “Configuring the Integrity VM Multiserver Environment”
(page 158).
4. Start the guest on the primary node using the hpvmstart command. Use the hpvmstatus
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 compass1
This is the HP Virtual Machine Serviceguard Toolkit Package Template Creation
script.
This script will assist the user develop and distribute a set of Serviceguard
package configuration template files and associated start, stop and monitor scripts.
The templates generated by these scripts will handle many guest configurations,
but it is only a template and may not be appropriate for your particular
configuration needs. You are encouraged to review and modify these template
files as needed for your particular environment.
Do you wish to continue? (y/n):y
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
compass1 1 HPUX Off 1 5 1 512 MB 0
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
====== ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 disk /dev/rdsk/c12t0d0
disk scsi 0 0 0 1 0 lv /dev/vgsglvm/rlvol1
disk scsi 0 0 0 2 0 file /hpvm/g1lvm/hpvmnet2
disk scsi 0 0 0 3 0 lv /dev/vx/rdsk/sgvxvm/sgvxvms
disk scsi 0 0 0 4 0 file /hpvm/g1vxvm/hpvmnet2
disk scsi 0 0 0 5 0 disk /dev/rdsk/c12t0d5
[Network Interface Details]
Interface Adaptor Name/Num Bus Dev Ftn Mac Address
========= ========== ========== === === === =================
vswitch lan vswitch2 0 1 0 ea-5c-08-d3-70-f2
vswitch lan vswitch5 0 2 0 f2-c7-0d-09-ac-8f
vswitch lan vswitch6 0 4 0 92-35-ed-1f-6c-67
Would you like to create a failover package for this Virtual Machine summarized above? (y/n):y
Would you like to distribute the package to each cluster member? (y/n):y
The failover package template files for the Virtual Machine were successfully created.
The script asks you to confirm the following actions:
Creating a failover package
Distributing the package to all the cluster nodes
11.3 Serviceguard in VM Host Configuration 159