HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)

Example
Table 27 possible commands to arrive at vparstatus output
set of possible commands in sequence to create vparstatus outputvparstatus output (final)
# vparcreate -p keira1 -a cpu:::1:12 -a cpu::4
(min==1, max==12, total==4
4 non-CLPs are reserved by the Monitor)
# vparmodify -p keira1 -a cpu:1/10 -a cpu:1/12
(since the vpar is down, total is not modified.
therefore, 2 of the 4 CPUs assigned by the
Monitor
become user-assigned by hardware_path (1.10 and
1.12).
total==4 (2 assigned by hardware path and
2 assigned by Monitor))
# vparmodify -p keira1 -a cell:1:cpu::1
(since the specification is by CLP, total is
modified.
the Monitor chooses which CPU from cell 1.
totat==5 (2 assigned by hardware path and
2 assigned by Monitor and
1 assigned by CLP))
# vparboot -p keira1
assume I/O and memory have been assigned so that
keira1
can boot. at boot time:
min==1, max==12
user-assigned CPU is 1.10
boot processor is chosen by Monitor to be the
other
user-assigned CPU at 1.12
2 CPUs assigned by Monitor are 0.10 and 0.11
1 CPU assigned by the Monitor by CLP is 1.11
keira1 # vparstatus -p keira1 -v
[Virtual Partition Details]
Name: keira1
State: Up
Attributes:
Dynamic,Autoboot,Autosearch
Kernel Path: /stand/vmunix
Boot Opts:
[CPU Details]
Min/Max: 1/12
User assigned [Path]: 1.10
Boot processor [Path]: 1.12
Monitor assigned [Path]: 0.10
0.11
1.11
Non-cell-specific:
User assigned [Count]: 2
Monitor assigned [Count]: 2
Cell-specific [Count]: Cell
ID/Count
1
1
...
146 vPars Monitor and Shell Commands