HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)

1. You are in a vPars environment, running the default vPars database of /stand/vpdb that uses
the 128 MB granularity values for ILM and CLM. Because the virtual partitions have been
booted successfully, this means that the current firmware has granularity values of 128 MB.
2. You create an alternate database /stand/vpdb.alt with a granularity value of 512 MB for
ILM and 256 MB for CLM.
# vparcreate -D /stand/vpdb.alt -g ILM:512 -g CLM:256 -p keira1 ...
3. This writes the granularity value to the vPars database but not to firmware, which allows you
to continue using the active vPars database /stand/vpdb with its 128 MB granularity value.
When you wish to load /stand/vpdb.alt, then you can set the granularity value in firmware
using vparenv, reboot the nPartition, and load the alternate database.
# vparenv -g ILM:512 -g CLM:256
1
MON> reboot
2
...
HPUX> boot vpmon -D /stand/vpdb.alt
3
1
Set the granularity value in firmware.
2
Reboot the nPartition.
3
Load the alternate vPars database.
Memory: Setting the Granularity Values (PA-RISC)
Syntax
The syntax for setting granularity unit size is:
-g ILM|CLM:unit[:y|n]
where:
-g is granularity
ILM|CLM specifies whether the unit size is applied to ILM or CLM
unit is the granularity unit size in MBs
This value must be an integral power of 2 (in other words, 2^X) and be greater than
or equal to 64.
y|n specifies whether the granularity unit size should be written to firmware. The default
is n. Ignored on PA-RISC.
The default granularity is 128 MB for ILM and 128 MB for CLM.
Commands
There is only one command that can set the granularity values: the vparcreate command with
the -goption:
1. vparcreate -g ...
vparcreate writes the granularity values to the vPars database; the update firmware option ([:y])
is extraneous and is ignored on PA-RISC.
vparcreate
# vparcreate -p vpar1_name [-g ILM:unit][-g CLM:unit]
writes the unit granularity value to the vPars database when the first virtual partition for a given
vPars database is created.
When using this method, note that the -g option must be performed when creating the vPars
database (in other words, when performing the initial vparcreate command). If you set the value
218 CPU, Memory, and I/O Resources (A.04.xx)