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

9.6.3.5 Actual Memory Allocations Might Differ
If you specify a value for the ram_target or ram_dyn_target_start parameter that results
in a change in memory size that is not a multiple of 64 MB, the target value is reset.
For example, if you specify 6 GB of memory, the HP-UX guest actually has access to 6135 MB of
memory. If you attempt to set the memory size to 2048 MB, the amount of memory actually
removed is 4087 MB. This is not a multiple of 64 MB, so the target memory size is reset to 2103
MB.
9.6.3.6 Enable Dynamic Memory on the Guest and on the VM Host
The guest management software must be installed on the guest before you can use dynamic
memory parameters on the VM Host system. For example, if the guest management software is
not installed, the hpvmstatus command displays the following:
# hpvmstatus -V -P compass1
.
.
.
[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Type : driver
Minimum memory : 1024 MB
Target memory : 2048 MB
Maximum memory : 3072 MB
.
.
.
If you attempt to modify the guest's dynamic memory from the VM Host, the following errors
are displayed:
# hpvmmodify -x ram_target=2048M -P compass1
hpvmmodify: ERROR (compass1): Query to dynamic memory driver failed: Function is not available.
hpvmmodify: Failed to set ram_target.
hpvmmodify: Unable to modify the guest.
If you attempt to modify the dynamic memory from the guest, the following errors occur:
# hpvmmgmt -V -l ram
Dynamic memory driver not found on guest.
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.2 (page 54).
9.6.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.
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
9.6 Dynamic Memory 137