Installing and Managing HP-UX Virtual Partitions (includes A.03.03)

Monitor and Shell Commands
Commands: Displaying Monitor and Resource Information (vparstatus)
Chapter 5
122
Table 5-3 possible commands to arrive at vparstatus output
vparstatus output (final) set of possible commands in sequence to create vparstatus
output
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
...
# 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 IO 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
Table 5-4 possible commands to arrive at vparstatus output
vparstatus output (final) another set of possible commands in sequence to create
vparstatus output
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
...
# vparcreate -p keira1 -a cpu:1.12
(total==1)
# vparboot -p keira1
(assume IO and memory have been assigned so that keira1
can boot. at this point the cpu assigned by hw_path
(1.12) is the only CPU, so it becomes the boot processor.
Note that 1.12 is only listed once; it is not listed
under both “Boot Processor” and “User Assigned”)
# vparmodify -p keira1 -a cpu:1.10
(1.10 is added and listed as “user assigned”)
# vparmodify -p keira1 -a cpu::2
(0.10 and 0.11 are chosen by the Monitor and added)
# vparmodify -p keira1 -a cell:1:cpu::1
(1.11 is added and listed under “Cell-specific”)