Solved

Automatic server startup / shutdown

Posted on 2008-10-15
4
465 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
Comment Utility
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 87

Expert Comment

by:rindi
Comment Utility
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
Comment Utility
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
Comment Utility
Its good idea of WoL, I went through the idea of WoL and its good and working for me.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now