Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Installing and Managing HP-UX Virtual Partitions (vPars) > Chapter 5 Monitor and Shell Commands

Setting and Booting a Partition Using Primary and Alternate Boot Paths

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You can set the primary and alternate boot paths of a virtual partition by using the HP-UX setboot command or the vPars BOOT and ALTBOOT attributes.

For more information on how setboot works on a vPars computer, see “System-wide Stable Storage and Setboot”. For more information on the I/O attributes, see vparresources(5) manpage.

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 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

Booting Using the Primary or Alternate Boot Paths

To boot winona2 using the primary path:

  • winona1# vparboot -p winona2 -B pri

However, because the primary boot path is the default, you can omit the -Bportion:

  • winona1# vparboot -p winona2

To boot winona2 using the alternate path:

  • winona2# vparboot -p winona2 -B alt

NOTE: You cannot specify pri or alt at the monitor prompt. However, because the primary boot path is the default, you can boot winona2 using the primary path using the following command:

MON> vparload -p winona2

If you want to boot winona2 using the alternate boot path, you can specify the hardware address for the alternate boot path. For example, to boot the virtual partition winona2 using the disk at 0/8/0/0.2.0:

MON> vparload -p winona2 -B 0/8/0/0.2.0

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.