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

Table 9-4 Dynamic Memory Characteristics (continued)
DescriptionSettingCharacteristic
Amount of memory in the guest allocated by user processes
but not locked. This memory is available for paging.
valueM (for
megabytes) or
valueG (for
gigabytes)
Available memory
A value between 0 and 100 used as an indicator of memory
deficit and paging. The higher the number the longer the
system has been in a memory deficit. A memory pressure value
approaching 100 usually means the system is hung.
value
Memory pressure
The allocation chunk size used by dynamic memory when
increasing and descreasing guest memory (as described in
Section 9.7.3.4 (page 157).
value
Memory chunksize
Dynamic memory can change guest memory size.
started
Driver mode(s)
Control that overrides started.enabled
Guest-side control is enabled.
guestctl
9.7.1.3 Modifying a Virtual Machine's Memory Size on the VM Host
Once dynamic memory is configured, a virtual machine's memory size can be changed to any
value between the minimum size (ram_dyn_min) and the maximum size (ram_dyn_max) in
increments of the chunk size (64 MB). Use the following -x option to the hpvmmodify command
to change the memory size:
# hpvmmodify -P host1 -x ram_target = new memory size
9.7.2 Managing Dynamic Memory from the Guest
Dynamic memory management from the guest is disabled by default and must be enabled from
the VM Host. If the feature is not enabled, dynamic memory information can be displayed , but
the memory size cannot be changed.
Use the hpvmcreate, hpvmmodify, or hpvmclone command and include the -x
dynamic_memory_control option. Specify 1 as the argument to the option. For example, on
the VM Host system, enter the following command to enable dynamic memory control on the
guest named host1:
# hpvmmodify -P host1 -x dynamic_memory_control=1
9.7.2.1 Viewing Dynamic Memory Information from the Guest
Use the hpvmmgmt command on the HP-UX guest to manage and view the dynamic memory
information. This command is installed when you install the guest management software, as
described in Section 4.4 (page 68).
Table 9-5 describes the options to the hpvmmgmt command.
Table 9-5 Options to the hpvmmgmt Command
Specifies the type of data to list more information about.
For type, enter ram.
-l type
Allows you to continually watch and check the dynamic
ram values. For the interval, specify the number of seconds
between fetches of live data.
-l type -t interval
Allows the hpvmmgmt command to continuously refetch
the requested type of data using the value specified for
the interval parameter.
-t interval
9.7 Dynamic Memory 155