HP-UX vPars and Integrity VM V6.3 Administrator Guide

Table 25 Options to the hpvmremove command
DescriptionOption
Specifies the name of the VM. You must include either the -P or -p option.-P vm-name
Specifies the number of the VM. To view the VM number, run the
hpvmstatus command.
-p vm_number
Forces the command to act regardless of errors.
NOTE: The -F option is deprecated in Integrity VM commands. This
option must be used only if instructed by HP Support.
-F
Performs the command without requiring user input to confirm.-Q
For example, the following command removes the VM named host1. The subsequent hpvmstatus
command shows that host1 is removed:
# hpvmremove -P host1
hpvmremove: Remove the virtual machine 'host1'? [n/y]: y
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 host1 and all its configuration files, and restores resources allocated to
that guest to the pool of available resources of the VSP. (Any guest operating system and application
data on the VSP storage devices are not affected.)
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ===== ======= ======== ====== ===== ===== ======= ======
config1 1 SH HPUX Off 1 5 1 512 MB
config2 2 SH HPUX Off 1 7 1 1 GB
guest1 5 SH HPUX On (OS) 1 5 1 1 GB
To remove the guest without requiring user confirmation (for example, in a script), enter the following
command:
# hpvmremove -P host1 -Q
9.8 Troubleshooting VM creation problems
For more information about troubleshooting VM creation problems, see Section A.1 (page 267).
9.8 Troubleshooting VM creation problems 151