none
New Scheduled Maintenance Mode tool

Answers

All replies

  • Hi Mike

    The "Support numbers" I have are:

     ·         Up to 20 jobs per management group

    ·         Up to 10 items (computer, group, other class) in a job.  If you would like to schedule 1000 agents you should place them in a group.

    Does this happen with all objects? E.g. is it just windows computer objects or also SQL databases?

    Is it possible for you to create a group of objects and see if you still get the error.

    I'm going to install the RTM version on my test lab in a moment to see if I can replicate.

    Cheers

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    Wednesday, June 15, 2011 3:05 PM
  • Hi Mike

    OK - I don't see your problem immediately. But after I save a job and then try and reopen I do get your error. What I notice is that the schedule is then not set. If I reset the schedule and save again then it seems to work.

    I have also seen this when I modify a job schedule and then go back to the job itself and try to modify the job.

    Could you confirm if this is the behaviour you are seeing or can you just not even save a job in the first place

    Cheers

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    Wednesday, June 15, 2011 3:57 PM
  • Graham,

    Exactly....I can save the job without errors, however when I attempt to modify the job, I see the error.    At this point I am unable to select an existing Schedule.  It will let me re-create a schedule and save.  Then when I attempt to modify the job I see no error.  However there are only 6 objects selected insteady of the 7+ object I orginally configured.  If attempt to add any more than 6 objects, it will again display error and will only put the 6 objects in MMode.

    Wednesday, June 15, 2011 4:30 PM
  • This happens with Web-sites and applying to "Celected objects only"

    Actually I'd prefer to be able to put a group in MMode, but I can't figure out how to do that.  It appears the GUI allows you to select all objects from a group, but not select the group itself.

    Wednesday, June 15, 2011 4:34 PM
  • Hi Mike

    Yes - 6 works ... 7 doesn't. I'll escalate off to Rob.

    Cheers

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    Wednesday, June 15, 2011 4:36 PM
  • Thanks.  FYI: My DEV SCOM RMS server runs on W2k3 x86. 
    Wednesday, June 15, 2011 5:14 PM
  • Hi Mike

    A fix is being worked on - keep an eye on the blog and I'll also try and update this thread when it appears.

    Cheers

    Graham


    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    Thursday, June 16, 2011 7:10 AM
  • Great, thanks Graham!!
    Thursday, June 16, 2011 11:41 AM

  • - keep an eye on the blog ..........

    Graham, to which blog are you referring?

     

    Thanks


    -Al H
    Monday, August 01, 2011 5:40 PM
  • Hi

    I was referring to the MOMteam blog:

    http://blogs.technet.com/b/momteam/archive/2011/06/03/system-center-operations-manager-2007-r2-admin-reskit-released.aspx

    Rob should post up a new MP when he has collated together some enhancement requests and bug fixes.

    Cheers

    Graham


    New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
    Monday, August 01, 2011 6:17 PM
  • I experienced the same issue.  It blew up the first time we tried it for a production maintenance window.  I tried to schedule the job for 80 servers and it didn't throw me an error when creating it.  However, when I reopened it, it gave the exact same error message as Mike.

    Pleae let us know if there's an ETA on a fix.

    Thanks!

    Wednesday, October 12, 2011 11:21 PM
  • After removing this tool from several Production environments I have noticed the errors in the event logs go down dramatically.  Also response time within console seems to be much improved.  Although I'm thankful for the attempt to resolve a well known gap in the SCOM product (lack of maintenance mode scheduling) this release was half baked and worked a quarter of the time at best.

    I have since fell back on using the built in task scheduler along with powershell scripts.

     

    Microsoft needs to bake a solid MM solution into SCOM 2012 or there are going to be some unhappy customers.

    Thursday, October 13, 2011 2:54 AM
  • If you put the 80 servers in a group, then schedule maintenance mode for this group...I would expect it work without issues.  I have it running in my NON-PROD SCOM environment and put 200+ servers (in a group) in maintenance mode without any problems.
    Thursday, October 13, 2011 8:35 PM
  • Jon,

    So you are saying, just having the Tool installed cause errors in your event logs and slower console response time?  Anyone else experience this? 

    Thursday, October 13, 2011 8:36 PM
  • After removing this tool from several Production environments I have noticed the errors in the event logs go down dramatically.  Also response time within console seems to be much improved.  Although I'm thankful for the attempt to resolve a well known gap in the SCOM product (lack of maintenance mode scheduling) this release was half baked and worked a quarter of the time at best.

    I have since fell back on using the built in task scheduler along with powershell scripts.

     

    Microsoft needs to bake a solid MM solution into SCOM 2012 or there are going to be some unhappy customers.


    2012 has nothing new unfortunately. While PS scripts work, something more robust needs to be created.



    Thursday, October 13, 2011 9:03 PM
  • Jon,

    So you are saying, just having the Tool installed cause errors in your event logs and slower console response time?  Anyone else experience this? 

    No sir, the tool is still installed however I removed all the jobs at which point all the errors cleared up.
    Thursday, October 13, 2011 9:38 PM
  • Thanks for posted the link to the updated tool.  I found that the tool works fine, except there are not history events, so the report does not work.  --> SCOM Console > Monitoring > Scheduled Maintenance Mode > Job History Events there is nothing

    Does this need to be turned on via an override?  I didn't see any documentation about this.

    Wednesday, February 22, 2012 4:59 PM
  • That's not very encouraging, with no history events how does one know something went into maintenance mode during the night when most windows are scheduled?


    BW

    Thursday, March 22, 2012 3:57 PM
  • BW,

    I meant to update this forum a couple weeks ago.  I got history events working soon after my post.   I don't remember specifically what fixed my issue, but I do remember it was an error on my part ;)

    However the report provided in the MP was not very useful for me as it picked up other unrelated events.  It shows all events with Event ID 700.  I have other Event ID 700 events that are collected for something entirely different.

     

    Graham,

    Thanks posting these links, I will try out the outage and maintenance reports.  This will be very useful!!

    Friday, March 23, 2012 1:20 PM
  • Is there any development being done on a specific maintenance mode scheduler for SCOM 2012?  I've tried this tool from the 2007 R2 Resource Kit in the 2012 RC, and it would constanly cause email notifications to stop being sent.  That unacceptable for our environment, since we depend on the alert email notifications as the primary response workflow.

    I'm real hesitant to try it in the RTM version.  I have a test management group, but a very small environment that doesn't generate a lot of alerts, and won't be 100% confident if it is working.

    What's new in 2012 RTM that can do this (without scheduling a bunch of tasks).

    Thursday, May 17, 2012 2:14 PM
  • Hi

    The scheduled maintenance mode utility from the SCOM 2007 R2 Reskit does not work with SCOM 2012 and, to the best of my knowledge, there is no update to this planned.

    For SCOM 2012, the options are the same as for SCOM 2007 R2 - it is a mix of powershell and schedulers (including Orchestrator).

    Sorry I can't provide a more positive solution.

    Regards

    Graham


    Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    Thursday, May 17, 2012 2:19 PM
  • So what you're saying is that Microsoft isn't going to provide a desperatly needed feature of Operations Manager, and one has to implement SCORCH to actually have something reliable and auditable? 

    The primary reason any of us want to avoid scripts and such (IMHO) is so the maintence mode activity and reporting is integrated into SCOM, and a "single pane of glass" is used rather than hauggpauging everything together.


    BW

    Thursday, May 17, 2012 2:41 PM
  • We still have some manual backup processes where operators take down services, etc.   Since these are daily schedule outages, it wouldn't make sense to ask them to manually put machines in maint mode every night.

    It would be nice to have an updated scheduled maintenance mode utility for SCOM 2012.  It does seem like a 'missing feature.'  

    Thursday, May 17, 2012 2:46 PM
  • I will also stress the importance of a decent maintenance mode scheduling tool.  I am surprised this wasn't added to SCOM 2012 natively or at the least provide a compatible version of the 2007 R2 utility.   If SCOM is upgraded to 2012, I will actually be loosing this maintenance mode feature which is an important tool for scheduling ADHOC maintence.

    Wednesday, May 23, 2012 2:09 PM
  • I'm wondering if anyone has heard anything on this, it seems that someone should have written a resource kit or something by now.  SCOM 2012 RTM has been released for 4 months now.  This is a critical requirement for any enterprise monitoring suite, why didn't Microsoft put this feature in?!  Level 1 support (NOC) is not equipped to write powershell or scheduled tasks in my environment, and this needs to be done on an on-demand, or short notice basis sometimes.  MY KINGDOM FOR A GUI that does this.

    B. Wright

    Monday, August 06, 2012 2:23 PM
  • I'm throwing my two cents into this as well. SCOM Scheduler made my life much easier in my SCOM 2007 world. It seems that MM scheduling should have been a feature strongly considered in SCOM 2012. Will dig into Powershell and Task Scheduler but hoping for a native Microsoft solution to this.

    Orange County District Attorney

    Friday, September 14, 2012 2:26 PM
  • Dear Microsoft,

    We want Maintenance mode scheduling tool for SCOM 2012.

    Regards,


    MA

    Thursday, December 06, 2012 5:02 PM
  • I am completely baffled that MS can release  SCOM 2012 without even such a basic functionality as the ability to schedule maintenance mode. It is a basic feature in ANY monitoring application, from the simplest open source software. How are we supposed to handle the installation of the myriad of security patches that are released for Windows every month if we can't even schedule a maintenance mode during the nightly installation? I don't want to start the maintenance mode during the day before and leave the systems unmonitored for several hours.

    Complete piece of junk. I haven't found any improvements since 2007 R2 so far, so I wonder what they have spent all the years between the versions on...

    Monday, February 18, 2013 10:39 AM
  • The official MS answer (having asked the question myself) is that you should now be using SCORCH to perform this task.

    Monday, February 18, 2013 12:03 PM
  • We don't have SCORCH.  We ended up using this simple Powershell script (run via a schedule task on the root management server): https://gist.github.com/Nate630/4977282

    Monday, February 18, 2013 1:16 PM
  • That's really stupid, having to setup a separate product just for scheduling maintenance mode in SCOM...

    When googling it doesn't seem to be completely trivial there either, but I might be missing something. A task like this that is done quite often should just require a few clicks to select objects, start and end time.


    Monday, February 18, 2013 1:20 PM
  • We don't have SCORCH.  We ended up using this simple Powershell script (run via a schedule task on the root management server): https://gist.github.com/Nate630/4977282

    Does the script work for any type of object, or just computers? I have found some other scripts for setting maintenance mode on groups, but they seem to work just for computer objects. I would like to add the health service agents etc and put them in maintenance mode as well. We also have som web applications that need scheduled maintenance.

    EDIT:

    That script is for 2007, right? Since the New-MaintenanceMode command doesn't exist in 2012.

    Monday, February 18, 2013 1:34 PM
  • Right now https://gist.github.com/Nate630/4977282 is working for both computer objects and 'Web Applications' objects (those are the only two we need/have tested).  These two types of objects are in a single custom SCOM group that is put into Maint Mode each night via the Powershell script.

    I'm using this script on SCOM 2012 SP1.  It uses 'New-MaintenanceWindow,' not 'New-MaintenanceMode.'
    • Edited by NateClark Monday, February 18, 2013 1:53 PM
    Monday, February 18, 2013 1:39 PM
  • Great. I will give it a try.
    Monday, February 18, 2013 2:57 PM
  • Hi Nate

    ive tried getting the powershell script you recommended for scheduled maintanance of servers and cant seem to get the servers in a group into maintanance, the script runs fine but with no results

    ANY SUGGESTIONS?

    Thursday, October 31, 2013 10:19 AM
  • Johan - I'm not sure what the issue might be.  Here are some thoughts.

    1. Create a new group in SCOM.

    2. Try to add the objects as Explicit Group Members.

    3. Try running the script under a specific domain account that has admin rights in SCOM.

    Friday, November 01, 2013 12:39 PM
  • Does anyone know whether Microsoft is going to release a schedule maintenance mode tool like what is in the SCOM 2007 SDK?  Or possibly add this functionality into the SCOM console natively.  We have multiple monitoring applications in our IT shop and SCOM is the only product that does not offer a easy solution for scheduling maintenance mode.

    Wednesday, November 13, 2013 7:02 PM