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

Monitor and Shell Commands
Boot||Shut: Autoboot
Chapter 5
143
Boot||Shut: Autoboot
The AUTO File on a Virtual Partition
On a non-vPars server, the LIF’s AUTO file on the boot disk can contain a boot string that includes boot options,
such as -lq for booting without quorum, or a boot kernel path, such as /stand/vmunix.other for booting an
alternate kernel (for 11i v2 systems, alternate kernels are in /stand/alternate_config/). The AUTO file can
be changed either through LIF shell commands or mkboot.
However, on a vPars server, the LIF’s AUTO file is read only on server bootup; for example, the AUTO file might
contain "hpux /stand/vpmon" (PA-RISC) or “boot vpmon” (Integrity), which causes the vPars Monitor to be
booted when the server is booted. The AUTO file is not read when a virtual partition is booted.
To simulate the AUTO file effect when a partition is booted, you can modify the boot options and boot path
entries in the vPars partition database via vparmodify:
Examples
On a non-vPars server, to change the AUTO file to use the boot options -lq, the command is:
PA-RISC: # mkboot -a "hpux -lq"
raw_device_file
—Integrity: # mkboot -a “boot vmunix -lq”
raw_device_file
On a vPars server, to get the same effect when the partition winona2 is booted, modify the partition
database using -o (boot options):
# vparmodify -p winona2 -o "-lq"
On a non-vPars server, to change the AUTO file to use a different kernel, the command is:
PA-RISC: # mkboot -a "hpux /stand/vmunix.other"
raw_device_file
—Integrity: # mkboot -a “boot /stand/vmunix.other”
raw_device_file
On a vPars server, to get the same effect when the partition winona2 is booted, modify the partition
database using -b (boot path):
# vparmodify -p winona2 -b "/stand/vmunix.other"
NOTE For HP-UX 11i v2 (11.23) systems, alternate kernels are in /stand/alternate_config/
On a vPars server, the HP-UX command mkboot does modify the LIF’s AUTO file. However, on a vPars server,
what is booted initially is the vPars Monitor; then the Monitor boots the virtual partitions. Therefore, what
can be in the LIF AUTO file is a boot string that boots the Monitor.