Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

When Does Powering Down Servers Make Sense?

Posted by timothy on Thu Oct 30, 2008 02:35 PM
from the after-coffee-is-served-of-course dept.
snydeq writes "Powering down servers to conserve energy is a controversial practice that, if undertaken wisely, could greatly benefit IT in its quest to rein in energy costs in the datacenter. Though power cycling's long-term effects on server hardware may be mythical, its effects on IT and business operations are certainly real and often detrimental. Yet, development, staging, batch processing, failover — several server environments seem like prime candidates for routine power cycling to reduce datacenter energy consumption. Under what conditions and in what environments does powering down servers seem to make the most economic and operational sense, and what tips do folks have to offer to those considering making use of the practice?"
+ -
story

Related Stories

[+] IT: IT Vs. the Permanent Energy Crisis 285 comments
snydeq writes "Organizations looking to remain profitable in the face of escalating energy costs may lean even harder on IT to achieve energy efficiencies in the years to come, InfoWorld reports. But instead of limiting IT's efficiency role to the datacenter, companies will tap IT's vast knowledge of company networks, equipment, and work processes to uncover efficiencies across the organization, in some cases tipping facilities management into IT. 'There is a lot IT can do to fix its own 2 percent [of the company's carbon emissions] and make it more efficient, but the big opportunity for IT is to take a leadership role in tackling that other 98 percent across the business,' says one analyst. And by taking charge of the organization's energy strategy now, IT will be in prime position to alter its relationship with management and reap benefits in the boardroom in the years ahead, analysts contend."
[+] Hardware: 10 IT Power-Saving Myths Debunked 359 comments
snydeq writes "InfoWorld examines 10 power-saving assumptions IT has been operating under in its quest to rein in energy costs vs. the permanent energy crisis. Under scrutiny, most such assumptions wither. From true CPU efficiency, to the life span effect of power-down frequency on servers, to SSD power consumption, to switching to DC in the datacenter, get the facts before setting your IT energy strategy."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Yvan256 (722131) on Thursday October 30 2008, @02:37PM (#25574105) Homepage Journal

    Like when someone posts your domain name on slashdot!

    You can't take down a server that's already off-line.

  • by TheNecromancer (179644) on Thursday October 30 2008, @02:40PM (#25574139)

    you see the Windows logo appear? (sorry, couldn't resist)

  • Simple (Score:5, Funny)

    by eln (21727) on Thursday October 30 2008, @02:40PM (#25574153) Homepage

    The best time to shut down the servers is right before you quit your job. Password-protecting the BIOS first adds value too.

    • Re:Simple (Score:5, Funny)

      by Anonymous Coward on Thursday October 30 2008, @03:50PM (#25575139)

      Password-protecting the BIOS first adds value too.

      A real pro puts epoxy on the BIOS battery & any motherboard jumpers.

      If I can't have this server, neither can you

      • Re:Simple (Score:5, Funny)

        by mysidia (191772) on Thursday October 30 2008, @06:36PM (#25577257)

        A real blackhat flashes a custom BIOS with the password set, so pulling the battery just resets the BIOS back to his default password.

  • WOL (Score:5, Insightful)

    by Anonymous Coward on Thursday October 30 2008, @02:41PM (#25574157)
    Put redundant/failover servers into a sleep state and enable WOL.
  • by Kamokazi (1080091) on Thursday October 30 2008, @02:41PM (#25574161)

    It's pretty much up to your business....what must run 24/7, what systems are likely to get accessed in off hours, and how likely is that, and how critical are they? With redundant systems, can there be any downtime while they are powered up, or should it be immediate failover? If you use virtualization the redundancy should be easier to manage in many cases...you may be able to immediately offload to running systems and power up backup systems and then bring the VMs up there.

    It's hard to get very specific without knowing your business and what you are running and what the needs are.

    • Re: (Score:3, Interesting)

      Your correct.
      A lot of places I know shut completely down at night but leave the servers up and running. Often it is so they can run end of night jobs or just so they can get up and running quickly in the morning.
      A lot of it is just waste and a lot of it is just habit.
      Now for people that run 24/7? That is totaly up to you.

    • by vwjeff (709903) on Thursday October 30 2008, @03:26PM (#25574761)
      Example Setup The organization I work for has a well known usage patterns that we use to make decisions like this. 95% or more of our traffic occurs during business hours which we define as 7:00 AM - 7:00 PM. During business hours we have dedicated servers for various functions. We have a cluster of servers running virtual server instances that duplicate the dedicated servers. During off hours the dedicated servers are powered down and the virtual server instances take over. It works for us and we have seen a significant decrease in power usage with no impact on our users.
  • by Anonymous Coward on Thursday October 30 2008, @02:41PM (#25574163)

    I'm glad this was posted to "Ask Slashdot" where your audience is highly seasoned professionals that can give you wise, insightful answers...
    In the data center that I manage, I use a few simple rules to determine when I power them down.
    1) If the server is on fire
    2) If there are no users using the server
    or
    3) If the power company is saying that I haven't paid my bill and they are sending "Hank" over to cut me off
    4) Civil unrest, tornado, earthquake, zombies, etc.

    • by Anonymous Coward on Thursday October 30 2008, @03:19PM (#25574661)

      I'm glad this was posted to "Ask Slashdot" where your audience is highly seasoned professionals that can give you wise, insightful answers...
      In the data center that I manage, I use a few simple rules to determine when I power them down.
      1) If the server is on fire
      2) If there are no users using the server
      or
      3) If the power company is saying that I haven't paid my bill and they are sending "Hank" over to cut me off
      4) Civil unrest, tornado, earthquake, zombies, etc.

      Zombies aren't a good reason for shutting down the servers, that's why our IT guy keeps a shotgun leaned up against the server....at least he says it's for zombies.

  • by Anonymous Coward on Thursday October 30 2008, @02:43PM (#25574187)

    If you virtualized your servers, you could create a managed power-down/power-up scenario. In the morning, your servers would turn on, your virtualized instances would move around (so they have more power for the day's activities), and then at night they'd retreat to a smaller group of servers. The unused servers could shut down for the night. You could even rotate which servers stay on overnight keeping the virtual servers running to spread the wear around if there is some.

    • by Amarok.Org (514102) on Thursday October 30 2008, @03:00PM (#25574417)

      There are a number of tools and products out there to assist this.

      Consider a large (65k+ employees) company that has a several hundred server implementation that they use to process payroll every two weeks. They use a management tool to power them up on Friday, process payroll over the weekend, and shut them down on Monday. The power and cooling cost impact of these several hundred servers *not* running most of the month (6 or so days a month instead of 31) is huge.

      Another (and also in use by the same company) strategy is to virtualize the OS instances, spin those up and down as necessary, and then use something like VMWare's VMotion to maximize usage of the physical boxes - and again use another tool to power down unneeded compute capacity.

      Welcome to the virtual world...

      Lots of prerequisites, but when it works, it's pretty freakin' sweet...

      • by agallagh42 (301559) on Thursday October 30 2008, @03:18PM (#25574635) Homepage

        ...and again use another tool to power down unneeded compute capacity.

        And that other tool is ... VMware! DPM (distributed power management) is built right in, and does exactly what you describe.

        http://www.vmware.com/products/vi/vc/drs.html [vmware.com] (scroll to the bottom)

        Welcome to the virtual world...

        Yup, the game is officially changed.

        • by Amarok.Org (514102) on Thursday October 30 2008, @03:30PM (#25574849)

          Actually, the other tool in this case is Cisco's VFrame Data Center. The problem with DPM (and other VMware tools) is that they won't let you move a physical box between ESX clusters. If you have multiple ESX clusters, the physical machine stays with it - powered up or not. With VFrame, the system can be powered down, removed from the cluster, and added to another if/when necessary... including any necessary network configuration (VLAN memberships, etc) and SAN configuration (zoning changes, LUN masking).

          Not that I'm complaining about VMWare's solution to this problem - they're actually quite complimentary.

      • by nabsltd (1313397) on Thursday October 30 2008, @03:57PM (#25575223)

        First, let's assume "several hundred" equals 200, and we have exactly 65000 employees. Let's also assume that these extra servers are on for exactly 48 hours. Let's also assume perfect load balancing and distribution of the process over the servers.

        That means that each server processes payroll for 325 employees in 48 hours, or about 7 employees per hour. So, each of these servers is basically the equivalent of a Commodore 64 in computing power. I suggest that the best way to save money at this task is to replace the 200 servers with a single Pentium 4 quad core running at 3GHz.

        The other explanation—that the software is so unbelievably bad that it really does take 8½ minutes for it to run a single employee—is possible, but would going out and buying "QuickBooks" really cost more than the 200 servers to run this awful beast of a payroll program?

        • by Silentknyght (1042778) on Thursday October 30 2008, @04:35PM (#25575789)
          If you have a consulting or legal business, where your employees bill time by the tenth of an hour, then yes, this could be a much longer process than you estimate. You have to tabulate all the hours for each employee for the month, and then allocate each hour spent on each day to each client, each client's job, each phase of said job, and each task under that job. Spread that across 1000 active clients with 1-2 jobs each, many with multiple phases, and all with multiple task codes. None of that has to do with processing a paycheck for me. The billing cycle isn't about getting a check from your employer, but getting a check from your client. The above may seem overly complex, but they ask for it and they pay the bills.
          • by Amarok.Org (514102) on Thursday October 30 2008, @04:58PM (#25576135)

            And given that there's more to processing payroll than printing out a check for each employee (calculation of taxes in every state in the US, every country in the world, etc), updating various accounting systems, etc... there's a lot of work to be done besides "take 8 1/2 minutes for a single employee".

        • First of all, I'm with you, I also don't understand what it is about these mythical accounting processes that takes so damn long to process.

          I guess it's like everything else in the software industry:

          - software built by programmers for programmers runs quickly
          - software built by programmers for non-programmers is incoherent
          - software built by non-programmers for non-programmers is slow as molasses
          - software built by non-programmers for programmers is never executed!

      • by will592 (551704) on Thursday October 30 2008, @04:39PM (#25575853)

        But what happens to all of the servers that fail to start up in time to process payroll? It's late? You pay overtime through the nose for th SysAdmins that have to come in and work 24 hour days to bring the machines online? Seriously, I'm not saying it's a bad idea but I would say that this scenario is probably more like 15 days on 15 days off. You have to build in time on the front end to make sure the machines are up and running in a stable configuration, and probably time on the back end to apply patches and perform metrics on the machines to make sure they are running properly for next month. I'm not sure that this would save anyone any money in the long run because of the load on their staff during spin-up.

  • Like a car... (Score:4, Interesting)

    by fiftysixquarters (1078091) on Thursday October 30 2008, @02:45PM (#25574217)
    Seriously, this analogy makes sense. When a car is cruising on the high way it's able to maintain speed using 4/8 cylinders. Servers could be cycled in a similar fashion. Do you really need 20 web servers running at 3 am on a Sunday?
  • Simple Answer (Score:5, Insightful)

    by jcnnghm (538570) on Thursday October 30 2008, @02:46PM (#25574237)

    When you're sure you don't need it to come back up.

  • Not often (Score:5, Insightful)

    by nine-times (778537) <nine.times@gmail.com> on Thursday October 30 2008, @02:46PM (#25574239) Homepage

    How many of us have servers that don't need to be live? Yeah, I guess there might be a development server, but that assumes that you're not developing. There could be a failover server that does nothing when the primary hasn't failed, but in that case you'd want to be damn sure that the failover will come online without difficulty when it needs to.

    It seems to me like it would be a pretty rare case when this is applicable. I'd sooner be interested in asking, can they build servers that can selectively power down subsystems that aren't currently in use, sufficiently enough that there's no serious harm. For example, I'd consider putting some of my fileservers' hard drives to sleep over night, but I'd still want the server to be available and the drives to spin back up if I log in from home and need access.

    Mostly, I'd say that if you have servers that you don't need to be live, you might not be using your servers efficiently. It may be worth looking into setting up some kind of VM server with various images that can be brought up on command. But hey, if you do have a server that you can turn off without causing problems, go for it.

    • Re:Not often (Score:4, Interesting)

      by CFTM (513264) on Thursday October 30 2008, @02:51PM (#25574305)

      Uh I am the administrator of a server that archives all email for our company. We no longer use this solution for our email archiving, but according to federal regulations this email needs to be accessible for at least another 26 months. The only people who use the server anymore are the various alphabet soups of regulators who came in twice a year, maybe I'm the exception but not the rule but I can't see a reason to keep the server on...

  • by Errtu76 (776778) on Thursday October 30 2008, @02:46PM (#25574241) Journal

    Why have 16 terminal servers (sorry, couldn't think of anything else) running when no more than 10-20 users are on it after working hours? Then in the morning, power them back on again using WakeOnLan.

    And that backup server with a whole lot of disks? Why not only have it running during the night when stuff is being backed up?

  • Power Management (Score:3, Interesting)

    by Super_Z (756391) on Thursday October 30 2008, @02:50PM (#25574275)
    Powering down your servers tends to introduce response issues. :-)
    Some servers, like the HP ProLiant line, has power management features [hp.com]. Try experimenting with features like these first.
  • by Ngarrang (1023425) on Thursday October 30 2008, @02:50PM (#25574289) Journal

    "Servers that sit in idle state for long periods of time are the top candidates for powering down between uses."

    Then virtualize it or combine its function with another server. I see this part of the article as a bad example. It starts by saying that virtualization has helped, and then uses an example that virtualization would solve, NOT power-cycling.

    Maybe its just me, but when I think of a server, I think of something important that is running, that needs to be accessible on something other than a glorified desktop. If it is important, then it cannot be turned off.

  • XenServer (Score:4, Interesting)

    by Obsession12 (554132) on Thursday October 30 2008, @02:55PM (#25574347) Homepage
    Full disclosure, I work for Citrix. Check out XenServer, which can remotely provision server workloads to virtual and bare metal machines - based on load, you can remotely power up resources as needed. I have seen the future, and it is awesome. And green.
  • Wrong way round (Score:5, Insightful)

    by symes (835608) on Thursday October 30 2008, @02:58PM (#25574399) Journal
    My guess is that managing energy consumption by powering down servers is the wrong way round - there seems to be a fair bit of interest in developing hardware that manages it's own energy consumption without loss, either in additional power to bring it back up to speed or in processing lag, etc. Of course, this doesn't address the poster's immediate concerns to which I have little to add other than it's probably good to cost in heightened risks of hardware failure and therefore the costs of unscheduled downtime.
  • Some criteria (Score:4, Informative)

    by Colin Smith (2679) on Thursday October 30 2008, @03:03PM (#25574457)

    1: Can your service be load balanced across several identical servers?
    2: Does your services experience predictable but varying load?
    3: Can the state used by your service be rapidly replicated (10 minutes) across newly booted systems?

    Not all server systems make good candidates for shutdown. Web farms do tend to because they fit the criteria above.

     

  • PSU failures (Score:5, Informative)

    by blind biker (1066130) on Thursday October 30 2008, @03:05PM (#25574477) Journal

    The problem is the PSU, which fails most often during power-up. Leaving the servers always on has the advantage of avoiding that particular failure mode. Also, other components in the server are prone to failure during power-up, way more often than at steady state. So, powering up your computers is overall a risky moment.

  • by CPE1704TKS (995414) on Thursday October 30 2008, @03:10PM (#25574541)

    VMWare has some cool functionality such that if you virtualize all your machines, at night time when the loads are lower, you can consolidate all your VMs onto a smaller number of physical machines, and automatically turn off the physical machines. Then, in the morning, as the loads increase, you can automatically power on the physical machines and move the VMs back onto these physical servers to handle the load. Not sure what it's called but when I heard about it, I thought it was really cool.

  • colo (Score:4, Insightful)

    by donnyspi (701349) <junk5@@@donnyspi...com> on Thursday October 30 2008, @03:15PM (#25574601) Homepage
    As long as power use is built into the fixed price I pay for the cabinet I rent at the colo, I'll never turn off my servers if I don't need to. Why would I?
  • ... is with electronic voting servers, to force paper ballots and more accurate counting.

    • Re:Well... (Score:5, Insightful)

      by csnydermvpsoft (596111) <csnyder@mvpsoft.com> on Thursday October 30 2008, @02:50PM (#25574287) Homepage

      What kind of UPS does that? If the batteries are already charged, what would it be doing with the power that's not consumed by the devices - does it also act as a space-heater?

      The ratings for UPS's - and any other power supply - are peak loads, if the UPS is being used at 100% capacity.

      • Re:Well... (Score:5, Funny)

        by prog-guru (129751) on Thursday October 30 2008, @03:51PM (#25575143) Homepage

        (My datacenter charges about a buck a VA)

        A watt?

      • Re:Well... (Score:4, Funny)

        by babyrat (314371) on Thursday October 30 2008, @05:10PM (#25576323)

        I personally think a buck for a Virginia would be a great deal.

        On a side note, that seems pretty pricey for a watt - turning on my blow dryer in the morning would cost me $1500 where you live. I'd have to go to work with wet hair everyday.

        Ooooh - I could instead use solar energy to dry my hair (stand outside in the sun for a while). Green is good!

    • Re:Old gear (Score:5, Interesting)

      by xaxa (988988) <slashdot@sym[ ]te.eu ['bio' in gap]> on Thursday October 30 2008, @03:30PM (#25574851) Homepage

      Analogy (this time, light bulbs).
      - Light bulbs fail just as you turn them on. Or off.
      - They hardly ever fail whilst switched on.

      I think servers are the same. You're in trouble if a server you've had switched on for two years and forgotten about loses power and doesn't come back up. If it'd been switched off every weekend it would have failed earlier -- but probably at a more convenient time.

      • Re:Old gear (Score:4, Interesting)

        by LeafOnTheWind (1066228) on Thursday October 30 2008, @08:18PM (#25578159)

        Light bulbs fail when they're turned on because there's a warmup spike as the electricity flows through the wire. This causes the tungsten to heat up more than it will when the circuit is complete, and break the circuit.

        If your lightbulb fails it's because the filament has worn down - it's just that you usually find out about it when you turn the light bulb on or off.

        Also, your analogy means nothing. Servers are nothing like light bulbs.