Installing and Managing HP-UX Virtual Partitions (includes A.04.01)

Monitor and Shell Commands
Boot||Shut: Autoboot
Chapter 5
141
Autobooting the vPars Monitor and Virtual Partitions
You can setup the Monitor and all virtual partitions to boot automatically at power up. To do this, make sure
the following four conditions are met:
1. The hard partition’s primary and alternate boot paths point to the boot disks of different virtual
partitions.
For example, to set the primary and alternate boot paths at BCH or EFI:
pa pri 0/0/2/0.6.0
pa alt 0/8/0/0.5.0
2. The autoboot flag in stable storage is set to ON.
To set the autoboot flag to ON at BCH or EFI:
auto on
3. The contents of the AUTO files of the primary and alternate boot disks contain the boot string for
booting the Monitor. The -a option of /stand/vpmon boots all the virtual partitions that have the
autoboot flag set.
PA-RISC: "hpux /stand/vpmon -a”
—Integrity: “boot vpmon -a”
To set the contents of the AUTO file on the LIF, log into the virtual partitions that own the primary and
alternate boot disks, and execute the mkboot -a command:
For example, after logging into winona1 which owns the primary boot disk at 0/0/2/0.6.0, execute:
PA-RISC: winona1# mkboot -a "hpux /stand/vpmon -a" /dev/rdsk/c2t6d0
—Integrity: winona1# mkboot -a "boot vpmon -a" /dev/rdsk/c2t6d0
and after logging into winona2 which owns the alternate boot disk at 0/8/0/0.5.0, execute:
PA-RISC: winona1# mkboot -a "hpux /stand/vpmon -a" /dev/rdsk/c1t5d0
—Integrity: winona1# mkboot -a "boot vpmon -a" /dev/rdsk/c1t5d0
4. The autoboot flag of all the virtual partitions is set to AUTO. If applicable and desired, set the autosearch
flag of all the virtual partitions to SEARCH.
AUTO is the default. However, if you need to reset these values to AUTO:
winona1# vparmodify -p winona1 -B auto
winona1# vparmodify -p winona2 -B auto
winona1# vparmodify -p winona3 -B auto
SEARCH is not the default value. If you wish to set the autosearch attribute to SEARCH:
winona1# vparmodify -p winona1 -B search
winona1# vparmodify -p winona2 -B search
winona1# vparmodify -p winona3 -B search