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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using Primary and Alternate Paths with n<strong>Partitions</strong><br />

The vPars database and the nPartition complex profile are entirely separate. Therefore, a change<br />

in the vPars database does not change any complex profile data.<br />

A change in the primary or alternate paths in the vPars database does not change the primary<br />

or alternate paths in the complex profile. To change the primary or alternate paths for both a<br />

virtual partition and its nPartition, you must change the paths for each separately.<br />

NOTE: For an EFI system, the above is true even if you use parmodify to change the paths.<br />

parstatus will show them as set; however, once the system is booted into nPars mode, those<br />

changes by parmodify are not retained.<br />

Example<br />

Original Status:<br />

Suppose a vparstatus output of keira1 showed the alternate boot path to be 0/0/6/0/0.6.0<br />

(irrelevant output omitted):<br />

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

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

Name: keira1<br />

State: Down<br />

Attributes: Dynamic,Autoboot<br />

.<br />

.<br />

.<br />

[IO Details]<br />

0.0.6<br />

0.0.6.0.0.5<br />

0.0.0<br />

0.0.4<br />

0.0.2<br />

0.0.6.0.0.5.0 BOOT<br />

0.0.6.0.0.6.0 ALTBOOT<br />

and its nPartition showed the nPartition’s alternate path to be 2/0/14/0/0.6.0:<br />

keira2# parstatus -p0 -V<br />

[Partition]<br />

Partition Number : 0<br />

Partition Name : npar0<br />

Status : active<br />

IP address : 0.0.0.0<br />

PrimaryBoot Path : 0/0/6/0/0.5.0<br />

Alternate Boot Path : 2/0/14/0/0.6.0<br />

HA Alternate Boot Path : 0/0/6/0/0.5.0<br />

.<br />

.<br />

.<br />

Changing the <strong>Virtual</strong> Partition’s Path (vPars Partition Database)<br />

To change keira1’s alternate boot path to the boot disk at 0/0/6/0/0.4.0, run the command:<br />

keira2# vparmodify -p keira1 -a io:0.0.6.0.0.4.0:ALTBOOT<br />

vparstatus now shows:<br />

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

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

Name: keira1<br />

State: Down<br />

Attributes: Dynamic,Autoboot<br />

Kernel Path: /stand/vmunix<br />

Using Primary and Alternate Boot Paths 165

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

Saved successfully!

Ooh no, something went wrong!