United States-English |
|
|
HP-UX Virtual Partitions Administrator’s Guide > Chapter 5 vPars Monitor and Shell CommandsOther Boot Modes |
|
In the same way you can boot a virtual partition into single-user mode (see “Single-User Mode”), you can boot a partition using other boot options. The general syntax is: From MON>MON> vparload -p <target_partition> <boot_options> 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). When troubleshooting LVM, you may need to enter into maintenance mode using the -lm option. For more information on maintenance mode, see the manual Managing Systems and Workgroups (11.11, 11.23) or HP-UX Systems Administrator’s Guide: Logical Volume Management (11.31), available at http://docs.hp.com. On a non-vPars server, you would boot the server into maintenance mode by executing the following: On a vPars server, you specify the same -lm option but as an argument to either the vPars 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 vPars Monitor prompt: MON> vparload -p winona2 -o "-lm" From HP-UX shell promptIn 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: 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 promptFrom the running virtual partition winona1, to boot winona2 overriding the quorum requirement: winona1# vparboot -p winona2 -o "-lq"
ExampleBelow are the steps to move the root disk of a single virtual partition. 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:
Before changing the hardware path of the boot device:
|
Printable version | ||
|