LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2014, 05:43 PM   #1
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Saving power by hibernating server.


Hey all,

So I have an idea to help save power. Currently I have a HP microserver running windows server that acts as a File and web server. Although it is cheep to run ($4.5 a month) I was thinking a fun idea would be to have it hibernate when its not in use. The server does wake with a magic packet but I want to go more automated than that. So this is where Linux can come in handy...

My thought is to use a rasp pi to be a middle man that is always running (Uses much less power than the microserver). Anyway this is where my networking skills ends. I want to use the pi as a queue, It can receive packets destined to the microserver and check if it is awake and if not send a magic packet. The whole idea is to auto wake the computer when a incoming packet is meant to go to the microserver.

Since the computer takes around 30 seconds to resume I hope to have the pi "hold" these packets until it is awake and than send those packets to the microserver once it is up again. I would hope that in this process what ever is trying to access the server would not drop the connection due to time out.

So an ideal solution would be someone tries to access a page or file from the server. It idles while the server becomes live and from there it is as if the server has been on the whole time.

Some side notes is my router (asus rt-ac68) does run a Linux kernel so I may be able to do some networking tricks there.

If anyone has any ideas if this is even remotely possible and/or what needs to happen I would like to hear.

Thanks for reading!
 
Old 03-19-2014, 03:40 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,892

Rep: Reputation: 163Reputation: 163
If you can write a program, it is very easy to do it.
 
Old 03-19-2014, 09:18 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,228

Rep: Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651
The router does have some features to wake lan systems and shares and such. If it is what I think, it has usb 3.0 ports. I'd move/mirror that data to some flash drives or external drives.

Seems to me that some of the more advanced servers power down pretty far though bios features/settings and OS support. Only the lan may be up but have a buffer to allow faster resumes. Not sure adding in a pi would help a whole lot to the total energy footprint.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
power saving issues with web server linuxmandrake Linux - Server 7 03-08-2008 10:35 PM
Ubuntu: Power saving server robbe751 Linux - Software 1 04-12-2007 08:52 PM
Power-saving power extension cables? (UK) neocookie General 3 03-28-2007 03:53 PM
Saving power on a samba server Tortanick Linux - General 3 02-13-2007 03:24 AM
Power saving Sigmund Gudvang Linux - General 1 08-31-2002 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration