HP-UX Virtual Partitions Administrator's Guide (includes A.03.05 and A.04.05)

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 -B portion:
winona1# vparboot -p winona2
To boot winona2 using the alternate path:
winona2# vparboot -p winona2 -B alt
NOTE:
Setting a path using vparmodify requires the target virtual partition to be down; setboot
does not. However, setboot can change only the path(s) of the virtual partition from which
the setboot command is run (in other words, the local virtual partition).
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
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
Autoboot 159