Solved

Automatic server startup / shutdown

Posted on 2008-10-15
4
472 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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

724 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