{"id":14239,"date":"2013-03-07T13:33:00","date_gmt":"2013-03-07T13:33:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=14239"},"modified":"2013-03-07T13:33:00","modified_gmt":"2013-03-07T13:33:00","slug":"using-vmm-2012-sp1-baselines-compliance-to-orchestrate-patching-of-hyper-v-hosts","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=14239","title":{"rendered":"Using VMM 2012 SP1 Baselines &#038; Compliance To Orchestrate Patching Of Hyper-V Hosts"},"content":{"rendered":"<p>System Center 2012 Virtual Machine Manager SP1 includes the ability to manage the patching of your Hyper-V hosts (Windows Server 2012 or Windows Server 2008 R2) from the VMM console.<\/p>\n<p>WSUS is used to synchronize the catalog and download updates from Microsoft.&#160; You can use a <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/gg675099.aspx\" target=\"_blank\">dedicated WSUS installation<\/a> (on your VMM server for small environments or dedicated VM otherwise) or you can use a <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh341476.aspx\" target=\"_blank\">shared WSUS install<\/a> (such as with ConfigMgr).<\/p>\n<p>Then you need to add the WSUS server to your fabric in VMM.&#160; Go to Fabric, Update Server, and click Add Resources (Ribbon) &gt; Update Server.&#160; Step through the wizard to take control of your WSUS server from VMM.<\/p>\n<p>What you\u2019ll see won\u2019t look too unusual if you\u2019re used to WSUS administration.&#160; In my lab, I only sync updates for Windows Server 2012 and Windows Server 2008 R2.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image4.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image_thumb4.png\" width=\"404\" height=\"302\" \/><\/a><\/p>\n<p>Here\u2019s a gotchya: VMM does not sync the catalog automatically.&#160; You synchronize by right-licking on the Update Server, and selecting the Synchronize action.&#160; You can figure out the POSH to do this and set up a scheduled task.<\/p>\n<p>Now you\u2019re pulling down updates.&#160; The next step is to figure out what updates need to be applied.&#160; This requires one or more Baselines, which you\u2019ll manage in Library &gt; Update Catalog And Baselines &gt; Update Baselines.&#160; The role of a baseline is to list a set of updates that you expect to find on your hosts.&#160; If they are not present then VMM can install them for you.<\/p>\n<p>You can create a new Baseline from the Ribbon by clicking Create &gt; Baseline.&#160; You have to manually select the updates that you want to include in the baseline.&#160; This is \u2026 not pleasant.&#160; There may be a POSH way to do this \u2013 I\u2019ve not looked into it.&#160; You also set the scope of the fabric that you want to update too.&#160; This includes clusters, hosts, and parts of the VMM fabric too.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image5.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image_thumb5.png\" width=\"404\" height=\"302\" \/><\/a><\/p>\n<p>Now you\u2019re going to check host\/cluster compliance.&#160; Go back to Fabric, navigate to the cluster or host, and select Compliance in the Ribbon.&#160; Hit Scan on the Ribbon and wait \u2013 tip: do not scan a cluster and a cluster member at the same time or you\u2019ll create a refresher job deadlock that renders the cluster unmanageable from VMM.&#160; <\/p>\n<p>The compliance of the hosts with the assigned baseline will be presented, as shown here.&#160; You can right lick on the compliance properties to see what updates are missing.&#160; You can create exemptions for updates on specific hosts if required.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image6.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image_thumb6.png\" width=\"404\" height=\"216\" \/><\/a><\/p>\n<p>To fix the compliance issue, select the cluster\/host and hit Remediate in the Ribbon.&#160; A new job will start.&#160; This will put hosts into maintenance and use Live Migration to vacate cluster nodes of highly available VMs (keeping services online and operational without affecting SLAs).&#160; Patching and reboots will happen.&#160; As usual with Windows Updates, you may require several runs\/reboots to get compliant.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image7.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/03\/image_thumb7.png\" width=\"404\" height=\"97\" \/><\/a><\/p>\n<p>Note that you do not need to configure the usual Windows Update GPOs or registry values to use this feature; the patch deployment is an action of the VMM agent and operates independently of these settings.&#160; In my lab, the hosts are configured via GPO to download patches from another WSUS server with manual patching install.&#160; I still can use VMM to do baseline compliance scanning and remediation.<\/p>\n<p>What do I think of this feature?&#160; In my opinion, this is not a solution for regular patching.&#160; The amount of required manual effort is not good; manual patching = no patching.&#160; Conficker has proven this.&#160; I\u2019m sure <a href=\"http:\/\/gallery.technet.microsoft.com\/scriptcenter\/Automating-UpdatePatch-136388b1\" target=\"_blank\">POSH wizards can automate all of this<\/a> but it\u2019ll be fragile. I would much rather prefer to use Windows Server 2012 Failover Clustering.<\/p>\n<p>However, I still see uses for this VMM solution:<\/p>\n<ul>\n<li>Compliance Scanning: Maybe TeamA manages WSUS for the entire network.&#160; TeamB might manage the fabric and use Baselines and Compliance to verify that their fabric is up to date.&#160; The remediation has nothing to do with the system and settings that are used by TeamA. <\/li>\n<li>Some organizations, e.g. pharma, need complete control over change.&#160; The manual nature of patch selection, compliance, and remediation may suit their challenging needs. <\/li>\n<li>WS2012 has CAU to automate the orchestration of patching on clustered hosts.&#160; Windows Server 2008 R2 does not have this feature.&#160; Some wizards might figure out how to do this using System Center 2012 Orchestrator SP1 (here\u2019s an <a href=\"http:\/\/blogs.technet.com\/b\/opalis\/archive\/2010\/11\/22\/opalis-6-3-automating-hyper-v-cluster-patching-using-the-configuration-manager-ip-part-1.aspx\" target=\"_blank\">Opalis [pre-Orchestrator] link<\/a>), but others might choose to do the patching via VMM. <\/li>\n<\/ul>\n<p>I think I would try to restrict my usage of this VMM feature purely to compliance operations, maybe done once per year or quarter.&#160; CAU is a superior and easier to manage feature, and leverages existing investments in patching that span the entire network including the cloud, data centre and client devices.<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:60860931-6a9c-4910-8f24-85040dc62d72\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/System+Center\" rel=\"tag\">System Center<\/a>,<a href=\"http:\/\/technorati.com\/tags\/VMM\" rel=\"tag\">VMM<\/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>,<a href=\"http:\/\/technorati.com\/tags\/Security\" rel=\"tag\">Security<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>System Center 2012 Virtual Machine Manager SP1 includes the ability to manage the patching of your Hyper-V hosts (Windows Server 2012 or Windows Server 2008 R2) from the VMM console. WSUS is used to synchronize the catalog and download updates from Microsoft.&#160; You can use a dedicated WSUS installation (on your VMM server for small &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=14239\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using VMM 2012 SP1 Baselines &#038; Compliance To Orchestrate Patching Of Hyper-V Hosts&#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":[181,190,193,195,196],"class_list":["post-14239","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-hyper-v","tag-security","tag-system-center","tag-virtualisation","tag-vmm"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/14239","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=14239"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/14239\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}