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

You can configure a virtual machine to reduce its memory size early in a boot process, making
the virtual machine available but maintaining lower memory overhead on the VM Host system.
Use the following -x option to enable this feature:
-x ram_dyn_target_start - memory size after boot
You can supply several dynamic memory keywords on the same command line. For example,
to enable dynamic memory and to configure the guest named compass1 to reduce its size early
in the boot process, enter the following command:
# hpvmmodify -P compass1 -r 6G \
-x ram_dyn_type=any \
-x ran_dyn_min=1222M \
-x ram_dyn_max=6G \
-x ram_dyn_targe_start=2G
This command specifies the following values:
The virtual machine memory size is set to 6GB.
Dynamic memory is enabled using any dynamic memory support available.
The minimum amount of memory that the virtual machine can be reduced to is 1222MB.
The maximum amount of memory that the virtual machine can be increased to is 6GB.
The memory size to reduce to after it boots is 2 GB.
If the virtual machine is running when the dynamic memory feature is configured for the first
time, the virtual machine must be rebooted for the configuration changes to take effect.
9.6.1.2 Viewing Dynamic Memory on the VM Host
Dynamic memory parameters and status are displayed for each guest using the standard Integrity
VM commands. For example, for the guest named compass1, the hpvmstatus command
displays the following dynamic memory information:
# hpvmstatus -V -P compass1
.
.
.
[Dynamic Memory Information]
Type : driver
Minimum memory : 1222 MB
Target memory : 2103 MB
Maximum memory : 6144 MB
Current memory : 2103 MB
Comfortable minimum : 2167 MB
Boot memory : 6135 MB
Free memory : 125 MB
Available memory : 286 MB
Memory pressure : 0
Memory chunksize : 65536 KB
Driver Mode(s) : STARTED ENABLED
.
.
.
Table 9-4 describes the dynamic memory characteristics displayed by the hpvmstatus and
hpvmmgmt commands.
Table 9-4 Dynamic Memory Characteristics
DescriptionSettingCharacteristic
No dynamic memory support
none
Type
Dynamic memory is configured on the host, but the dynamic
memory subsystem on the guest has not started and reported
the implementation type.
any
132 Managing Guests