Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any drawback hibernating - database - servers during night and the weekend? We think that it is a good way to save machines and power.

Is it possible that daily hibernation can be harmful for machines hardware?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I think you'd need to identify specific reasons to choose hibernation over a regular system shutdown before it would make sense. Hibernation was introduced primarily for laptops, where being able to power down yet keep the user session state has significant value. But ideally servers should be able to shut down fully, then start up on a fresh boot without having lost anything of value.

An alternative approach to conserving power is the power efficiency of your servers. There are big potential gains here. Servers made by Dell, IBM and HP in the last 2 years give vastly greater power efficiency over their predecessors, because of a general shift to 'green' datacenter technologies. One of our HP G5 servers (2007) draws 400W under regular load to run a single 2008 instance, whereas one of our G6 servers (2009) is running 70 virtual machines and barely drawing 180W.

Another Alternative - If you're virtualized, you can also benefit from cluster power management solutions like Insight Power Manager. There are plugins available that can dynamically power on/off VM host servers to meet demand, so when you systems go quiet in the evening, a bunch of the servers that run them will shut down. When things pick up in the morning the servers will come back online. This is a much more elegant solution if you're looking to save power across more than a handful of machines.

On the subject of whether daily power cycles of your servers might be bad for the hardware - I couldn't find too much data on the subject but there are good reasons to suspect you will have problems. Disks tend to fail during spin-up, and it seems to be due to the material it's made of expanding and contracting under changing temperatures (powered on vs powered off). Repeat this expansion and contraction enough times and the drive fails. I suspect this is why laptop drives fail most regularly, not because they're moved around, but because they're frequently power-cycled, and tend to run closer to hot components.

The reliability issue is another reason why the virtualization solution may be a better fit - host servers can boot from an SD card and have no disks, therefore won't suffer from this problem.

Here's the G6 server I mentioned:

HP DL360 G6

Here's the G5 (rebooted this evening, so only partial graph):

HP DL360 G5

share|improve this answer
    
Thanks Chris, in our case we are talking about real server not VM. We use hibernation because we can use WOL in the morning to wake-up the server. I appreciate your comments, btw does it really make sense to keep a machine + UPS at work for 48H when for sure nobody needs them? –  Alberto Sep 5 '11 at 12:12
    
It's a great question. I've found that here in NZ, power cost is so low vs labor cost that there's limited financial gain in saving power, if the time investment is beyond trivial. That's kinda sad, but a business reality for us. on the other hand, we have clients across the Asia Pacific region in areas with unreliable/expensive power infrastructure. Powering down outside office hours makes sense from financial AND practical perspectives for them. –  Chris Thorpe Sep 5 '11 at 12:16
    
Also, we found that a server typically draws 150 to 400W, yet a desktop plus monitors will draw 200-450W per seat. We have more desktops than servers, so there's greater savings in focusing on the workstations. You may be interested in this great paper from Intel. –  Chris Thorpe Sep 5 '11 at 12:19
    
What about machine hardware, drives, fans, UPS, etc.? If you switch off everything you save the machine's components life. A machine can last the double of the years... –  Alberto Sep 5 '11 at 13:05
    
Difficult to argue, even on specifics. Components that don't move will not wear out through use, therefore turning them off accomplishes nothing. Whether a UPS battery lasts longer being discharged regularly, or constantly fully charged, depends entirely on the battery type (and current research). As I said about drives, the cooling/heating cycle that occurs when you power down and power on hard drives may cause them to fail faster than if they had been running continuously. –  Chris Thorpe Sep 5 '11 at 13:12

Not necessarily harmful, but huge performance speed-bump when awaking from hibernation. You might take a look at spinning down the hard drives or maybe even placing the system into Sleep as possible alternatives.

share|improve this answer
1  
On Windows Server 2008 isn't hibernation equal to sleep? –  Alberto Sep 5 '11 at 12:15
    
I have not looked at it in detail to be honest (if the 2008 version somehow muddied up the terms), but "hibernation" is saving the memory state, then powering down the system - while "sleep" is going into a lower power mode with all supporting components (typically cpu and memory) or powering them down (typically hard drive, fans, etc.), then suspending processing. –  user48838 Sep 5 '11 at 18:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.