| United States-English |
|
|
|
![]() |
Installing and Managing HP-UX Virtual Partitions (vPars) > Chapter 5 Monitor
and Shell CommandsSetting and Booting a Virtual Partition Using Primary and Alternate Boot Paths |
|
You can set the primary and alternate boot paths of a virtual partition by using the HP-UX setboot command or the vPars command vparmodify and the BOOT and ALTBOOT attributes. For more information on how setboot works on a vPars server, see “System-wide Stable Storage and Setboot”. For more information on the I/O attributes, see vparresources(5) manpage. In the examples below, suppose you want the virtual partition winona2 to have its primary boot disk at 0/8/0/0.5.0 and its alternate boot path at 0/8/0/0.2.0. Using setbootBecause setboot affects only the virtual partition from which you execute the command, execute these commands from winona2.
Using vparcreateWithin the vparcreate command, you can specify the primary or alternate boot paths with the BOOT and ALTBOOT attributes:
Using vparmodifyIf the virtual partitions are created already, you can specify the primary or alternate boot paths with the BOOT and ALTBOOT attributes within the vparmodify command:
To boot winona2 using the primary path:
However, because the primary boot path is the default, you can omit the -Bportion:
To boot winona2 using the alternate path:
The vPars database and the nPartition complex profile are entirely separate. Therefore, a change in the vPars database does not change any complex profile data. A change in the primary or alternate paths in the vPars database does not change the primary or alternate paths in the complex profile. To change the primary or alternate paths for both a virtual partition and its nPartition, you must change the paths for each separately. ExampleSuppose a vparstatus output of winona1 showed the alternate boot path to be 0/0/6/0/0.6.0 (irrelevant output omitted): winona2# vparstatus -p winona1 -v and its nPartition showed the nPartition's alternate path to be 2/0/14/0/0.6.0: winona2# parstatus -p0 -V To change winona1's alternate boot path to the boot disk at 0/0/6/0/0.4.0, run the command: winona2# vparmodify -p winona1 -a io:0.0.6.0.0.4.0:ALTBOOT vparstatus now shows: winona2# vparstatus -p winona1 -v but note that the nPartition's alternate path has not changed: # parstatus -p0 -V To change the nPartition's alternate path to 0/0/6/0/0.4.0, run the command: winona2# parmodify -p0 -t 0/0/6/0/0.4.0 The nPartition's alternate path has now changed: winona2# parstatus -p0 -V |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||