HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

d. Configure the lock disk or quorum server.
e. Configure storage: LVM, shared LVM, VxVM, and file systems.
2. On the primary node, perform the following steps:
a. Run the cmquerycl command to create Serviceguard ASCII configuration file.
b. Edit configuration file to insure that the cluster name, networks usage, LVM devices,
and lockdisk or quorum server are correct.
c. Run the Serviceguard command cmcheckconf to check the configuration and
cmapplconf command to apply the configuration file.
d. Run the cmruncl command to start the cluster.
3. On all nodes, perform the following step:
a. Configure CFS and CVM system-wide packages and guest storage devices and packages.
4. On the primary node, perform the following steps:
a. Run the hpvmcreate command to create the virtual machine.
b. Run the hpvmstart command to start the virtual machine.
c. Install and configure the guest operating system.
d. Install the guests kits and optionally the cmappserver software.
e. Optionally configure any guest applications and their associated application monitor
run commands.
f. Run the hpvmstop command to stop the virtual machine.
g. Unmount, export and deactivate storage.
5. On the secondary nodes, perform the following step:
a. Configure, import, activate, and mount virtual machine storage.
6. On the primary node, perform the following step:
a. Run the hpvmmigrate command with the -k option to distribute the virtual machine
to the next node.
7. On the secondary nodes, perform the following steps:
a. Run the hpvmstart command to verify the virtual machine operation.
b. Verify the machine is functioning.
c. Run the hpvmstop command to stop the virtual machine.
d. Unmount, export and deactivate storage.
e. Repeat steps 4 f. through step 7 d., running the hpvmmigrate command from the
current Secondary Node for each of the remaining nodes.
8. On the primary node, perform the following steps:
a. Reconfigure, import, activate, and mount virtual machine storage.
b. Run the hpvmstart command to verify the virtual machine operation.
c. Verify the machine is functioning.
d. Run hpvmsg_package to package the virtual machine as a Serviceguard package.
e. Run the hpvmstop command using the force option to stop the virtual machine.
f. Run cmrunpkg to run the Package
The hpvmsg_package command, referenced in the previous steps, assists a user who is
developing and managing a set of Serviceguard package configurations and associated toolkit
files. The command creates these configurations by performing the steps required to associate a
virtual machine to a Serviceguard failover package. For details about this command, ee the
hpvmsg_package manpage described in this manual or the see the hpvmsg_package(1)
manpage.
198 Using HP Serviceguard with Integrity VM