≡ Menu

Best tools for Scheduling maintenance mode in SCOM

If you have worked on SCOM extensively, I am sure you would have already realized about one of the important features that SCOM administrators expect, that is “Scheduling maintenance mode”. That means, one should be able to define at what time a server should enter maintenance mode on daily, weekly, monthly, yearly, run-once basis. Unfortunately, there is no such option in UI.

Couple of days back I was hit with same requirement. A few services on a server are expected to go down for maintenance performed by the application installed on the server. It brings back the services once its activity is completed which never exceeds 30 minutes. These services are CRITICAL for reset of day and not during the time when application is performing the shutdown/startup activity. Initially, I thought I can create a schedule and keep the server in maintenance mode for that 30 minutes daily but I was disappointed after seeing no such option in maintenance mode wizard.

I felt this is a kind of basic requirement for a System administrator to schedule a servers maintenance mode. It helps during scheduled patch reboots and application maintenances.

So, I started looking for the options to fulfill this purpose. After some research ended up with only two options.

  • #1: A third party powershell based tool that helps you schedule the maintenances:

The tool name is “SCOM Remote Maintenance Mode Scheduler“. It seems popular tool in internet for scheduling the maintenance mode since many people suggested this when I posted the requirement in technet forum. I read the documentation of it and per my understanding it has DotNet based GUI application which takes inputs from you and creates a scheduled task which inturn executes the powershell scripts that keeps the given computer(s) in maintenance at given schedule. I really like this idea and but felt something which is integrated with SCOM is more useful. The author of this tool has produced some more useful tools for SCOM world. Don’t miss to check them when you visit the site.

  • #2: A MS given facility to schedule the maintenance:

After some more research, I came across “System Center Operations Manager 2007 R2 Admin ResKit which has utility to schedule the maintenance mode. And the plus point with this is, it integrates with SCOM server. That means, you can see all the schedules by connecting to SCOM server and manage them. This is what exactly I needed. After exploring this further, I was bit disappointed because of it’s buggy behavior. It is giving too many dotnet errors and some of the menues in the application are some times not responding because of these errors. I couldn’t explore this tool completely due to these continuous dotnet errors which keeps popping up every time you click something on the utility.

I didn’t expect such buggy product from Microsoft for it’s own baby(SCOM). I wish they will hear this feedback and make it work lazy admins like me. I tried both x64 and x86 versions of the tool and their behavior is same.

So we don’t any other option than leaning towards the first utility if we really want to schedule some maintenance windows.

Hope this analysis helps.

Comments on this entry are closed.

  • Hemant September 6, 2012, 1:17 pm

    I have a problem in SCOM. Whenever I put the node in outage, after the outage the alerts created in the event viewer for events (specially Biztalk) during the outage period beconme active in SCOM console while ideally I think it should not report alerts to console for events that occured during the outage period. Any help would be appreciated.

  • Sitaram Pamarthi September 6, 2012, 2:32 pm

    Hemant, that seems weird. Are you able to reproduce the issue? If yes, I want you to take a look at OperationalManager event log of your SCOM server after enabling the maintenance mode. There might be some errors/warning relevant to the problem you are noticing.

  • Hemant September 10, 2012, 7:21 pm

    Many thanks for your reply Sitaram. I did go through on the blogs http://support.microsoft.com/kb/2704170 and they talked about the Event ID: 1216 which gets generated when we put the node in outage. On my system I see that event generated only when the node has been removed from outage. And as soon as I remove the node from outage, the event pour into the SCOM console. I will try to reproduce the error and let you know.

    Many thanks again!!

  • Hemant September 26, 2012, 4:51 pm

    Hi Sitaram,

    I am still facing the issue. Initially I get the request to put the node on outage for some activity so I put the specific object and all contained object on outage. As soon as I pull the node out of outage, the alerts start flowing for the events occured in the outage period. On checking the event viewer I have the information event for maitenance mode “ON” Event ID: 1215 and maintenance mode “OFF” Event ID: 1216 at the time I have performed the action. I am still unable to understand the reason why I am getting the alerts after outage window for events occured during outage window. Any advice would be high appreciated.

    Regards,
    Hemant