vparresources2.5 (2012 03)

v
vparresources2(5) vparresources2(5)
(For OA Based Partition Management Systems)
4) -m socket:socket_id:mem::size specifies that the SLM from socket socket_id in the target
vPar be set to size MB. This operation may result in assignment or deletion of SLM. The
-m
option is internally mapped to either a -a
or -d option. The difference in the current memory
size and the specified memory size is rounded up before the addition or deletion. This may some-
times result in the new memory to be more than the specified value if
-m is internally mapped to
-a or less than the specified value if
-m is internally mapped to -d. Refer to the examples above.
Command Examples
If more than one task is specified in a command, they are processed in the order (left-to-right) in which
they are encountered on the command line. Some tasks will affect the outcome of others. Here is an
example of correct usage, as well as counterexamples within the description.
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 will 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)
10 Hewlett-Packard Company 10 HP-UX 11i Version 3: March 2012