Solved

Automatic server startup / shutdown

Posted on 2008-10-15
4
470 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 96

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 96

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 140
VPN, Squid-  unable to log https requests 5 107
http response code 3 37
PartedMagic Secure Erase 14 20
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

732 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