{"id":9077,"date":"2008-06-17T18:08:00","date_gmt":"1999-11-29T20:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=9077"},"modified":"2008-06-17T18:08:00","modified_gmt":"1999-11-29T20:00:00","slug":"operations-manager-2007-wsus-and-scheduled-maintenance-mode-windows","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=9077","title":{"rendered":"Operations Manager 2007, WSUS and Scheduled Maintenance Mode Windows"},"content":{"rendered":"<p>I&#8217;m a believer in using WSUS to deploy updates to servers on a scheduled basis.\u00a0 I know from experience that updates don&#8217;t get installed on medium to large farms if you rely on manual intervention.\n<\/p>\n<p>There&#8217;s a problem though; if you run something like System Center Operations Manager 2007 to monitor your servers then it&#8217;s going to throw a wobbly when servers get updated.\u00a0 The answer is to use maintenance windows by enabling maintenance mode on the servers you are updating.\u00a0 But who is going to put the servers in maintenance mode?\n<\/p>\n<p>The answer is to run a script that does it for you according to a schedule.\u00a0 Here&#8217;s what I&#8217;m going to try to do:<\/p>\n<ul>\n<li>A CSV will detail day, time and server FWQN, i.e. when a monitored server is to be put in maintenance mode.\n<\/li>\n<li>A script will run every minute on the SCOM server.\u00a0 It will parse the script and and server that&#8217;s due to be but in maintenance mode in the next minute will trigger a command.\n<\/li>\n<li>The script will us <a href=\"http:\/\/blogs.technet.com\/cliveeastwood\/archive\/2007\/09\/18\/agentmm-a-command-line-tool-to-place-opsmgr-agents-into-maintenance-mode.aspx\">AgentMM<\/a> to put the server in maintenance mode.\n<\/li>\n<li>This window will coincide with the schedule applied to the server for updating.<\/li>\n<\/ul>\n<p>If you have a simpler network then this might be a simpler process.\u00a0 For me, I have servers with varying times that are suitable for updates so I have to be very flexible.\n<\/p>\n<p>I&#8217;ll post the <a href=\"http:\/\/joeelway.spaces.live.com\/blog\/cns!2095EAC3772C41DB!886.entry\">script <\/a>when I have it tested and validated.\n<\/p>\n<p>EDIT: I&#8217;ve added a link to my script.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a believer in using WSUS to deploy updates to servers on a scheduled basis.\u00a0 I know from experience that updates don&#8217;t get installed on medium to large farms if you rely on manual intervention. There&#8217;s a problem though; if you run something like System Center Operations Manager 2007 to monitor your servers then it&#8217;s &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=9077\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Operations Manager 2007, WSUS and Scheduled Maintenance Mode Windows&#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":[1],"tags":[],"class_list":["post-9077","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9077","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=9077"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9077\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}