{"id":9311,"date":"2008-12-16T16:01:00","date_gmt":"1999-11-29T20:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=9311"},"modified":"2008-12-16T16:01:00","modified_gmt":"1999-11-29T20:00:00","slug":"create-a-windows-server-2008-cluster-within-hyper-v","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=9311","title":{"rendered":"Create a Windows Server 2008 Cluster Within Hyper-V"},"content":{"rendered":"<p>MS PFE Ireland <a title=\"blogged\" href=\"http:\/\/blogs.technet.com\/pfe-ireland\/archive\/2008\/05\/16\/how-to-create-a-windows-server-2008-cluster-within-hyper-v-using-simulated-iscsi-storage.aspx\">blogged<\/a> about how to configure a cluster within a Hyper-V environment, i.e. how to set up 2 virtual machines running as a cluster &#8211; <em>not <\/em>how to create a Hyper-V cluster.\u00a0 They used iSCSI to configure the shared storage to connect the virtual hosts, i.e. for the quorum and the shared service installation.<\/p>\n<p>Setting up a Hyper-V cluster is another story altogether.\u00a0 Here&#8217;s the short version.\u00a0 The hosts should have a <em>minimum<\/em> of 3 NIC&#8217;s:<\/p>\n<ul>\n<li>1 for the parent partition (on the host network)<\/li>\n<li>1 for the cluster (on a private heartbeat network)<\/li>\n<li>1 for the virtual machines (usually on a network trunk and with TCP unbound).<\/li>\n<\/ul>\n<p>You&#8217;ll probably go for 4 NIC&#8217;s.\u00a0 However, the virtual machine network NIC&#8217;s can&#8217;t be teamed at the moment.\u00a0 MS is working with OEM&#8217;s to resolve this.\u00a0 Make sure the h\/w is on the cluster compatibility list.\u00a0 Avoid installing any OEM server network configuration tools until there is support from them for Hyper-V.<\/p>\n<p>Build the machines with Windows Server 2008 Enterprise Edition.\u00a0 You can go with Core if you want but I prefer to use Full installation &#8211; the OEM&#8217;s haven&#8217;t given us accessible ways to manage their hardware from Core yet (if they ever will).\u00a0 Apply security patches.\u00a0 Ensure the hosts are identical.<\/p>\n<p>Set up your shared storage, either iSCSI or fibre channel.\u00a0 If using an even number of hosts you&#8217;ll need to configure a small quorum disk or &quot;witness disk&quot;.\u00a0 If uneven then you don&#8217;t.\u00a0 However I set one up anyway in case I need to remove or add a host &#8211; VMM will <em>scream loudly<\/em> if the cluster is not in a supported state, i.e. failover will be unpredictable.<\/p>\n<p>For the virtual network, you&#8217;ll need to find out what workarounds (if any) are necessary for getting the VLAN trunk (VLAN tagging) working.\u00a0 See my previous posts about the NC373i and Intel NIC&#8217;s.<\/p>\n<p>Configure Hyper-V and add in the patches for GUID drives and VMM compatibility (see my previous posts).\u00a0 Install the clustering service as well.\u00a0 Configure the firewall to allow remote administration.<\/p>\n<p>Build the cluster.\u00a0 If using an even number of nodes you&#8217;ll go with node majority.\u00a0 If uneven then it&#8217;s disk (the witness\/quorum) and node majority.\u00a0 Run the cluster verification report and save the results in case PSS ask for it.\u00a0 If using an EVA SAN you must remember to set the node type to Longhorn (the codename for W2008) to pass the test.<\/p>\n<p>Now you can configure your virtual networks &#8211; do it in the Hyper-V admin console if you don&#8217;t have VMM 2008.\u00a0 Do it in VMM 2008 if you are using it to manage the Hyper-V cluster &#8211; you need to import the cluster into VMM 2008 management first \ud83d\ude42<\/p>\n<p>Set up your VM&#8217;s and test them.\u00a0 Your VM&#8217;s will be on their own LUN&#8217;s provided by the SAN.\u00a0 Provision the disk and present it to all your hosts.\u00a0 Configure the disk (bring online, letterless\/GUID and format) on the first host in the cluster.\u00a0 Add the disk to the cluster.\u00a0 Note the GUID for VM deployment.\u00a0 Use your administration console (Hyper-V or VMM 2008) to deploy your VM.<\/p>\n<p>In VMM you should be aiming to see a healthy state.\u00a0 If you&#8217;re told the cluster configuration isn&#8217;t supported then check your host virtual network, cluster verification report and VM storage configurations.<\/p>\n<p>There.\u00a0 That&#8217;s probably a day&#8217;s worth of training in one short blog post.\u00a0 Obviously it&#8217;s a bit more detailed than all that but it&#8217;s a dump on what you should look at.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MS PFE Ireland blogged about how to configure a cluster within a Hyper-V environment, i.e. how to set up 2 virtual machines running as a cluster &#8211; not how to create a Hyper-V cluster.\u00a0 They used iSCSI to configure the shared storage to connect the virtual hosts, i.e. for the quorum and the shared service &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=9311\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Create a Windows Server 2008 Cluster Within Hyper-V&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":[],"class_list":["post-9311","post","type-post","status-publish","format-standard","hentry","category-hyper-v"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9311","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=9311"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9311\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}