HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

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 guest management software, see Section 4.4 (page 68).
9.7.3.7 Upgrade the Guest Kit When Upgrading Integrity VM
The dynamic memory software has two components: the VM Host 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 guest 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 VM Host'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 guest management 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
For information about installing the HP-UX guest management software, Section 4.4 (page 68).
9.7.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 guest must have the guest management software
installed, because this is required for dynamic memory. For guest management software
installation instructions, see Section 4.4 (page 68).
9.7.4.1 Enabling Automatic Memory Reallocation on the VM Host
On the VM Host, 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.
9.7.4.2 Managing Automatic Memory Reallocation from the VM Host
The following tunables can be set in /etc/rc.config.d/hpvmconf and are listed here with
the values they take if they are not set:
HPVMAMRCHUNKSIZE=256
HPVMAMRWAITTIME=60
9.7 Dynamic Memory 159