HP-UX Virtual Partitions Administrator Guide (includes A.05.09) (5900-2188, March 2012)

NOTE: When you create a virtual partition, the vPars Monitor assumes you will boot and use
the partition. Therefore, when a virtual partition is created, even if it is down and not being used,
the resources assigned to it cannot be used by any other partition.
Also, when using vPars, the physical hardware console port must be owned by a partition. To
avoid terminal type mismatches, this should be the first virtual partition created. For an example,
see Assigning the Hardware Console LBA” (page 52).
For memory considerations, see “Memory: Allocation Notes” (page 214).
Example (A.03.xx)
To create a virtual partition named winona2 with the following resources:
Three total CPUs (two bound CPUs at hardware paths 41 and 45 and one unbound CPU)
with a maximum of four (bound plus unbound) CPUs
1280 MB of memory
all hardware where the LBA is at 0/8 or 1/10
a boot disk at 0/8/0/0.5.0
use the corresponding vparcreate command line options:
vparcreate OptionResource or Attribute
-p winona2virtual partition name is winona2
-a cpu::3three total CPUs
-a cpu:::2:4of which two are bound CPUs and a maximum of four CPUs
-a cpu:41 -a cpu:45at hardware paths 41 and 45
-a mem::12801280 MB of memory
-a io:0.8all hardware where the LBA is at 0/8
-a io:1.10all hardware where the LBA is at 1/10
-a io:0.8.0.0.5.0:boothardware at 0/8/0/0.5.0 as the boot disk
The resulting vparcreate command line is:
winona1# vparcreate -p winona2 -a cpu::3 -a cpu:::2:4 -a cpu:41 -a
cpu:45 -a mem::1280 -a io:0.8 -a io:1.10 -a io:0.8.0.0.5.0:boot
Managing: Creating a Virtual Partition 145