Solaris is the UNIX-based operating system of Sun Microsystems with roots in the BSD operating system family. Up to the version 3.x this operating system was called SunOS, this name was kept into the internal release information of current Solaris versions. The first version of SunOS was published in 1982. With the version 4.0 the new product name Solaris was introduced for SunOS releases as of 1989. The operating system Solaris 2.0 (SunOS 5.0) basing on the UNIX system V release 4 was published in July 1992.
In this article I will show how to shutdown and reboot Solaris server.
However, some system administration tasks and emergency situations require a closed system to a level where it is safe to remove power.
In some cases, the system should be brought to an intermediate level, where not all system services are available.
Such cases include the following:
- a) Add or remove hardware
b) Preparing for the unexpected power outage
c) Running the file system maintenance, such as backup
In Solaris or Linux, taking down the operating system in an orderly fashion is important as there are critical data in it.
Therefore, as a system administrator you must always want to make sure that you shut the system down as gracefully as possible to ensure there isn’t any data loss.
Shutdown and Reboot Solaris Server
Follow the below steps to shutdown and reboot Solaris server.
Shutdown Solaris Server
To shutdown the system to the state that is defined by the initdefault entry in the /etc/inittab file, type the following command.
# sync;sync;init 5
Reboot Solaris Server
To reboot the system to the state that is defined by the initdefault entry in the /etc/inittab file, type the following command.
# sync;sync;init 6
On a SPARC based system, type the following command.
# reboot -f
On an x86 based system, type either of the following commands.