{"id":10263,"date":"2010-01-13T18:02:00","date_gmt":"2010-01-13T18:02:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=10263"},"modified":"2010-01-13T18:02:00","modified_gmt":"2010-01-13T18:02:00","slug":"hyper-v-can-i-virtualise-everything-domain-controllers","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=10263","title":{"rendered":"Hyper-V: Can I Virtualise Everything: Domain Controllers?"},"content":{"rendered":"<p>I\u2019ve seen this one a few times on forums and I\u2019ve been asked it at sessions I\u2019ve presented at.&#160; People are deploying Hyper-V in medium and large businesses and they are wondering if they should virtualise absolutely everything in their data centre.<\/p>\n<p>The answer is no.&#160; <\/p>\n<p>Let\u2019s start with the obvious.&#160; Some applications or operating systems may not have vendor support for virtualisation.&#160; If that\u2019s the case then you shouldn\u2019t virtualise them.&#160; However, many still do and they get by with no negative impacts.&#160; Okey dokey.<\/p>\n<p>Some servers just require too many resources to consider for virtualisation.&#160; Consider a data warehouse application.&#160; If you virtualise it, it might require a 1 VM per host deployment.&#160; For the vast majority of us that\u2019s a bad idea.&#160; However some might like it because it means the machine is abstracted from the hardware.&#160; But remember that you can only have a maximum of 4 virtual processors in a Windows Server VM on Hyper-V.&#160; That likely won\u2019t be enough for any machine that needs 32GB or 64GB RAM.<\/p>\n<p>Then there\u2019s domain controllers.&#160; You can virtualise domain controllers but you have to be very careful.&#160; Basically you have to treat them as you would physical domain controllers.&#160; Checkpoints\/saved states and host level backup is a bad idea for domain controllers because of the risks of AD corruption, e.g. USN rollback.&#160; Microsoft takes the idea of virtual domain controllers very seriously and has a very long <a href=\"http:\/\/support.microsoft.com\/kb\/888794\" target=\"_blank\">support article<\/a> on it.<\/p>\n<p>Should you virtualise all of your domain controllers?&#160; Typically I will say no to this.&#160; There\u2019s a few exceptions, e.g. virtualised SBS running on a workgroup member Hyper-V host.&#160; But take a Hyper-V cluster.&#160; The presence of AD is a requirement of a Hyper-V cluster.&#160; What happens if you need to power down your entire cluster for maintenance or power suddenly cuts out.&#160; These things happen.&#160; Electricians might need to work on power board or a UPS\/generator might fail to kick in.&#160; I\u2019ve seen both take place in the past.&#160; What happens to that cluster if all of the DC\u2019s are virtualised on the cluster?&#160; The cluster relies on AD for authentication\/authorization.&#160; Things will fail.&#160; It\u2019s a chicken and egg scenario.<\/p>\n<p>Microsoft recently <a href=\"http:\/\/blogs.technet.com\/askcore\/archive\/2010\/01\/12\/going-overboard-with-microsoft-virtualization-can-get-you-into-trouble.aspx\" target=\"_blank\">blogged<\/a> about this.&#160; The workaround solution is to find the LUN where the VHD(s)&#160; for a DC with DNS role installed and configured is located, copy that to a temporary workgroup Hyper-V server and set it up to boot up.&#160; Now you can power up the cluster.&#160; But you have to be really careful and make sure that original DC VM doesn\u2019t start up and cause a mess.<\/p>\n<p>The advice is to have at least one physical DC.&#160; When I did my ESX 3.X training a few years ago the advice was the same when running Virtual Center.&#160; I recommend having 2: Murphy tends to like to mess up plans and wouldn\u2019t it be a bad day if both the cluster powered down and your lone physical DC wouldn\u2019t start up?&#160; Alternatively you can run those DC\u2019s on a separate workgroup host but that just complicates things in terms of virtualisation management.&#160; I like to keep things simple so I\u2019d go the 2 physical DC route.&#160; Then you can safely virtualise other DC\u2019s while sticking to Microsoft\u2019s <a href=\"http:\/\/support.microsoft.com\/kb\/888794\" target=\"_blank\">advice<\/a> on the subject.<\/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:85af85e0-1990-4b1d-b7db-cb8cbd14995e\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2008\" rel=\"tag\">Windows Server 2008<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2008+R2\" rel=\"tag\">Windows Server 2008 R2<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Active+Directory\" rel=\"tag\">Active Directory<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve seen this one a few times on forums and I\u2019ve been asked it at sessions I\u2019ve presented at.&#160; People are deploying Hyper-V in medium and large businesses and they are wondering if they should virtualise absolutely everything in their data centre. The answer is no.&#160; Let\u2019s start with the obvious.&#160; Some applications or operating &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=10263\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hyper-V: Can I Virtualise Everything: Domain Controllers?&#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":[169,181,116,117],"class_list":["post-10263","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-active-directory","tag-hyper-v","tag-windows-server-2008","tag-windows-server-2008-r2"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/10263","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=10263"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/10263\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}