Reconfiguring vPars v6 memory with zero downtime
7
Memory conguration rules
The following lists some of base or oating memory conguration rules:
1. When no attribute is specied the memory defaults to base. Hence, base memory can be added or deleted without
specifying any attribute or by explicitly including the ‘:b’ attribute. The following lists syntaxes to add base memory.
# vparcreate -p <vpar> -a mem::<amount>[:b]
# vparmodify -p <vpar> -a mem::<amount>[:b]
Alternatively,
# hpvmcreate -P <vPar _ name> -x vm _ type=vpar -a mem::<amount>[:b]
# hpvmmodify -P <vPar _ name> -a mem::<amount>[:b]
2. Floating memory requires explicit specication of the attribute ‘:f’ during add or delete. The following lists syntaxes to
add oating memory.
# 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
3. Base and oating 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
4. Memory addition and deletion cannot be performed in the same command when the partition is Online. For example, if
the vPar is online, the addition and deletion 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
Technical white paper | HP-UX vPars and Integrity VM v6.2