{"id":12682,"date":"2012-06-11T09:00:00","date_gmt":"2012-06-11T08:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=12682"},"modified":"2012-06-11T09:00:00","modified_gmt":"2012-06-11T08:00:00","slug":"windows-server-2012-hyper-v-failover-prioritisation","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=12682","title":{"rendered":"Windows Server 2012 Hyper-V &#038; Failover Prioritisation"},"content":{"rendered":"<p>Remember how <a href=\"https:\/\/aidanfinn.com\/?p=11814\" target=\"_blank\">Live Migration and HA are 2 different things<\/a>?&#160; HA is when a clustered host fails.&#160; The that are hosted on VMs have to fail over to another host and boot up.&#160; What if you had some n-tier app running on that host?&#160; Take this example where:<\/p>\n<ul>\n<li>There is a web server VM that depends on the app server VM.<\/li>\n<li>The app server VM depends on the database server VM.<\/li>\n<li>There is a database server VM.<\/li>\n<\/ul>\n<p>Now what if they all failover at the same time and the web server boots up first.&#160; It\u2019ll go looking for the app server and the web app will break, requiring some manual intervention \u2013 how very un-cloud-like.<\/p>\n<p>Windows Server 2012 Failover Clustering allows us to set 1 of 4 failover priorities to our VMs.&#160; They can be:<\/p>\n<ol>\n<li>High: VMs with this value will failover and start first<\/li>\n<li>Medium: Any VM with this priority will failover and start second<\/li>\n<li>Low: Any VM with this priority will failover and start after the the Medium VMs<\/li>\n<li>Do Not Failover: What it says on the tin, intended for non-production VMs that you don\u2019t need \u2013 useful when relying on Dynamic Memory to compress virtual workloads on fewer hosts after drastic host failures and you need to conserve RAM for production services.<\/li>\n<\/ol>\n<p>If you had 10 VMs with the high priority then they all failover and start at the same time.&#160; Then your 20 Medium VMs would start after that.&#160; And your 100 Low VMs would start after the Medium ones.<\/p>\n<p>You cannot create new priorities for yourself.&#160; You must use these priority levels if you want to use this feature.<\/p>\n<p>Note that the <em>failover<\/em> priority level has absolutely no impact on Live Migration.&#160; And that\u2019s because <a href=\"https:\/\/aidanfinn.com\/?p=11814\" target=\"_blank\">Live Migration and Failover\/HA are two very different things<\/a>.&#160; Your app dependencies should not be impacted by Live Migration because the VMs\u2019 services will stay online and responsive during the migration.<\/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:e7568e87-095d-4941-9a7b-b20a0d664e03\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\" rel=\"tag\">Windows Server 2012<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Failover+Clustering\" rel=\"tag\">Failover Clustering<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Remember how Live Migration and HA are 2 different things?&#160; HA is when a clustered host fails.&#160; The that are hosted on VMs have to fail over to another host and boot up.&#160; What if you had some n-tier app running on that host?&#160; Take this example where: There is a web server VM that &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=12682\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Windows Server 2012 Hyper-V &#038; Failover Prioritisation&#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-12682","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\/12682","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=12682"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/12682\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}