HP vPars and Integrity Virtual Machines V6.1 Administrator Guide

hpvmmgmt: Unable to continue.
# hpvmmgmt -x ram_target=2048
Failed to open dynamic memory driver, error: No such device.
Failed to set dynamic value error: No such device
hpvmmgmt: Unable to continue.
For information about installing the VirtualBase software, see Section 8.3 (page 104).
11.9.3.7 Upgrade the VirtualBase software when upgrading Integrity VM
The dynamic memory software has two components: the VSP support and the HP-UX guest support.
These two components must be at the same version level for dynamic memory to function. When
you upgrade Integrity VM, you must also install the new VirtualBase kit on the guest. (You should
also upgrade the guest operating system if it is no longer supported.) During this upgrade process,
dynamic memory may not function.
If there is a version mismatch, a message is written to the VSP's syslog file (/var/adm/syslog/
syslog.log) when the guest starts. For example:
vmunix: (hpvmdvr) Dynamic memory version mismatch Guest 5.
Please update the guest kit
This example indicates that the VirtualBase software kit on virtual machine number 5 is out of date.
To determine which guest is number 5, use the hpvmstatus command. In the following example,
guest 5 is named dale:
# hpvmstatus
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
chip 1 HPUX On (OS) 2 1 1 3 GB 0
dale 5 HPUX On (OS) 2 1 1 3 GB 0
Note, VirtualBase is installed automatically with HP-UX 11i v3 March 2012 VMs. If you are using
VMs with HP-UX 11i v3 September 2011, you need to install VirtualBase.
For information about installing the VirtualBase software, see Section 8.3 (page 104).
11.9.4 Automatic memory reallocation
Automatic Memory Reallocation is an optional feature of Integrity VM that allows automated
changes in the amount of physical memory in use by virtual machines based on memory load
conditions. Automatic memory reallocation is available only on guests that support dynamic memory.
To use automatic memory reallocation, the VM must have the VirtualBase software installed, because
this is required for dynamic memory. For vPar/VM VirtualBase software installation instructions,
see Section 8.3 (page 104).
Note, VirtualBase is installed automatically with HP-UX 11i v3 March 2012 VMs. If you are using
VMs with HP-UX 11i v3 September 2011, you need to install VirtualBase software.
11.9.4.1 Enabling automatic memory reallocation on the VSP
On the VSP, the automatic memory reallocation software is included with Integrity VM. The automatic
memory reallocation daemon (hpvmamrd) is enabled by default. To disable automatic memory
reallocation, the following line must be included in the /etc/rc.config.d/hpvmconf file:
HPVMAMRENABLE=0. When HPVMAMRENABLE=0 is not set in hpvmconf, hpvmamrd is
automatically started and stopped when Integrity VM is started and stopped.
When running, hpvmamrd monitors the state of VMs that have been enabled for automatic memory
reallocation. Every ten seconds, hpvmamrd examines the state of relevant VMs, and takes action
within the parameters described in the next section. It also takes action when an attempt is made
to boot a VM that requires more physical memory than is currently available.
188 Managing vPars/VMs