HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

Run the hpvmcreate command to create the virtual machine.a.
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.
10.3.8 Managing the Package with Serviceguard Commands
After the virtual machine has been packaged, it is managed as a Serviceguard package using
Serviceguard commands. Many of the Integrity VM commands are aware of this packaging and
no longer function in the same manner as they did prior packaging. You can use any of the
available Serviceguard tools the Serviceguard Manager or the command-line tools to manage
basic package functionality.
The following command are used to perform these functions:
The cmrunpkg command starts a package.
The cmhaltpkg command stops a package.
To perform a package failover, which is similar to an offline migration, use the cmhaltpkg
command to halt the package and then the cmrunpkg command to start the package.
By default, a package is configured to automatically run on cluster start or in the event of a
failure.
10.3 VMs as Serviceguard Packages 213