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

NOTE: It is important to shut down guests gracefully before stopping Integrity VM by specifying
the -g option with the hpvmstop command. The guest operating system is notified of an
imminent power failure, which gives it time to perform cleanup operations. Because behavior
of guest shutdown can vary, HP recommends stopping virtual machines using their native
operating system commands.
3.7 Removing Virtual Machines
To remove a virtual machine from the VM Host, use the hpvmremove command. By default,
you are required to confirm this action. Table 3-8 describes the options to the hpvmremove
command.
Table 3-8 Options to the hpvmremove Command
DescriptionOption
Specifies the name of the virtual machine. You must
include either the P or p option.
-P vm-name
Specifies the number of the virtual machine. To display
the virtual machine number, enter the hpvmstatus
command.
-p vm_number
Forces the command to act regardless of errors.
-F
Performs the command without requiring user input to
confirm.
-Q
For example, the following command removes the virtual machine named compass1. The
subsequent hpvmstatus command shows that compass1 is gone:
# hpvmremove -P compass1
hpvmremove: Remove the virtual machine 'compass1'? [n/y]: y
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
config1 1 HPUX Off 1 5 1 512 MB 0
config2 2 HPUX Off 1 7 1 1 GB 0
winguest1 5 WINDOWS On (OS) 1 5 1 1 GB 0
winguest2 9 WINDOWS Off 1 3 1 2 GB 0
The default action of this command (if you press Enter) is to not perform the command action.
To perform the action, you must enter y.
This command removes compass1 and all its configuration files, and restores any resources
allocated to that guest to the VM Host's pool of available resources. (Any guest operating system
and application data on the VM Host storage devices are not affected.)
To remove the guest without requiring user confirmation (for example, in a script), enter the
following command:
# hpvmremove -P compass1 -Q
3.8 Troubleshooting Virtual Machine Creation Problems
If you encounter problems with creating virtual machines, report them through your support
channel. For information about collecting information to report the problem, see Chapter 12
(page 169).
The following section describes a problem that might be encountered during virtual machine
creation.
48 Creating Virtual Machines