04.11.2012 Views

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

vparstatus: CPU Information on vPars A.04/A.05<br />

While a virtual partition is in the down state, no specific CPU is assigned to the virtual partition<br />

as the boot processor but one is allocated by the vPars Monitor if needed (there are no CPUs<br />

assigned to the virtual partition). The boot processor is determined when the virtual partition is<br />

booted.<br />

Note that the output does not determine which commands were issued; different commands<br />

can be used to arrive at the same vparstatus output.<br />

Example<br />

Table 5-3 possible commands to arrive at vparstatus output<br />

vparstatus output (final)<br />

keira1 # vparstatus -p keira1 -v<br />

[<strong>Virtual</strong> Partition Details]<br />

Name: keira1<br />

State: Up<br />

Attributes:<br />

Dynamic,Autoboot,Autosearch<br />

Kernel Path: /stand/vmunix<br />

Boot Opts:<br />

[CPU Details]<br />

Min/Max: 1/12<br />

User assigned [Path]: 1.10<br />

Boot processor [Path]: 1.12<br />

Monitor assigned [Path]: 0.10<br />

0.11<br />

1.11<br />

Non-cell-specific:<br />

User assigned [Count]: 2<br />

Monitor assigned [Count]: 2<br />

Cell-specific [Count]: Cell<br />

ID/Count<br />

1<br />

1<br />

...<br />

148 vPars Monitor and Shell Commands<br />

set of possible commands in sequence to create vparstatus output<br />

# vparcreate -p keira1 -a cpu:::1:12 -a cpu::4<br />

(min==1, max==12, total==4<br />

4 non-CLPs are reserved by the Monitor)<br />

# vparmodify -p keira1 -a cpu:1/10 -a cpu:1/12<br />

(since the vpar is down, total is not modified.<br />

therefore, 2 of the 4 CPUs assigned by the<br />

Monitor<br />

become user-assigned by hardware_path (1.10 and<br />

1.12).<br />

total==4 (2 assigned by hardware path and<br />

2 assigned by Monitor))<br />

# vparmodify -p keira1 -a cell:1:cpu::1<br />

(since the specification is by CLP, total is<br />

modified.<br />

the Monitor chooses which CPU from cell 1.<br />

totat==5 (2 assigned by hardware path and<br />

2 assigned by Monitor and<br />

1 assigned by CLP))<br />

# vparboot -p keira1<br />

assume I/O and memory have been assigned so that<br />

keira1<br />

can boot. at boot time:<br />

min==1, max==12<br />

user-assigned CPU is 1.10<br />

boot processor is chosen by Monitor to be the<br />

other<br />

user-assigned CPU at 1.12<br />

2 CPUs assigned by Monitor are 0.10 and 0.11<br />

1 CPU assigned by the Monitor by CLP is 1.11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!