Installing and Managing HP-UX Virtual Partitions (includes A.04.01)

Monitor and Shell Commands
Managing: Creating a Virtual Partition
Chapter 5
122
Managing: Creating a Virtual Partition
You can create a virtual partition using the vparcreate command.
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 “Ensuring the Hardware Console Port Is Owned by the First Virtual Partition
(PA-RISC)” on page 57.
For memory considerations, please see “Memory: Allocation Concepts and Notes (vPars A.04,
A.03 and earlier)” on page 173.
CAUTION LBAs must be explicitly specified when using vPars A.03.01 or earlier. The examples in this
chapter use a non-nPartitionable system. If using an nPartitionable system, please read
“Planning, Installing, and Using vPars with an nPartitionable Server” on page 50.
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:
The resulting vparcreate command line is:
Resource or Attribute vparcreate Option
virtual partition name is winona2 -p winona2
three total CPUs -a cpu::3
of which two are bound CPUs and a
maximum of four CPUs
-a cpu:::2:4
at hardware paths 41 and 45 -a cpu:41 -a cpu:45
1280 MB of memory -a mem::1280
all hardware where the LBA is at 0/8 -a io:0.8
all hardware where the LBA is at 1/10 -a io:1.10
hardware at 0/8/0/0.5.0 as the boot disk -a io:0.8.0.0.5.0:boot