HP-UX Virtual Partitions Administrator Guide (includes A.05.07) (5900-1229, September 2010)

Setting the Primary or Alternate Boot Paths
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 setboot
Because setboot affects only the virtual partition from which you execute the command, execute
these commands from winona2.
To set the primary boot path:
winona2# setboot -p 0/8/0/0.5.0
To set the alternate boot path:
winona2# setboot -a 0/8/0/0.2.0
Using vparcreate
Within the vparcreate command, you can specify the primary or alternate boot paths with
the BOOT and ALTBOOT attributes:
To set the primary boot path:
winona1# vparcreate -p winona2 -a io:0.8.0.0.5.0:BOOT
To set the alternate boot path:
winona1# vparcreate -p winona2 -a io:0.8.0.0.2.0:ALTBOOT
Or to set both the primary and alternate boot paths on the same command line:
winona1# vparcreate -p winona2 -a io:0.8.0.0.5.0:BOOT -a io:0.8.0.0.2.0:ALTBOOT
Using vparmodify
If 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 set the primary boot path:
winona1# vparmodify -p winona2 -a io:0.8.0.0.5.0:BOOT
To set the alternate boot path:
winona1# vparmodify -p winona2 -a io:0.8.0.0.2.0:ALTBOOT
Or to set the primary and alternate boots paths on the same command line:
winona1# vparmodify -p winona2 -a io:0.8.0.0.5.0:BOOT -a io:0.8.0.0.2.0:ALTBOOT
164 vPars Monitor and Shell Commands