Best Method To Reboot Remote Linux / Windows / UNIX Server

by on May 26, 2008 · 1 comment· LAST UPDATED May 26, 2008

in , ,

Q. I've couple of Linux / Windows server hosted in remote data center? My ISP provides following option for rebooting the box:
a) Graceful shutdown command
b) An IPMI reboot
c) A power strip

Which one is the best way to reboot server and why?

A. For UNIX like system shutdown command is the best way to reboot system in a safe way. Whey you issue graceful shutdown command all logged-in users are notified that the system is going down and, within the last five minutes of TIME (if time is specified), new logins are prevented. Shutdown / reboot procedure will stop all services and unmount the file system. Login as root and type the command:
# shutdown -r +5
# shutdown -r now

An IPMI reboot or a power strip should be only use when server is not responding to ssh / login / console requests. Modern IPMI implementation try to reboot gracefully using ACPI, but it is best to use console login. Usually it may take 3-5 minute to come back online. If you are using Windows use shutdown command or usual start > shutdown method.

You can always monitor your reboot procedure using KVM over IP / IPMI client.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 1 comment… read it below or add one }

1 Moataz Eljaky March 31, 2013 at 5:43 am

PLz , i need your support to guide me how to shutdown linux machine remotly using shutdown command ?

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , ,

Previous Faq:

Next Faq: