HP-UX Virtual Partitions 6.0 Administrator Guide

6 Creating and managing virtual partitions
To create and manage virtual partitions, you must run appropriate commands from the VSP or use
the HP-UX Integrity Virtual Server Manager, the GUI application that can be accessed from the
Tools page in HP SMH of the VSP.
This chapter discusses the various tasks that can be performed from the VSP using commands. For
tasks you can perform using the GUI, see the HP-UX Integrity Virtual Server Manager Help that
comes with the GUI application.
Creating a virtual partition
When you create a virtual partition, you must specify its attributes. Later you can change these
characteristics.
You can set the attributes of a virtual partition using the following commands:
vparcreate, which creates new virtual partitions.
vparmodify, which modifies the existing virtual partitions.
Both these commands accept the same options for specifying the attributes of a virtual partition.
Table 15 (page 36) describes each characteristic and command option.
Table 15 Attributes of a virtual partition in vPars v6.0
Default valueCommand optionDescriptionvPar attribute
If you do not specify either a
number or a name, a vPar name
-p vpar_idYou can specify either a number
or name.
vPar ID (name or
number)
in the format vParXXXX (where
XXXX represents the vPar Id
number), with leading zeros is
automatically assigned to the
newly created vPar.
If you do not specify either a
number or name, a vPar name
-P vpar_name
OR
The vPar name can have up to
256 alphanumeric characters,
including A-Z, a-z, 0-9, the dash
vPar name
in the format vParXXXX (where
-p vpar_id
(—), the underscore (_), and XXXX represents the vPar Id
period (.). The vPar name must
not start with a dash.
number), with leading zeros is
automatically assigned to the
newly created vPar.
If you leave out this option when
you create a vPar, the default is
-a cpu::num
-a
cpu::[num]:[min][:[max]]
You can specify the number of
CPUs that a vPar can use. A
running vPar cannot use more
CPUs than the number of
CPU
1 CPU core. If you set any of
num, min, or max to 0, the
OR
physical CPUs minus CPUs
assigned to VSP.
default value is assigned. For
vPars v6.0, the defaults are,
num=1, min=1, and max=512.
-a core::num
-a
core::[num]:[min][:[max]]
You can set min and max values
too. The minimum and maximum
values are boundary values that
are enforced if the number of
CPUs in this vPar changes in the
future.
If you leave out this option when
you create a vPar, the default
memory allocated is 2 GB.
-a mem::mem_sizeThe memory is specified in
megabytes. The minimum
amount of memory you allocate
Memory
36 Creating and managing virtual partitions