HP-UX vPars and Integrity VM V6.3 Administrator Guide

NOTE: This command functions only when the guest OS is running, and only if the guest OS is
capable of responding to the graceful shutdown request. This command only initiates the graceful
shutdown operation, it does not consequently report failure if the OS fails to gracefully shutdown.
The preferred method for stopping a vPar is to log in to it, stop all the applications, and then run
the /etc/shutdown -h command.
If the OS of a vPar becomes unresponsive, there is no prompt neither from a network connection
nor through the virtual console (vparconsole). In such a situation, you must manually reset the
partition. When a vPar is unresponsive, instead of shutting down the vPar, you can reset or restart
the vPar. To recover a vPar that is unresponsive, you can use the vparreset command.
CAUTION: When the vparreset command is used accidentally, serious consequences can
occur. Hence, the -f (force) option is required with this command.
You can perform any of the following reset operations.
Hard reset
The hard reset is equivalent to specifying RS command in the management processor. You must
only do a hard reset if you cannot get the OS to issue its own reboot or shutdown process. The
vPar restarts 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. Hence, HP recommends shutting
down the vPar from the vPar using the shutdown command.
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 to debug the problem that caused the unresponsiveness. The -t option is used for
a soft reset. The vPar 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
10.6 Removing a vPar
When you want to permanently delete a vPar, you can use the vparremove command. The vPar
must be in the DOWN run-state before you delete the vPar. To bring a vPar to the DOWN run-state,
160 Administering vPars