HP-UX Virtual Partitions Administrator Guide (includes A.05.07) (5900-1229, September 2010)

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 quorum requirements,
see the manual Managing Systems and Workgroups (11.11, 11.23) or HP-UX Systems Administrator’s
Guide: Logical Volume Management (11.31),.
On a non-vPars server, you would boot overriding quorum using:
hpux -lq
On a vPars server, you can execute either of the following:
From MON>
From the vPars Monitor prompt, to boot winona2 overriding the quorum requirement:
MON> vparload -p winona2 -o "-lq"
From HP-UX shell prompt
From the running virtual partition winona1, to boot winona2 overriding the quorum
requirement:
winona1# vparboot -p winona2 -o "-lq"
NOTE: Specifying the boot options from the command line only affects the current boot.
On a non-vPars server, to have a server permanently boot with the -lq option, you would put
"hpux -lq" (PA-RISC) or "boot vmunix -lq" (Integrity) in the LIF AUTO file. On a vPars
server, to have a partition boot with the -lq option, you would simulate the AUTO file usage by
entering the -lq option into the partition database. See “The AUTO File on a Virtual Partition”
(page 167).
Changing the LVM Boot Device Hardware Path for a Virtual Partition
Example
Below are the steps to move the root disk of a single virtual partition.
Verification
These instructions require that the virtual partition be constrained in the following way: the
logical volume used for the primary swap device must be on the boot device; in other words,
boot and swap must be on the same disk device.
This can be verified by the following steps:
1. Run lvlnboot.
lvlnboot -v /dev/vg00
2. Examine the output to identify the “Boot” and “Swap” logical volumes. For example:
Boot: lvol1 on: /dev/dsk/c1t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
172 vPars Monitor and Shell Commands