IA: Example--Bringing a Standalone System to Run Level 0
In the following example, the init command is used to bring an IA based standalone system to the level where it is safe to turn off power.
# init 0 # INIT: New run level: 0 The system is coming down. Please wait. . . . The system is down. syncing file systems... [11] [10] [3] done Type any key to continue |
If you are bringing the system to run level 0 to turn off power to all devices, see "How to Turn Off Power to All Devices".
SPARC: Example--Bringing a Standalone System to Run Level S
In the following example, the init is used to bring a SPARC based standalone system to run level S (single-user level).
# init s # INIT: New run level: S The system is coming down for administration. Please wait. Unmounting remote filesystems: /vol nfs done. Print services stopped. syslogd: going down on signal 15 Killing user processes: done. INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal startup, (or give root password for system maintenance): xxx Entering System Maintenance Mode # |
Where to Go From Here
Regardless of why you shut down the system, you'll probably want to return to run level 3 where all file resources are available and users can log in. For instructions on bringing a system back to a multiuser level, see Chapter 13, SPARC: Booting a System (Tasks) or Chapter 14, IA: Booting a System (Tasks).
Turning Off Power to All Devices
You need turn off power to all system devices is when you do the following:
Replace or add hardware
Move the system from one location to another
Prepare for an expected power outage or natural disaster like an approaching electrical storm
System devices to power down include the CPU, the monitor, and external devices such as disks, tapes, and printers.
Before you turn off power to all system devices, you should shutdown the system cleanly, as described in the preceding sections.
How to Turn Off Power to All Devices
Select one of the following to shut down the system.
If shutting down a server, see "How to Shut Down a Server".
If shutting down a standalone system, see "How to Shut Down a Standalone System".
Turn off the power to all devices after the system is shutdown. If necessary, also unplug the power cables.
After power can be restored, use the following steps to turn on the system and devices.