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

Monitor and Shell Commands
Boot||Shut: Shutting Down or Rebooting a Virtual Partition
Chapter 5
131
Boot||Shut: 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 32), 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 112.
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
“Managing: Modifying Attributes of a Virtual Partition” on page 126.
For the -R and -r options of the shutdown and reboot commands, the virtual partition will
not reboot when there is a pending RFR (Reboot-for-Reconfig) 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 Virtual Partition” on page 150.
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.
There is no command to shutdown the Monitor. The Monitor command reboot (see
“Monitor: Using Monitor Commands” on page 103) applies to the entire hard partition,
causing the hard partition to reboot. For more information on how to shut down or reboot
the hard partition gracefully, see “Boot||Shut: Shutting Down or Rebooting the nPartition
(OR Rebooting the vPars Monitor)” on page 133.