{"id":11236,"date":"2011-05-13T17:36:00","date_gmt":"2011-05-13T17:36:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=11236"},"modified":"2011-05-13T17:36:00","modified_gmt":"2011-05-13T17:36:00","slug":"server-power-your-private-cloud","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=11236","title":{"rendered":"Server Power &#038; Your Private Cloud"},"content":{"rendered":"<p>Let\u2019s pull a Doctor Who and travel back in time to 2003.&#160; Odds are when you bought a server, and you were taking the usual precautions on uptime\/reliability, you specified that the server should have dual power supplies.&#160; The benefit of this is that a PSU could fail (it used to be #3 in my failure charts) but the redundant PSU would keep things running along.&#160; <\/p>\n<p>Furthermore, an electrician would provide two independent power circuits to the server racks.&#160; PSU A in each server would go into power circuit A, and PSU B in each server would go into power circuit B.&#160; The benefit of this is that a single power circuit could be brought down\/fail but every server would stay running, because the redundant PSU would powered by the alternative power circuit.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2011\/05\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2011\/05\/image_thumb1.png\" width=\"504\" height=\"331\" \/><\/a><\/p>\n<p>Applying this design now is still the norm, and is probably what you plan when designing a private cloud compute cluster.&#160; If power circuit A goes down, there is no downtime for VMs on either host.&#160; They keep on chugging away.<\/p>\n<p>Nothing is free in the computer room\/data centre.&#160; In fact, everything behind those secured doors costs much more than out on the office floors.&#160; Electrician skills, power distribution networks, PSU\u2019s for servers, the electricity itself (thanks to things like the UPS), not to mention the air conditioning that\u2019s required to keep the place cool.&#160; My experience in the server hosting industry taught me that the cost of biggest concern was electricity.&#160; Every decision we made had to consider electricity consumption.<\/p>\n<p>It\u2019s not a secret that data centres are doing everything that they can to eliminate costs.&#160; Companies in the public cloud (hosting) industry are trimming costs because they are in a cutthroat business where the sticker price is often the biggest decision making factor for the customers when they choose a service provider.&#160; We\u2019ve heard data centres running at 30C instead of the traditional 18-21C \u2026 I won\u2019t miss having to wear a coat when physically touching servers in the middle of summer.&#160; Some are locating their data centres in cool-moderate countries (Ireland &amp; Iceland come to mind) because they can use native air without having to cool it (and avoiding the associated electrical costs).&#160; There are now data centres that take the hot air from the \u201chot aisle\u201d and use that to heat offices or water for the staff in the building.&#160; Some are building their own power supplies, e.g. solar panel farms in California or wind turbines in Sweden.&#160; It doesn\u2019t have to stop there; you can do things in the micro level.<\/p>\n<p>You can choose equipment that consumes less power.&#160; Browsing around on the HP website quickly finds you various options for memory boards.&#160; Some consume less electricity.&#160; You can be selective about networking appliances.&#160; I remember when buying a slightly higher spec model of switch than we needed because it consumed 40% less electricity than a lesser model.&#160; And get this: some companies are deliberately (after much planning) choosing lower capacity processors based on a couple of factors.&#160; <\/p>\n<ul>\n<li>They know that they can get away with providing less CPU muscle. <\/li>\n<li>They are deliberately choosing to put less VMs on a host than is possible because their \u201csweet spot\u201d cost calculations took CPU power consumption and heat generation costs into account. <\/li>\n<li>Having more medium capacity hosts works out cheaper for them than having fewer larger hosts over X years, because of the lower power costs (taking everything else into account). <\/li>\n<\/ul>\n<p>Let\u2019s bring it back to our computer room\/ data centre where we\u2019re building a private cloud.&#160; What do we do?&#160; Do we do \u201cthe usual\u201d and build our virtualisation hosts just like we always have built servers: each host will get dual PSUs on independent power circuits just as above?&#160; Or do we think about the real costs of servers?&#160; I\u2019ve previously mentioned that the true cost of a server is not the purchase cost.&#160; It\u2019s much more than that, including purchase cost, software licensing, and electricity.&#160; A safe rule of thumb is that if a server costs \u20ac2,000 then it\u2019s going to cost at least \u20ac2,000 to power it over its 3 year life time.<\/p>\n<p>So this is when some companies compare cost of running fully specced and internally redundant (PSU\u2019s etc) servers versus the risk of having brief windows of downtime.&#160; Taking this into account, they\u2019ll approach building clusters in alternative ways.<\/p>\n<p>In the first diagram (above) we had a 2 node Hyper-V cluster, with the usual server build including 2 PSUs.&#160; Now we\u2019re simplifying the hosts.&#160; They\u2019ve each got one PSU.&#160; To provide power circuit fault tolerance, we\u2019ve doubled the number of hosts.&#160; In theory, this should reduce our power requirements and costs.&#160; It does double the rack space, license, and server purchase costs, but for some companies, this is negated by reduce power costs; the magic is in the assessment.&#160; <\/p>\n<p>But we need more hosts.&#160; We can\u2019t do an N+1 cluster.&#160; This is because half of the hosts are on power circuit A.&#160; If that circuit goes down then we lose half of the cluster.&#160; Maybe we need an N+N cluster?&#160; In other words if we have 2 active hosts, then we have 2 passive hosts.&#160; Or maybe we extend this out again, to N+N+N with power circuits A, B, and C.&#160; That way we would lose 1\/3 of a cluster if the power goes.<\/p>\n<p>Increasing the number hosts to give us power fault tolerance gives us the opportunity to spread the virtual machine loads.&#160; That in turn means you need less CPU and memory in each host, in turn reducing the total power requirements of those hosts and reduces the cost impact of buying more server chassis\u2019.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2011\/05\/image2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2011\/05\/image_thumb2.png\" width=\"504\" height=\"135\" \/><\/a><\/p>\n<p>The downside of this approach is that if you do power to PSU A in Server 1, the VMs will stop executing, and failover to Severs 3 or 4.<\/p>\n<p>I\u2019m not saying this is the right way for everyone.&#160; It\u2019s just an option to consider, and run through Excel with all the costs to hand.&#160; You will have to consider that there will be a brief amount of downtime for VMs (they will failover and boot up on another host) if you lose a power circuit.&#160; That wouldn\u2019t happen if each host has 2 PSUs, each on different power circuits.&#160; But maybe the reduced cost (if really there) would be worth the risk of a few minutes downtime?<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:183b8e33-f53c-4be8-91d6-6acdeed4e57a\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Private+Cloud\" rel=\"tag\">Private Cloud<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s pull a Doctor Who and travel back in time to 2003.&#160; Odds are when you bought a server, and you were taking the usual precautions on uptime\/reliability, you specified that the server should have dual power supplies.&#160; The benefit of this is that a PSU could fail (it used to be #3 in my &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=11236\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Server Power &#038; Your Private Cloud&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[181,88,195],"class_list":["post-11236","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-hyper-v","tag-private-cloud","tag-virtualisation"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/11236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11236"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/11236\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}