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

Monitor and Shell Commands
Resetting a Hung Virtual Partition
Chapter 5132
Resetting a Hung Virtual Partition
Just as it is occasionally necessary to issue a hard reset (RS) or a soft
reset (TOC) for a non-vPars OS instance, it is occasionally necessary to
issue similar resets for a vPars OS instance.
Hard Reset
On a non-vPars hard partition, a hard reset cold boots the hard partition.
To issue a hard reset, the administrator types a CTRL-B at the console to
connect to the service processor and then types the command RS (reset),
at which time the hard partition cold boots.
On a vPars hard partition, a hard reset will reset the hard
partition--including the monitor and all the virtual partitions.
To simulate a hard reset on only a virtual partition, from a running
virtual partition, use vparreset with the -h option. For example, if
winona2 is hung, we can execute vparreset from the running partition
winona1:
winona1# vparreset -p winona2 –h
The –h option also inhibits the autoboot behavior (just like shutdown -h
does); therefore -hcan be used to break out of a reboot loop. Because
-hoverrides the autoboot setting for that virtual partition, the partition
must be manually restarted via vparboot (e.g, winona1# vparboot -p
winona2).
Other virtual partitions are unaffected when one virtual partition is
reset.
Soft Reset
On a non-vPars hard partition, a soft reset (TOC) allows HP-UX to
attempt to capture a state and potentially create a crash dump and then
the hard partition reboots. To issue a soft reset, the administrator types
a CTRL-B at the console to connect to a service processor and then types
the command TC (transfer of control).
On a vPars hard partition, a soft reset will take dumps of all the virtual
partitions
1
as well as the monitor image, and then the hard partition
reboots.