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

Respond to both prompts by entering y. The hpvmsg_package script creates the virtual
machine package template files in the etc/cmcluster/guest-name/ directory:
guest-name.config
guest-name
hpvmsg_ctrl
hpvmsg_mon
hpvmsg_start
hpvmsg_stop
The hpvmsg_package is a utility that you can use to configure a guest as a Serviceguard
package. The utility uses the guest name that you supply as an argument to create and
populate the /etc/cmcluster/guest-name/ directory with a set of template files that
contain basic Serviceguard parameter settings. HP recommends that you review and modify
these template files as needed for your specific multiserver environment. For more
information, see Section 11.3.3 (page 161) and the Managing Serviceguard manual.
6. Stop the guest using the appropriate operating system command, or use the hpvmstop -F
command on the VM Host system. (Because the guest has been configured as a Serviceguard
package, the F option is necessary.) For example:
# hpvmstop -P guest-name -F
Alternatively, enter the following command on the guest:
# /usr/sbin/shutdown -h now
Unmount all file backing stores and deactive any LVM logical volumes or deport VxVM
volumes used as backing stores for the guests.
7. Verify that the package is set up correctly by entering the following command:
# cmcheckconf -v -C /etc/cmcluster/cluster-name.config \
-P /etc/cmcluster/guest-name/guest-name.config
Where:
cluster-name is the name of the Serviceguard cluster.
guest-name is the name of the guest.
8. Update and redistributed the binary configuration files to the
/etc/cmcluster/guest-name/ directory on all cluster nodes:
# cmapplyconf -v -C /etc/cmcluster/cluster-name.config -P /etc/cmcluster/guest-name/guest-name.config
When prompted whether to modify the cluster configuration, enter y. For example:
# cmapplyconf -v -C /etc/cmcluster/cluster1.config \
-P /etc/cmcluster/compass1/compass1.config
Checking cluster file: /etc/cmcluster/cluster.config
Checking nodes ... Done
Checking existing configuration ... Done
Gathering configuration information ... Done
Gathering configuration information ... Done
Gathering configuration information ..
Gathering storage information ..
Found 10 devices on node host1
Found 10 devices on node host2
Analysis of 20 devices should take approximately 3 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 7 volume groups on node charm
Found 7 volume groups on node clowder
Analysis of 14 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
.....
Gathering Network Configuration ......... Done
Cluster cluster1 is an existing cluster
Parsing package file: /etc/cmcluster/compass1/compass1.config.
Package hpvmnet2 already exists. It will be modified.
160 Using HP Serviceguard with Integrity VM