
This article will describes how to shut down or reboot solaris Server.
Solaris is usually used as a server operating system which can be accessed at any time by the user.
Solaris is designed to run continuously so that the server can function correctly and service offered always be accessible.
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.
You can follow these steps to shut down or reboot solaris server:
Shut Down or Reboot Solaris Server
To Shutdown Solaris :
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
or
# poweroff
To Reboot Solaris :
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:
# reboot