HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)

CPU, Memory, and I/O Resources (A.05.xx)
Memory: Converting Base Memory to Float Memory
Chapter 6
206
Memory: Converting Base Memory to Float Memory
In vPars A.04.xx and A.03.xx, all memory is base memory, meaning this memory cannot be removed from a
virtual partition while the virtual partition is up. In vPars A.05.01, if you wish to remove memory from a
virtual partition while the virtual partition is up, you will need to have that amount of memory added to the
virtual partition as float. By default, all memory assigned to a virtual partition is base memory, so below is
the process to convert base memory to float memory. There is no vpar* command to do this automatically.
1. Decide how much memory you wish to have as dynamically migratable memory.
Note that each virtual partition requires enough base memory to load and run the kernel. See also
“Performance Note for Base versus Float Memory Amounts” on page 197 and Appendix F, “Supported
Configurations for Memory Migration,” on page 365 for information on a virtual partition’s base memory
requirements.
For our example, let’s assume that on keira3, we wish to convert 512 MB of existing ILM base memory to
ILM float memory.
2. Because :base memory can only be removed from a partition while the partition is down, shut down
the target partition.
keira3# shutdown -hy 0
3. Remove the amount of :base memory from the target partition that you wish to convert to :float
memory.
keira1# vparmodify -p keira3 -d mem::512
4. Add that amount of memory as :float to the target partition.
keira1# vparmodify -p keira3 -a mem::512:float
5. Boot up the target partition.
keira1# vparboot -p keira3
NOTE If you have the available memory and do not wish to shut down the target virtual partition,
instead of converting base memory to float memory, you can simply add that amount of
memory as float memory while the target partition is up:
keira3# vparmodify -p keira3 -a mem::512:float
NOTE Mixed HP-UX 11i v2/v3 vPars Environment
In a mixed HP-UX 11i v2/v3 vPars environment, dynamic memory migration is only supported
on the vPars versions that support dynamic memory migration. In other words, the source
and target virtual partitions must be running vPars A.05.xx.
It is possible to perform add/delete memory operations on virtual partitions running A.04.xx, as
long as the target virtual partition is in the down state. Note that the vparmodify command
must be executed on a virtual partition running vPars A.05.xx.