HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)

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 vPars Monitor boots the virtual
partitions. Therefore, what can be in the LIF AUTO file is a boot string that boots the vPars Monitor.
Autobooting the vPars Monitor and Virtual Partitions
You can setup the vPars 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 vPars 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
Autoboot 161