{"id":10771,"date":"2010-08-13T09:36:39","date_gmt":"2010-08-13T09:36:39","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=10771"},"modified":"2010-08-13T09:36:39","modified_gmt":"2010-08-13T09:36:39","slug":"sysprep-hyper-v","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=10771","title":{"rendered":"Sysprep &#038; Hyper-V"},"content":{"rendered":"<p>You can automate the deployment of Hyper-V host servers using Sysprep.\u00a0 W2008 would disable the autostart of the hypervisor in any machine deployed from a sysprepped template.\u00a0 Ben Armstrong has <a href=\"http:\/\/blogs.msdn.com\/b\/virtual_pc_guy\/archive\/2010\/08\/12\/what-happens-when-you-sysprep-a-system-running-hyper-v-on-windows-server-2008-r2.aspx\" target=\"_blank\">confirmed <\/a>that this is different with Windows Server 2008 R2; the hypervisor will automatically start.<\/p>\n<p>You could use soemthing like WDS to deploy a new host.\u00a0 I&#8217;d prefer MDT or ConfigMgr OSD because they use task sequences.\u00a0 That will allow you to automate a bunch of operations using command line, batch scripts, or PowerShell scripts.<\/p>\n<p>I did actually use WDS to build my original W2008 cluster back in 2008.\u00a0 I didn&#8217;t have ConfigMgr and I wasn&#8217;t comfortable yet with MDT.\u00a0 I prepped the initial build, figured out the kinks, and modified the images.\u00a0 I repeated for the pilot.\u00a0 The production deployment was completed in 1 hour (bare metal to functioning Hyper-V cluster) from a meeting room in a hotel room via VPN and HP ILO.<\/p>\n<p>Heck, if you use one of the tasq sequence deployment\u00a0solutions for normal server deployment then you only need to create a new task sequence to run against an existing Windows image (most probably Datacenter edition) and use the Server Manager powershell modules to enable the Failover Clustering feature and the Hyper-V role, reboot, install DPM\/OpsMgr agents, etc.<\/p>\n<p>So, if you deploy Hyper-V hosts freqeuently or you are planning a huge farm deployment, take a look at Sysprep, WDS, MDT and ConfigMgr OSD to automate the process.\u00a0 A little work up front can save you a lot of time later on and give you a consistent result.<\/p>\n<p>Notes for sysprepping a configured Hyper-V host:<\/p>\n<ul>\n<li>External networks in the image will be converted into internal networks.<\/li>\n<li>Passthrough disks will need to be reconfigured in the Hyper-V Manager.<\/li>\n<li>The Dynamic MAC address pool on the host will be recreated so that it is unique.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can automate the deployment of Hyper-V host servers using Sysprep.\u00a0 W2008 would disable the autostart of the hypervisor in any machine deployed from a sysprepped template.\u00a0 Ben Armstrong has confirmed that this is different with Windows Server 2008 R2; the hypervisor will automatically start. You could use soemthing like WDS to deploy a new &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=10771\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Sysprep &#038; Hyper-V&#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":[1],"tags":[173,174,181,77,195,105,117],"class_list":["post-10771","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-configmgr","tag-deployment","tag-hyper-v","tag-mdt","tag-virtualisation","tag-wds","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\/10771","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=10771"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/10771\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}