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

Monitor and Shell Commands
Creating a Virtual Partition
Chapter 5 109
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” on
page 73.
Example 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 path begins with 0/8 or 1/10
a boot disk at 0/8/0/0.5.0
use the corresponding vparcreate command line options:
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