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

Monitor and Shell Commands
Autobooting the Monitor and All Virtual Partitions
Chapter 5 127
Autobooting the Monitor and All 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:
BCH> pa pri 0/0/2/0.6.0
BCH> 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:
BCH> au on
3. The contents of the AUTO files of the primary and alternate boot disks
contain "hpux /stand/vpmon -a". (The -aoption of /stand/vpmon
boots all the virtual partitions that have the autoboot flag set.)
To set the contents of the AUTO file on the LIF, log into the virtual
partitions that own the primary and alternate boot disks,
respectively, 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:
winona1# mkboot -a "hpux /stand/vpmon -a"
/dev/rdsk/c2t6d0
and after logging into winona2 which owns the alternate boot disk at
0/8/0/0.5.0, execute:
winona2# mkboot -a "hpux /stand/vpmon -a"
/dev/rdsk/c1t5d0
4. The autoboot flag of all the virtual partitions is set to AUTO.
AUTO is the default. However, if you need to reset the autoboot flag to
AUTO: