{"id":10597,"date":"2010-05-13T17:39:00","date_gmt":"2010-05-13T17:39:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=10597"},"modified":"2010-05-13T17:39:00","modified_gmt":"2010-05-13T17:39:00","slug":"integrate-vmm-maintenance-mode-with-opsmgr","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=10597","title":{"rendered":"Integrate VMM Maintenance Mode with OpsMgr"},"content":{"rendered":"<p>I like the idea of maintenance mode in System Center Virtual Machine Manager 2008 R2.&#160; You simply put a host into maintenance mode and it uses Live Migration to flush all the VM\u2019s to the most suitable hosts in the cluster.&#160; Intelligent placement ignores that host until maintenance mode terminates.&#160; You can then work away on it, e.g. patch it or do hardware maintenance.<\/p>\n<p>The first time I tried it in anger in production I forgot to set maintenance mode in OpsMgr.&#160; As you can expect, a few alerts went out and my boss contacted me pretty quickly.&#160; That\u2019s because VMM maintenance mode has nothing to do with Operations Manager\u2019s maintenance mode.&#160; OK \u2013 I\u2019ll have to remember that from now on.<\/p>\n<p>On a tangent: we patch almost everything automatically on a scheduled basis.&#160; Scripts run on a scheduled basis to trigger maintenance mode.&#160; That prevents most of the noise but still some gets through.&#160; Our Hyper-V hosts are patched manually.&#160; Live Migration enables this to be done during the day.<\/p>\n<p>I watched the System Center Influencers (only) demo of the Virtual Machine Servicing Tool V3.0 beta the other evening.&#160; It adds functionality to patch clustered W2008 R2 Hyper-V hosts in an automated scheduled basis.&#160; Sweet!&#160; It uses VMM to put each host, one at a time, in VMM maintenance mode and patches it.&#160; Immediately I asked about OpsMgr.&#160; There is no integration.<\/p>\n<p>So I asked the question of MS and Michael Michael (MS VMM teams and author of <a href=\"http:\/\/www.amazon.com\/Mastering-Virtual-Machine-Manager-2008\/dp\/0470463325%3FSubscriptionId%3DAKIAIJ5WNI7ZSH7W4OXA%26tag%3Dafm0c-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0470463325\">Mastering Virtual Machine Manager 2008 R2<\/a>) responded with a solution.&#160; There is an <a href=\"http:\/\/blogs.technet.com\/scvmm\/archive\/2009\/06\/08\/integrating-vmm-and-opsmgr-maintenance-mode.aspx\">OpsMgr 2007 and 2007 R2 management pack<\/a> that will detect VMM 2008 R2 maintenance mode on your VMM server.&#160; It will use this to put the relevant host into maintenance mode in OpsMgr.&#160; Nice!<\/p>\n<p>I\u2019ve yet to test this so I cannot say how successful it will be.&#160; I also don\u2019t know if it will do anything to quieten down the Failover Clustering management pack which will create some noise when a clustered host reboots.&#160; It should be noted that the developer provides it as is with no support statements.&#160; That means it is not an official MS product.&#160; Test it before you use it.<\/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:09d70005-61fb-4ba6-a9be-e5edf1d39a68\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <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\/VMM\" rel=\"tag\">VMM<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Operations+Manager\" rel=\"tag\">Operations Manager<\/a>,<a href=\"http:\/\/technorati.com\/tags\/System+Center\" rel=\"tag\">System Center<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I like the idea of maintenance mode in System Center Virtual Machine Manager 2008 R2.&#160; You simply put a host into maintenance mode and it uses Live Migration to flush all the VM\u2019s to the most suitable hosts in the cluster.&#160; Intelligent placement ignores that host until maintenance mode terminates.&#160; You can then work away &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=10597\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Integrate VMM Maintenance Mode with OpsMgr&#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":[181,83,193,195,196],"class_list":["post-10597","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-hyper-v","tag-operations-manager","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\/10597","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=10597"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/10597\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}