HP Integrity Virtual Machines Installation, Configuration, and Administration

3 Creating Virtual Machines
After you install Integrity VM, you can create guests and virtual resources for the guests to use.
This chapter includes the following sections:
Section 3.1: “Specifying Virtual Machine Characteristics” (page 27)
Section 3.2: “Using the hpvmcreate Command” (page 33)
Section 3.3: “Starting Virtual Machines” (page 35)
Section 3.4: “Changing Virtual Machine Configurations” (page 36)
Section 3.5: “Cloning Virtual Machines” (page 39)
Section 3.6: “Stopping Virtual Machines” (page 42)
Section 3.7: “Removing Virtual Machines” (page 43)
Section 3.8: “Troubleshooting Virtual Machine Creation Problems” (page 43)
3.1 Specifying Virtual Machine Characteristics
When you create a new virtual machine, you specify its characteristics. Later, you can change
the virtual machine characteristics.
You can set the characteristics of a virtual machine using the following commands:
hpvmcreate, which creates new virtual machines.
hpvmclone, which creates new virtual machines based on existing virtual machines.
hpvmmodify, which modifies existing virtual machines.
hpvmmigrate, which moves virtual machines from one system to another.
All of these commands accept the same options for specifying virtual machine characteristics.
Table 3-1 describes each characteristic and command option.
Table 3-1 Characteristics of an Integrity Virtual Machine
Where DescribedCommand OptionDefault SettingVirtual Machine Characteristic
Section 3.1.1: “Virtual Machine
Name” (page 28)
-P vm-name
You must specify a name
when you create or modify
the virtual machine. You
cannot modify this
characteristic.
Virtual machine name
Section 3.1.2: “Guest
Operating System Type”
(page 28)
-O os_type
If you do not specify the
operating system type, it is
set to UNKNOWN.
Operating system type
Section 3.1.3: “Virtual CPUs”
(page 29)
-c number_vcpus
If you omit this option when
you create the virtual
machine, the default is one
vCPU.
Virtual CPUs (vCPUs)
Section 3.1.4: “Entitlement”
(page 29)
-e percent
-E cycles
If you omit this option when
you create the virtual
machine, the default is 10%.
CPU entitlement
Section 3.1.5: “Guest Memory
Allocation” (page 29)
-r amount
If you omit this option when
you create the virtual
machine, the default is 2 GB.
Memory
Section 3.1.6: “Virtual
Devices” (page 30)
-a rsrc
If you omit this option when
you create the virtual
machine, it has access to no
network and storage devices.
Virtual devices
Section 3.1.7: “Creating Virtual
Machine Labels” (page 33)
l vm_label
If you omit this option, the
virtual machine has no label.
Virtual machine label
3.1 Specifying Virtual Machine Characteristics 27