HP-UX Virtual Partitions 6.0 Administrator Guide

Hard reset
The hard reset is equivalent to specifying RS command in the management processor. You should
only do a hard reset if you cannot get the OS issue its own reboot or shutdown process. The virtual
partition will be restarted after the hard reset.
To hard reset a vPar named Oslo, run the following command:
vparreset -f -p Oslo -h
Power off
The power off option -d is useful to break out of a reboot loop, that is, when you do not want the
vPar to be rebooted. In such a case, you must manually restart the vPar using the vparboot
command.
To power off a vPar named Oslo, run the following command:
vparreset -f -p Oslo -d
IMPORTANT: In the case of both hard reset and power-off, the operating system of the vPar is
abruptly shut down and the crash dump of the OS is not saved. HP recommends shutting down
the vPar from within the vPar using the shutdown command. Use the -t (soft reset) option only
if you have to do it from the VSP.
Soft reset (transfer of control - TOC)
When you do not specify any option with the vparreset command, a soft reset is performed by
default. In a soft reset, the crash dump of the OS running on the vPar is saved. This enables the
HP engineers debug the problem that caused the unresponsiveness. The -t option is used for a
soft reset. The virtual partition is restarted after the soft reset is issued.
To soft reset a vPar named Oslo, run the following command:
vparreset -f -p Oslo
OR
vparreset -f -p Oslo -t
Shutdown
When a vPar must be completely shut down and not be rebooted, the -g option can be used. You
can issue a graceful shut down to the OS by using the vparreset command. The HP-UX OS
responds to a graceful shutdown request when you perform the reboot -h operation.
To shut down a vPar named Oslo, run the following command:
vparreset -f -p Oslo -g
Removing a virtual partition
When you want to permanently delete a virtual partition, you can use the vparremove command.
The vPar must be in the DOWN run-state before you can delete the vPar. To bring a vPar to the
DOWN run-state, you can either power down (vparreset command with -d option) the vPar
or shutdown the vPar (vparreset command with -g option).
NOTE: The preferred method for stopping a vPar is to log in to it, stop all the applications, and
then issue the /etc/shutdown -h command.
CAUTION: When the vparremove command is used accidently, serious consequences can
occur. Hence, it is safe to use the -f (force) option with the command.
To remove a vPar named Oslo, run the following command:
Removing a virtual partition 43