Operating System Boot and Shutdown
Shutting Down HP-UX
Appendix A
193
Shutting Down HP-UX
When HP-UX is running on an nPartition, you can shut down HP-UX using the shutdown command.
On nPartitions you have the following options when shutting down HP-UX:
• To shut down HP-UX and reboot an nPartition: shutdown -r
On nPartition-capable HP Integrity servers, the shutdown -r command is equivalent to the shutdown -R
command.
• To shut down HP-UX and halt an nPartition: shutdown -h
On nPartition-capable HP Integrity servers, the shutdown -h command is equivalent to the shutdown -R
-H command.
• To perform a reboot for reconfig of an nPartition: shutdown -R
• To hold an nPartition at a shutdown for reconfig state: shutdown -R -H
For details refer to the shutdown (1M) manpage.
NOTE On HP rx7620 servers and rx8620 servers you can configure the nPartition behavior when an
OS is shutdown and halted (shutdown -h or shutdown -R -H). The two options are to have
hardware power off when the OS is halted, or to have the nPartition be made inactive (all cells
are in a boot-is-blocked state).
The normal behavior for HP-UX shutdown and halt is for the nPartition be made inactive.
For details see “ACPI “Softpowerdown” Configuration—rx7620 and rx8620 OS Shutdown
Behavior” on page 174.
Shutting Down HP-UX [/sbin/shutdown command]
From the HP-UX command line, issue the shutdown command to shut down the HP-UX operating
system.
Step 1. Login to HP-UX running on the nPartition that you want to shut down.
You can login to HP-UX on the nPartition either by directly connecting (with the telnet or rlogin
commands) or by logging in to the service processor (GSP or MP) for the complex where it resides
and using the Console menu to access the nPartition console.
Accessing the console through the service processor allows you to maintain console access to the
nPartition after HP-UX has shut down.
Step 2. Issue the shutdown command with the appropriate command-line options.
The command-line options you specify dictate the way in which HP-UX is shut down, whether the
nPartition is rebooted, and whether any nPartition configuration changes (adding or removing
cells) take place.
Use the following list to choose an HP-UX shut down option for your nPartition.
• Shut down HP-UX and halt the nPartition.