HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

NOTE: When configuring or starting Integrity VM guests, the following warning message
might be displayed if storage associated with the guest appears to be performing very poorly.
hpvmcreate: WARNING (host): Device /dev/rdsk/c6t9d0 took 32 seconds to open.
3.5 Changing Virtual Machine Configurations
You can create a virtual machine with characteristics that the VM Host cannot supply at the time
of creation. This allows you to create virtual machines to run after system configuration changes.
For example, the following command creates the virtual machine host1 with 3 vCPUs and 4
GB of allocated memory:
# hpvmcreate -P host1 -c 3 -r 4G
HPVM guest host1 configuration problems:
Warning 1: Guest's vcpus exceeds server's physical cpus.
Warning 2: Insufficient cpu resource for guest.
These problems may prevent HPVM guest host1 from starting.
hpvmcreate: The creation process is continuing.
Because the VM Host is not currently configured to support the new virtual machine, warning
messages indicate the specific characteristics that are inadequate.
When you start a virtual machine, the VM Host determines whether the current system
configuration can support the virtual machine's characteristics. The ability of the system to run
the virtual machine can be affected by the other virtual machines that are currently running,
because they share the physical processors and memory. Any allocated vswitches must be started,
and storage devices must be made available to the virtual machine. If the virtual machine cannot
be started, the following type of message is generated:
# hpvmstart -P host1
HPVM guest host1 configuration problems:
Warning 1: Insufficient free memory for guest.
Warning 2: Insufficient cpu resource for guest.
These problems may prevent HPVM guest host1 from booting.
hpvmstart: Unable to continue.
You can either change the system configuration, or modify the virtual machine. To modify the
characteristics of a virtual machine, use the hpvmmodify command. When you use the
hpvmmodify command to modify a guest, the entire guest configuration is reevaluated. Any
problems that might prevent the guest from starting are reported. For example, if a guest has a
reference to a host device that no longer exists, and you enter an hpvmmodify command that
modifies the guest but does not fix the bad reference, a warning message is generated.Table 3-7
describes the options you can use on the hpvmmodify command.
Table 3-7 Options to the hpvmmodify Command
DescriptionOption
Specifies the name of the virtual machine. You must specify either the -P
option or the -p option..
-P vm-name
Specifies the number of the virtual machine. To determine the virtual machine
number, enter the hpvmstatus command.
-p vm_number
Suppresses all resource conflict checks and associated warning messages
(force mode). Use force mode for troubleshooting purposes only.
NOTE: The -F option is deprecated in Integrity VM commands; this option
should be used only at the direction of HP Support.
-F
Sanity-checks the virtual machine configuration and returns warnings or
errors, but does not start the virtual machine.
-s
62 Creating Virtual Machines