HP vPars and Integrity Virtual Machines V6.1 Administrator Guide
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 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 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
NOTE: With portable image support in HP-UX 11i v3 March 2012, this constraint does not exist
any more. See the kctune gio_portable_image in the HP-UX Portable Image documentation
on the BSC website.
6.6 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, the -f (force) option is required with the command.
To remove a vPar named Oslo, run the following command:
vparremove -p Oslo -f
6.6.1 Removing and recreating a virtual partition
If you remove a vPar configuration, and recreate it using the vparcreate command, the newly
created vPar might have not have the same hardware paths for network and storage devices. This
could change the LAN instance number. In such a case, you must update the netconf file with
the new instance number. When the LAN instance number is incorrect, the network is inaccessible
and startup scripts will hang until they timeout.
6.6 Removing a virtual partition 67