HP-UX vPars and Integrity VM V6.3 Administrator Guide

10 Administering vPars
To create vPars, you must run appropriate commands from the VSP or use the HP-UX Integrity Virtual
Server Manager, the GUI application, which you can access from the Tools page in HP SMH
installed on the VSP.
This chapter discusses the various tasks that you can perform from the VSP using the commands.
For more information about the tasks that you can perform using the GUI, see HP-UX Integrity Virtual
Server Manager Help that comes with the GUI application.
NOTE: The Integrity VM commands can be used to configure and manage both vPars and VM.
They support overall product features. HP recommends using Integrity VM commands over vPar
commands for managing vPars or VM.
10.1 Creating a vPar
When you create a vPar, you must specify its attributes. Later, you can change these attributes.
You can set the attributes of a vPar using the following commands:
vparcreate, which creates a new vPar.
vparmodify, which modifies an existing vPar.
Both these commands accept the same options for specifying the attributes of a vPar. Table 26 (page
153) lists the attributes and the command options.
NOTE: When you use the vparcreate command to create a vPar, by default it reserves any
resources assigned to that vPar, even when the vPar is off. For more information about reserved
resources, see Section 5.3 (page 57). Additionally, the vPar is set to AutoBoot when the VSP is
restarted. You can use the hpvmmodify -B command to adjust the AutoBoot setting.
Table 26 Attributes of a vPar
Default valueCommand optionDescriptionvPar attributes
If you do not specify either a
number or a name, a vPar name
in the format vParXXXX (where
XXXX represents the vPar Id
number), with leading zeros is
automatically assigned to the
newly created vPar.
-p vpar_idYou can specify a number or a
name.
vPar ID (name or
number)
If you do not specify this
attribute when you create a
vPar, the default is 1 CPU core.
If you set any of num, min, or
max to 0, the default value is
assigned. In vPars V6, the
defaults are, num=1, min=1,
and max=512.
-a cpu::num
-a
cpu::[num]:[min][:[max]]
OR
-a core::num
-a
core::[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
physical CPUs on the VSP
system.
You can set min and max
values. The min and max values
are boundary values that are
enforced if the number of CPUs
in this vPar changes in the
future.
CPU
10.1 Creating a vPar 153