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

Monitor and Shell Commands
Shutting Down or Rebooting a Virtual Partition
Chapter 5118
Shutting Down or Rebooting a Virtual
Partition
A virtual partition can be gracefully shut down or rebooted via the
HP-UX command shutdown. To ensure that the partition database is
synchronized (see “vPars Partition Database” on page 38), execute the
vparstatus command prior to executing the shutdown command.
Examples To shutdown the virtual partition winona1:
winona1# vparstatus
winona1# shutdown -h
After winona1 is shutdown, the virtual partition is in the down state.
For more information, see “Virtual Partition States” on page 129.
To reboot the virtual partition winona1:
winona1# vparstatus
winona1# shutdown -r
NOTE If a virtual partition has its autoboot attribute set to MANUAL, the virtual
partition will only halt and will not reboot when the command shutdown
-r (or reboot -r) is given. For more information on the virtual partition
attributes, see the vparmodify (1M) manpage and “Modifying Attributes
of a Virtual Partition” on page 139.
For the -R and -r options of the shutdown and reboot commands, the
virtual partition will not reboot when there is a pending reboot for
reconfiguration (RFR) until all the virtual partitions within the
nPartition have been shutdown and the vPars monitor has been
rebooted. Also, the requested reconfiguration will not take place until all
the virtual partitions have been shutdown and the vPars monitor has
been rebooted.
When you need to force a non-graceful shutdown, such as when a
partition appears hung, use vparreset. See “Resetting a Hung Virtual
Partition” on page 132.
The shell commands shutdown and reboot apply only to the OS instance
of the virtual partition from which they are executed and do not shut
down or reboot any other virtual partitions or the vPars monitor.