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

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 31)
Section 3.2: “Using the hpvmcreate Command” (page 38)
Section 3.3: “Starting Virtual Machines” (page 40)
Section 3.4: “Changing Virtual Machine Configurations” (page 41)
Section 3.5: “Cloning Virtual Machines” (page 44)
Section 3.6: “Stopping Virtual Machines” (page 47)
Section 3.7: “Removing Virtual Machines” (page 48)
Section 3.8: “Troubleshooting Virtual Machine Creation Problems” (page 48)
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 32)
-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 32)
-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 32)
-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 33)
-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 33)
-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 34)
-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 37)
-lvm_label
If you omit this option, the
virtual machine has no label.
Virtual machine label
3.1 Specifying Virtual Machine Characteristics 31