Friday, February 22, 2013

Enter a Group into Maintenance Mode using SCOM the Console (No Scripts Required)

I know this is a short post, but the idea is simplicity. Sometimes, we make things unnecessarily too complicated, and native functionality is sometimes overlooked. As a consultant, I strive to keep solutions for my customers as simple as possible while providing the required functionality.

Posts regarding group or class maintenance mode using powershell, scripts, new management packs, and otherwise complicated solutions are all over the internet. Is it really necessary to go to all this trouble? Not really. Yes, I use powershell to enter groups into maintenance mode for certain reasons, such as scheduled patching. But not everyone is a SCOM/scripting guru, and wants to use powershell.

I never see posts about entering groups into maintenance mode using the SCOM Console. It's simple, quick (much quicker than powershell), and effective.
There a couple of ways to enter a group into maintenance mode, but I will cover a single easy way - use discovered inventory.

How to enter a Group into Maintenance Mode the Easy Way

  1. Open the SCOM Console
  2. Go the the Monitoring Pane
  3. Select "Discovered Inventory"
  4. Select "Change Target Type"
  5. Type in your Group Name
  6. Select it and click OK
  7. On the Discovered Inventory View, select your Group
  8. Click "Start Maintenance Mode"
  9. Edit the Maintenance Mode Settings
  10. Click OK
  11. VIOLA!
  12. SIMPLE!
  13. DONE!

A simple post for a simple, yet effective solution using native features of SCOM.If you need some help or have any questions, leave a comment and I will be happy to help.

3 comments:

  1. I have sometimes a situation when we need to Put all the computers in Maintenance Mode for 2 hours as we need to apply windows patches.

    Can i Put All windows computers group in maintenance mode.

    Also would it be possible to share the powershell script that you use during the scheduled patching

    ReplyDelete
  2. Do you still need help. For some reason this just came through.

    ReplyDelete
    Replies
    1. Sure thanks.

      I would want to have an ability to put all the computers except scom management servers in maintenance mode for 2 hours during windows patch schedule.

      What is the best way to do that , so that all the agents dont come out of maintenance at the same time and cause issues with scom mngmnt serves.

      If you have some suggestion and best practices that will be great

      Delete