HP-UX Reference (11i v1 05/09) - 5 Miscellaneous Topics (vol 9)
v
vparresources(5) vparresources(5)
• Memory
• The total amount of memory specified in explicit memory ranges, using the mem:::base:range
specification, must be less than or equal to the total memory assigned to the vPar using the
mem::size specification.
When you specify a specific range of memory (whether adding or deleting), you do not change
the total amount of memory assigned to the vPar. When adding, you merely specify that the
particular range you specify be one part of the total amount assigned to your vPar. When delet-
ing, the specific range is returned to the pool of unspecified total memory assigned to the vPar.
Hewlett-Packard recommends that users configure specific memory ranges only when required
for performance reasons. In other situations, specify only total memory and allow the monitor
to manage the actual ranges allocated.
• I/O resources
• The granularity at which the I/O resources can be divided amongst vPars is at the LBA (Local
Bus Adapter) level, that is, an LBA or any resources under it cannot be assigned to two
different vPars.
The hardware paths of the LBAs present on the system can be obtained by using the ioscan(1M)
command:
ioscan -kfC ba
Refer to the platform-specific documentation to obtain the LBA hardware path for each I/O
slot present on the system.
• I/O hardware paths can be assigned at the SBA (System Bus Adapter) level or LBA level to a
vPar. When an SBA is assigned to a vPar, all the LBAs under the SBA are automatically
assigned to that vPar.
The hardware paths of the SBAs present on the system can be obtained by using the
ioscan
command:
ioscan -kfC ioa
Refer to the platform-specific documentation to obtain the SBA hardware path for each I/O
chassis present on the system.
• If one or more resources below the LBA level are assigned to a vPar, then the assignment has
the effect of assigning the whole LBA.
• The following example describes creating a vPar on systems that support hardware partitions,
where LBAs at hardware paths 1/0/2 and 1/0/4 are assigned to the vPar.
vparcreate -p Bergen -a cpu::5 -a cpu:::2:6 \
-a mem::2048 \
-a io:1/0/2 \
-a io:1/0/4 \
-a io:1/0/2/0.6.0:boot
• The following example describes creating a vPar on systems that do not support hardware
partitions, where LBAs at hardware paths 0/2 and 0/4 are assigned to the vPar.
vparcreate -p Bergen -a cpu::5 -a cpu:::2:6 \
-a mem::2048 \
-a io:0/2 \
-a io:0/4 \
-a io:0/2/0.6.0:boot
• If the monitor is not running or if an alternate database is being configured, then hardware
checking is reduced. Errors such as allocating resources below a single LBA to different vir-
tual partitions may not be caught.
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 5−−387