HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)

7 Creating virtual machines
After you install the vPars and Integrity VM product, you can create virtual machines and virtual
resources for the virtual machines to use. This chapter includes the following topics:
Specifying VM characteristics
Using the hpvmcreate command
Starting VMs
Changing VMs configurations
Cloning VMs
Stopping VMs
Removing VMs
Troubleshooting virtual machine creation problems
7.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 machine.
hpvmmigrate, which moves virtual machines from one system to another.
hpvmmodify, which modifies existing virtual machiness.
All of these commands accept the same options for specifying VM characteristics. Table 11 describes
each characteristic and command option.
Table 11 Characteristics of a VM
Where DescribedCommand OptionDefault SettingVirtual Machine Characteristic
Section 7.1.1 (page 78)-P vm-nameYou must specify a name when
you create or modify the virtual
machine. You cannot modify
this characteristic.
Virtual machine name
Section 7.1.3 (page 79)-O os_type
[:version]
If you do not specify the
operating system type, it is set
to UNKNOWN.
Operating system type
Section 7.1.5 (page 79)-c number_vcpusIf you omit this option when
you create the virtual machine,
the default is one vCPU.
Virtual CPUs (vCPUs)
“Virtual machine type” (page
78)
-x vm_type=typeIf not specified, by default a
shared VM is created.
Virtual machine type
Section 7.1.6 (page 80)-e
percent[:max_percent]
-E
cycles[:max_cycles]
If you omit this option when
you create the virtual machine,
the default is 10%.
CPU entitlement
Section 7.1.7 (page 80)-r amountIf you omit this option when
you create the virtual machine,
the default is 2 GB.
Memory
7.1 Specifying virtual machine characteristics 77