HP Integrity Virtual Machines Installation, Configuration, and Administration

The minimum amount of memory that the virtual machine can use is 1222 MB.
The maximum amound of memory that the virtual machine can use is 6 GB (all the memory
that is allocated to the guest)
The amount of memory to which the guest memory is reduced after it starts is 2G.
9.6.2 Managing Dynamic Memory from the Guest
Dynamic memory management from the guest must be enabled from the VM Host. To allow
dynamic memory to be managed from the guest system, specify thehpvmcreate, hpvmmodify,
or hpvmclone command, including 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 compass1:
# hpvmmodify -P compass1 -x dynamic_memory_control=1
The default is to not allow dynamic memory management from the guest.
You can use the hpvmmgmt command on the HP-UX guest to enable and control dynamic memory.
This command is installed on the guest when you install the guest management software, as
described in Section 4.2: “Installing HP-UX Guest Management Software” (page 47).
Table 9-5 decribes 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
Displays the version number of the hpvmmgmt command.-v
Displays detailed information (verbose mode) about the
virtual machines.
-V
Displays verbose attribute and resource information in a
machine-readable format.
-M
Displays verbose attribute and resource information in
the XML format.
-X
Specifies the guest RAM target, where:
0 indicates the guest dynamic memory will be reduced
to a comfortable minimum value.
start indicates the guest dynamic memory will be
set back to the boot time value.
amount is a specific target memory size for the guest.
-x ram_target={0 | start | amount}
For example, on the guest, use the hpvmmgmt command to list the dynamic memory information.
Enter the following command:
# hpvmmgmt -l ram
[Dynamic Memory Information]
=======================================
Type : driver
Current memory : 6135 MB
Target memory : 6135 MB
Comfortable minimum : 2167 MB
To display more information, include the V option. For example:
124 Managing Guests