HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)
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/rdisk/c6t9d0 took 32 seconds to open.
7.4 Changing virtual machine configurations
You can create a virtual machine with characteristics that the VSP 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 VSP 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 VSP 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 16
describes the options you can use on the hpvmmodify command.
For example, to modify the characteristics of the problematic virtual machine host1 to remove
vCPUs and memory, enter the following command:
# hpvmmodify -P host1 -c 1 -r 2G
This command changes the following characteristics of the virtual machine named host1:
• The -c 1 option specifies one vCPU.
• The -r 2G option specifies two GB of memory.
NOTE: Note, you can specify an NPIV HBA with this syntax:
hba:avio_stor::npiv:/dev/fcd0. For additional information about shared I/O resource
statements, see hpvmresources(5).
92 Creating virtual machines