Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Virtual Partitions Administrator’s Guide > Chapter 5 vPars Monitor and Shell Commands

Resetting a Virtual Partition

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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 hard partition not running vPars, 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 hard partition running vPars, a hard reset will reset the hard partition--including the vPars 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 -h can be used to break out of a reboot loop. Because -h overrides 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 hard partition not running vPars, 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 hard partition running vPars, a soft reset will take dumps of all the virtual partitions[2] as well as the vPars Monitor image, and then the hard partition reboots.

To simulate a soft reset on only one virtual partition, from a running partition, use vparreset with the -t (for TOC) option. For example, if winona2 is hung, we can execute vparreset from the running partition winona1:

winona1# vparreset -p winona2 -t

The target virtual partition either shuts down or reboots according to the setting of the autoboot attribute of that virtual partition.

Other virtual partitions are unaffected when one virtual partition is reset.

NOTE: Unlike the RS and TC commands, the vparreset command also displays Processor Information Module (PIM) data unless the -q option is specified.

On Superdome, when there is a pending Reboot for Reconfiguration, the target virtual partition will not be rebooted until all the virtual partitions within the nPartition are shut down and the vPars Monitor is rebooted.



[2] See note titled “Kernel Dumps”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.