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

Monitor and Shell Commands
Boot||Shut: Other Boot Modes
Chapter 5
147
Boot||Shut: Other Boot Modes
In the same way you can boot a virtual partition into single-user mode (see “Boot||Shut: Single-User Mode”
on page 146), you can boot a partition using other boot options. The general syntax is:
From MON>
MON> vparload -p <target_partition> <boot_options>
or
From HP-UX shell prompt
<active_partition># vparboot -p <target_partition> -o "<boot_options>"
Examples, including using maintenance mode with LVM and overriding quorum with Mirror-UX, are
shown below. For more information on all the boot options, see the manpage hpux (1M).
Maintenance Mode
When troubleshooting LVM, you may need to enter into maintenance mode using the -lm option. For more
information on maintenance mode, see the book “Managing Systems and Workgroups.
On a non-vPars server, you would boot the server into maintenance mode by executing the following:
ISL> hpux -lm
On a vPars server, you specify the same -lm option but as an argument to either the Monitor vparload
command or as a -o option to the shell vparboot command.
For example, if the partition winona2 is down, to boot winona2 into maintenance mode:
From MON>
From the Monitor prompt:
MON> vparload -p winona2 -o "-lm"
From HP-UX shell prompt
From the running partition winona1:
winona1# vparboot -p winona2 -o "-lm"
Overriding Quorum
In LVM, when the root disk is mirrored, the server can only activate the root volume group, which contains
the OS instance, when the majority of the physical volumes in a root volume group are present at boot time.
This is called establishing a quorum. Sometimes, you may want to boot an OS instance regardless of whether
a quorum is established. You can override the quorum requirement by using the -lq option. For more
information on quorums, see the book "Managing Systems and Workgroups."
On a non-vPars server, you would boot overriding quorum using:
hpux -lq
On a vPars server, you can execute either of the following: