Solved

Automatic server startup / shutdown

Posted on 2008-10-15
4
467 Views
Last Modified: 2013-12-16
I want my linux server to automatically shutdown at some specific time and start again based on time specified. The intention here is to save the power in night time. I know there are some options available to control the power used by monitor, HDD etc but have not analyzed how much power will be saved on that.
0
Comment
Question by:gourav_jain
  • 2
4 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 125 total points
ID: 22728421
If your network card supports WoL (Wake on LAN) then configure the BIOS to do that and (of course, test) then I would probably suggest a small shell script running the shutdown command and run in a cron job should do the trick...
0
 
LVL 88

Expert Comment

by:rindi
ID: 22729176
Shutdown should be no problem, but getting the server to start automatically can cause problems. This depends on your BIOS. Some BIOS have the option to automatically start at a given time, but often that isn't available in servers.

If the server is from a big company like HP, then check if it already has, or can be upgraded with an ILO card (that's the HP/Compaq option, I don't know what other manufacturers have). This is a PCI card which is n fact a small PC complete with NIC, VGA, Keyboard and mouse input, and also an external power input. With these cards you can remotely control a server and turn it off and back on if necessary. This card uses a lot less power than the actual server.
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 22735099
If you can have ONE system available, then Wake on LAN should do the trick:
More information:
http://en.wikipedia.org/wiki/Wake-on-LAN
0
 
LVL 1

Author Closing Comment

by:gourav_jain
ID: 31506622
Its good idea of WoL, I went through the idea of WoL and its good and working for me.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to have a cron job run until a condition is met 12 66
Red Hat 7 Linux on Azure cannot run a command as root 22 43
open source backup solution 1 29
cannot rename datastore 3 48
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question