{"id":14512,"date":"2013-05-02T13:00:00","date_gmt":"2013-05-02T12:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=14512"},"modified":"2013-05-02T13:00:00","modified_gmt":"2013-05-02T12:00:00","slug":"maintenance-windows-for-patching-a-ws2012-hyper-v-cluster-make-no-sense-to-me","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=14512","title":{"rendered":"Maintenance Windows For Patching A WS2012 Hyper-V Cluster Make No Sense To Me"},"content":{"rendered":"<div>Here I am, working on a Sunday (when I wrote this post).\u00a0 It\u2019s not so bad, it\u2019s raining outside, so that rules out going for a walk or doing some photography.\u00a0 I jumped onto Twitter and saw someone moaning that they had to work on a Sunday to patch their Hyper-V cluster.\u00a0 To me that\u2019s a WTF! moment.<\/div>\n<div><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/04\/image14.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;\" title=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/04\/image_thumb13.png\" border=\"0\" alt=\"image\" width=\"214\" height=\"275\" \/><\/a><\/div>\n<div>Windows Server 2012 Failover Clustering gives us Cluster Aware Updating (CAU).\u00a0 Using this you can patch a Hyper-V cluster without getting manually involved in \u201cmaintenance modes\u201d and Live Migration.\u00a0 The process will:<\/div>\n<ol>\n<li>Download updates from Microsoft, WSUS, etc, or a file share, to the hosts (and this is expandable to 3rd party updates such as OEMs).<\/li>\n<li>Put host 1 into maintenance mode \u2013 that drains it of virtual machines using Live Migration and \u2026 Quick Migration (for VMs marked as LOW priority, by default, which I DO NOT agree with).\u00a0 You <a href=\"https:\/\/aidanfinn.com\/?p=13715\" target=\"_blank\">can make it 100% Live Migration<\/a> so no services suffer an outage during the moves.\u00a0 The more bandwidth your Live Migration network has, the faster this will be \u2013 using 1 Gbps networking for 512 GB RAM hosts is stupid!<\/li>\n<li>Patch and reboot host 1<\/li>\n<li>Wait for host 1 to come back online<\/li>\n<li>Bring host 1 out of maintenance mode<\/li>\n<li>Repeat steps 2-5 for each host<\/li>\n<\/ol>\n<div>This process orchestrates the entire process.\u00a0 All you\u2019ve go to do is make it happen:<\/div>\n<ul>\n<li>You can manually invoke CAU from a Failover Cluster Manager console <em>not<\/em> running on a cluster member<\/li>\n<li>You can set up a special CAU role on the cluster with a patching schedule \u2013 it\u2019s a clustered role so it will move just like the VMs<\/li>\n<\/ul>\n<div>And the process is customizable, e.g. don\u2019t proceed\/continue if Y hosts are offline.<\/div>\n<div>So \u2026 let me ask you a question.\u00a0 If your VMs are moving around using Live Migration, and their services never go offline \u2026 why do you need a maintenance window?\u00a0 Why exactly do you want to be a sad bastard like me and work on a Sunday?<\/div>\n<div>Me, I think I\u2019d do my host patching on a Wednesday morning, at around 11am, in a typical business.\u00a0 Why?\u00a0 A few reasons:<\/div>\n<ol>\n<li>Live Migration keeps services online so the business should not notice.<\/li>\n<li>I\u2019m \u201cin\u201d the office already.\u00a0 If something does go wrong, I am not getting a call at 3am or at the weekend.\u00a0 I\u2019m sober, awake (as much as I will be, anyway), and able to respond immediately.<\/li>\n<li>Any support services will have their primary staff available.\u00a0 If I do need to call someone for hardware or software support, they are online, and I\u2019m not dealing with the red-eye team at 3am on a Sunday morning.<\/li>\n<li>I can monitor for exceptions quite happily.<\/li>\n<li>The business doesn\u2019t need to pay me overtime or give me time-in-lieu.<\/li>\n<li>Peak business in IT is at either end of the week (\u201cpassword reset Monday\u201d and \u201cI didn\u2019t want to bother you\u201d Friday afternoons) so Wednesday seems like a nice balance.<\/li>\n<\/ol>\n<div>So yeah, I do think that CAU should kill the Hyper-V cluster patching window.<\/div>\n<div><\/div>\n<div>Edit 1:<\/div>\n<div>The same person was on Twitter many hours later, complaining that patching Hyper-V took them &#8220;11 hours&#8221;.\u00a0 Really!?!?! Hmm, I think if that was me I&#8217;d be asking what I was doing wrong.\u00a0 Just sayin&#8217;\u00a0 is all &#8230;<\/div>\n<div><\/div>\n<div>You can learn more about Windows Server 2012 Hyper-V from the book, Windows Server 2012 Hyper-V Installation And Configuration Guide:<\/div>\n<div><\/div>\n<div>\n<li><a onclick=\"javascript:_gaq.push(['_trackEvent','outbound-article','http:\/\/www.amazon.com']);\" href=\"http:\/\/www.amazon.com\/Windows-Server-Hyper-V-Installation-Configuration\/dp\/1118486498%3FSubscriptionId%3DAKIAIJ5WNI7ZSH7W4OXA%26tag%3Dafm0c-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1118486498\">Amazon.com<\/a><\/li>\n<li><a onclick=\"javascript:_gaq.push(['_trackEvent','outbound-article','http:\/\/www.amazon.co.uk']);\" href=\"http:\/\/www.amazon.co.uk\/gp\/product\/1118486498\/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=1118486498&amp;linkCode=as2&amp;tag=aidfin-21\">Amazon.co.uk<\/a><\/li>\n<li><a onclick=\"javascript:_gaq.push(['_trackEvent','outbound-article','http:\/\/www.amazon.de']);\" href=\"http:\/\/www.amazon.de\/gp\/product\/1118486498?ie=UTF8&amp;camp=1638&amp;creativeASIN=1118486498&amp;linkCode=xm2&amp;tag=aidfin0f-21\">Amazon.de<\/a><\/li>\n<\/div>\n<div class=\"wlWriterEditableSmartContent\" style=\"float: none; margin: 0px; display: inline; padding: 0px;\">Technorati Tags: <a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\">Windows Server 2012<\/a>,<a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Hyper-V\">Hyper-V<\/a>,<a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Virtualisation\">Virtualisation<\/a>,<a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Failover+Clustering\">Failover Clustering<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here I am, working on a Sunday (when I wrote this post).\u00a0 It\u2019s not so bad, it\u2019s raining outside, so that rules out going for a walk or doing some photography.\u00a0 I jumped onto Twitter and saw someone moaning that they had to work on a Sunday to patch their Hyper-V cluster.\u00a0 To me that\u2019s &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=14512\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Maintenance Windows For Patching A WS2012 Hyper-V Cluster Make No Sense To Me&#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":[63,181,195,118],"class_list":["post-14512","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-failover-clustering","tag-hyper-v","tag-virtualisation","tag-windows-server-2012"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/14512","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=14512"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/14512\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}