vparresources.5 (2010 09)

v
vparresources(5) vparresources(5)
NAME
vparresources - description of virtual partition resources and their requirements
Platform Support Remarks
This
vparresources
describes functionality on system not running Onboard Administrator (OA) based
partition management. For
vparresources
on systems with OA based partition management, refer to
vparresource2(5) by typing
man vparresources2
.
DESCRIPTION
Hardware resources are the most important property of a virtual partition (vPar). These resources are
divided into four major categories, or types:
CPUs
Memory
I/O devices, such as disks, terminals, tapes and printers.
Cells, hardware containers of processors (CPUs), memory, and I/O devices.
The essence of virtual partitions is the allocation and distribution of a set of resources among multiple
instances of the HP-UX operating system, each running in its own software environment. Resources,
once assigned to a vPar, belong only to that vPar and are not visible or accessible to other virtual parti-
tions except through the use of vPars commands such as
vparstatus to view them, or
vparmodify to
change the assignment of one or more resources or attributes. For example, if the I/O device at hardware
path 0.1.2.3.4.5 is assigned to vPar A, it cannot be accessed by vPar B. A user on vPar B can use the
vparstatus command to display the configuration of vPar A, including this device, but can not other-
wise use the device.
Note: The
ioscan command displays hardware paths as a list of numbers separated by forward slashes
and dots. The vparstatus command displays all hardware path elements separated only by dots.
Either form can be supplied to the vparcreate or vparmodify command when configuring a virtual
partition.
The
ioscan command can display either legacy or agile hardware paths depending on the options used.
It can also display mapping information between legacy and agile hardware paths. Refer to the
ioscan (1M) manpage for more information.
The Virtual Partition Database File
Virtual partition configurations (attributes and resources) are kept in a database file. The default
filename is
/stand/vpdb but other names may be specified. You can create the file in any path, but to
be used by the vPar monitor, the file must reside in /stand
.
On Itanium-based platforms, there must also be a soft link between the database file and an identically
named file in the
/stand/boot.sys/stand
directory. The link is not required on PA platforms. The
command creates this link for you when you create the database file in the
/stand
directory. If you
create it in a different directory and later move it to
/stand, or if you create it on one system but copy it
to another for use, you must manually create the link.
When the monitor is loaded, it reads the specified (or default) file into its memory. Any configuration
changes while the monitor is running are made to this memory copy and then written to the disk copy of
all running virtual partitions.
Requested and Effective Resources
Because the monitor requires a database file, you must first create one with the vparcreate command
while running in a full hard partition (nPartition) or on a supported non-partitioned system. Any
resources you specify at this time (or at any time when the monitor is not running) are termed
Requested, because they are not checked for existence. For example, vPars will allow you to distribute
16 GB of memory among your virtual partitions even if the nPartition has only 8 GB. This is because you
may be configuring the database for use on another nPartition. vPars only ensures that you do not assign
the same specific resource to more than one vPar.
When the monitor loads this database file, it checks the existence of all the specified
Requested
resources, adjusting any that require it. The result of this validation step is a set of Effective
resources. In a running vPars environment, the monitor checks both existence and duplicate assignment
for every proposed resource change.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (32 pages)