HP-UX vPars and Integrity VM V6.3 Administrator Guide

# vparcreate -p <vPar> -a mem::<amount>:f ...
# vparmodify -p <vPar> -a mem::<amount>:f ...
Alternatively,
# hpvmcreate -x vm_type=vpar -P <vPar_name> -a mem::<amount>:f ...
# hpvmmodify -P <vPar_name> -a mem::<amount>:f ...
Both base and floating memory can be added when the partition is up or down. But, to delete
base memory, the partition must be down.
Floating memory can be added or deleted when the partition is up or down.
Base and floating memory can be added or deleted in one command line:
# vparmodify -p <vPar> -a mem::<amount>:b -a mem::<amount>:f ...
Alternatively,
# hpvmmodify -P <vPar_name> -a mem::<amount>:b -a mem::<amount>:f ...
Memory add and delete cannot be performed in the same command when the partition is
Online. For example, if the vPar is online, the add and delete operations must be separated
into two commands as follows:
# vparmodify -p <vPar> -a mem::<amount>:b
# vparmodify -p <vPar> -d mem::<amount>:f ...
Alternatively,
# hpvmmodify -P <vPar_name> -a mem::<amount>:b
# hpvmmodify -P <vPar_name> -d mem::<amount>:f
A memory add or delete and CPU add or delete operation cannot be performed in the same
command when the vPar is Online. Hence, memory add or delete and CPU add or delete
must be separated into two commands as follows:
# vparmodify -p <vPar> -a cpu::<cores>
# vparmodify -p <vPar> -d mem::<amount>:f
Alternatively,
# hpvmmodify -P <vPar_name> -a cpu::<cores>
# hpvmmodify -P <vPar_name> -d mem::<amount>:f
However, for a live partition, base memory add and floating memory modify operations can
be performed in the same command; provided that the floating memory modify operation
resulted in addition of floating memory.
# vparmodify -p <vPar> -a mem::<amount>:b -m mem::<amount>:f....
Alternatively, you can use hpvmmodify command:
# hpvmmodify -P <vPar_name> -a mem::<amount>:b -m mem::<amount>:f
A cancel operation is supported only for the last pending memory OL* operation.
# vparmodify -p <vPar> -C
Alternatively,
# hpvmmodify -P <vPar_name> -R
When upgrading vPars from earlier product versions, the total memory of the vPar would be
marked as base memory in the new configuration file.
If a VM guest is transformed into a vPar, then the total memory of the VM guest will be
associated as base memory in the vPar configuration.
If a vPar with floating memory is transformed to a VM guest (using hpvmmodify ‘vm_type
option), the total memory (base + floating) will be associated with the VM guest. It will continue
to operate with original base and floating memory configuration if reverted to a vPar again.
242 Managing vPars and VMs using CLI