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

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 http://docs.hp.com.
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"
Other Boot Modes 163