HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
From HP-UX shell prompt
From the HP-UX shell prompt of another virtual partition, specify the -o option with the vparboot
command:
winona1# vparboot -p winona2 -o "-is"
Example: A Hung Partition
If you wish to boot a virtual partition using vparboot into single-user mode, it must be in the down
state. If you find a virtual partition is instead in the hung state, perform the following before executing
the vparboot:
1. Turn off autoboot for the target partition:
winona1# vparmodify -p winona2 -B manual
2. Attempt to reset the target partition with the -t option (soft reset):
winona1# vparreset -p winona2 -t
3. If it still appears to be hung, reset it with the -h option (hard reset):
winona1# vparreset -p winona2 -h
4. Continue verifying the state until vparstatus shows that winona2 is in the down state:
winona1# vparstatus -p winona2 -v | grep -E "Name|State"
Name: winona2
State: down
5. Because the virtual partition is now in the down state, you can boot the virtual partition into
single-user mode using vparboot:
winona1# vparboot -p winona2 -o “-is”
NOTE: After you have finished with single-user mode and if you want to turn autoboot back on,
the command is:winona1# vparmodify -p winona2 -B auto
For information on using vparreset, see “Resetting a Virtual Partition” (page 166).
Other Boot Modes
In the same way you can boot a virtual partition into single-user mode (see “Single-User Mode”
(page 162)), 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 manual Managing Systems and Workgroups
(11.11, 11.23) or HP-UX Systems Administrator’s Guide: Logical Volume Management (11.31),
available at www.hp.com/go/hpux-core-docs.
On a non-vPars server, you would boot the server into maintenance mode by executing the following:
Other Boot Modes 163