Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Integrity Virtual Machines Version 4.0 Installation, Configuration, and Administration > Chapter 3 Creating Virtual Machines

Removing Virtual Machines

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To remove a virtual machine from the VM Host, use the hpvmremove command. By default, you are required to confirm this action. Table 3-9 describes the options to the hpvmremove command.

Table 3-9 Options to the hpvmremove Command

OptionDescription
-P vm-nameSpecifies the name of the virtual machine. You must include either the —P or —p option.
-p vm_numberSpecifies the number of the virtual machine. To display the virtual machine number, enter the hpvmstatus command.
-FForces the command to act regardless of errors.
-QPerforms the command without requiring user input to confirm.

 

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
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.