vparresources2.5 (2010 09)

v
vparresources2(5) vparresources2(5)
(For OA Based Partition Management Systems)
vparcreate -p my_vp -a cpu::2 -a cpu:::2:4 -a cpu:1/1/0/0 \
-a cpu:1/1/0/1 -a mem::1280 -a io:5/1/0/0/0 -a ioslot:5/1/1
At creation time, before any options are processed, min is equal to
0,asisnum. Assume that the default
max is sufficiently high, and that the specified resources are available for allocation.
-a cpu::2 succeeds because num(2) is within the range of the min and the max.
-a cpu:::2:4 then succeeds because num(2) is still within the required range. Note that if
the two options were reversed the command would return an error due to left-to-right option pro-
cessing, and the desired min would exceed the default num.
Finally, the specification of the two CPU-cores at explicit paths
1/1/0/0 and 1/1/0/1 also
succeeds because total CPU-core num is still not greater than max(4).
Table III. Detailed Resource Specifications
Table III.a. Tasks: -a cpu::num
-a core::num
Explanation Adds num non-SLPs to the vPar’s configuration.
The CPU-cores are drawn from a system wide pool of
available CPU-cores.
Value num: A positive integer
Usage o Total number of CPU-cores <= max
Restrictions o num CPU-cores must exist in the nPartition
o num CPU-cores must be available (not assigned to
any vPar)
Table III.b. Tasks: -a cpu:cpu_path
-a core:core_path
Explanation Assigns a CPU-core at a specific path to the vPar’s
configuration.
Value cpu_path: enclosure#/blade#/cpusocket#/cpucore#
core_path: enclosure#/blade#/cpusocket#/cpucore#
Usage o A CPU-core must exist at path
Restrictions o The CPU-core at path must be available (not
assigned to any vPar)
o Total number of CPU-cores <= max
Usage The assignment increases the number of total CPU-
Guidelines cores allocated to the target vPar.
Hewlett-Packard recommends that users configure
specific CPU-cores only when required for
performance reasons. In other situations, specify
only the total number of CPU-cores (num), and allow
the system to manage the actual CPU-cores allocated.
HP-UX 11i Version 3: September 2010 9 Hewlett-Packard Company 9