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

example, to set the new virtual machine compass1 to have two vCPUs, enter the following
command:
# hpvmcreate -P compass1 -c 2
Every virtual machine has at least one vCPU. A running virtual machine cannot use more vCPUs
than the number of physical CPUs on the VM Host system. (For the purpose of this discussion,
the term “physical CPU” refers to a processing entity on which a software thread can be
scheduled.)
However, Integrity VM allows you to create a virtual machine with more vCPUs than the number
of physical CPUs on the VM Host system. Warning messages are displayed if there are not
enough physical CPUs to run the virtual machine. This feature allows you to create virtual
machines for future configurations. However, the virtual machine is not allowed to start on a
VM Host system that does not have enough physical CPUs.
3.1.4 Entitlement
Use the -e or -E option to specify the virtual machine's entitlement.
Virtual machine entitlement is the minimum amount of processing power guaranteed to the
virtual machine from each virtual CPU. When you create a virtual machine, you can use the -e
option to specify the entitlement as a percentage, from 5% to 100%. If you do not specify the
entitlement, the virtual machine receives 10% entitlement by default.
Alternatively, you can use the -E option to specify the entitlement as the number of CPU clock
cycles per second to be guaranteed to each vCPU on the virtual machine.
For example, to specify an entitlement of 20% for the new virtual machine compass1, enter the
following command:
# hpvmcreate -P compass1 -e 20
When the virtual machine starts, the VM Host ensures that sufficient processing power is available
for every running virtual machine to receive its entitlement. For virtual machines with multiple
virtual CPUs, the entitlement is guaranteed on each vCPU in the virtual machine's configuration.
For example, if a virtual machine has four vCPUs, and the entitlement is set at 12%, the VM Host
ensures that the equivalent of at least 48% of one physical CPU is available to that virtual machine.
To allow multiple virtual machines to run at the same time, make sure that the entitlement of
each virtual machine does not prevent the others from obtaining sufficient processor resources.
The sum of all entitlements across all active virtual machines cannot total more than 100% for
any physical processor. If available processor resources are insufficient, the virtual machine is
not allowed to boot; error messages are displayed to indicate the specific problem.
If a virtual machine is busy and sufficient processing resources are available on the VM Host
system, the virtual machine can receive more than its entitlement. When there is contention for
processing resources (on a VM Host system with busy virtual machines), each virtual machine
is limited to its entitlement.
For help managing CPU power across multiple virtual machines, install the HP Global Workload
Manager (gWLM) on the VM Host system. For more information, see HP Integrity Essentials
Global Workload Manager Administrator's Guide.
3.1.5 Guest Memory Allocation
Use the -r amount option to specify the amount of virtual memory to be allocated to the guest.
If you do not specify the memory allocation, the default is 2 GB. For example, to allocate three
gigabytes to the virtual machine compass1, enter the following command:
# hpvmcreate -P compass1 -r 3G
The amount of memory to allocate is the total of the following:
3.1 Specifying Virtual Machine Characteristics 33