To Shut down the server. Do the Maintainance and Start Up the server

Hello All

I just want to know how to Shut Down the Solaris Machines( Servers ) for Maintainance and then Start Up the Machines ( Servers ) .

I think I will have to Log In as root to do that .

Also how do i Check if all the services running on that server before shut down are running again after the Start Up

what version of OS you are running ? execute uname -a and post the output.

Yes you have to logging as root to take to system into the maintenance mode .

uname -a
SunOS sbuatsvr385a 5.10 Generic_125100-10 sun4v sparc SUNW,Sun-Fire-T200

What kind of maintenace do you do?

patching (single user mode)

  • go to the console and boot in single user mode (init 1, shutdown -y -g0 -i1)
  • after the installation do a reboot or a shutdown -y -g0 -i6

or change faulty parts

  • go to the console and bring the box down with init 0 (5) or shutdown -y -g0 -i0 (5)
  • just switch it on

cd /
sync;sync;sync
init S
OR
cd /
sync;sync;sync
init 0
from the ok> prompt

ok>boot -sw

Hi All i usually using
#reboot for rebooy system

and
#poweroff to shutdown

what that i do is right or not make server problem?

Thanks

We cant help you on this. your system admin or yourself should know what to check for.