SCOM Maintenance Mode effect on agents
I was wondering if anyone could tell me what specifically maintenance mode does to an agent and the reporting on that agent. I know that maintenance mode shuts down the alert monitoring on an agent but what specifically does it do step by step? i.e. what
services does it shut down or what scripts does it run. Also, when the agent comes out of maintenance mode and a report is ran on it what effect does the maintenance mode time have on the report? Is all the data collected for the report or does it leave out
maintenance mode? And is it possible to make the report leave out all data (including collected windows event IDs) for that agent when it was in maintenance mode?
July 28th, 2011 7:39am
Hi
I saved this from a response by Kevin Holman on another thread.
"When you put an agent in MM, a call is made to the SDK to trigger Maintenance Mode (MM) for the agent.
A configuration update is recalculated and sent to that agent. The agent gets the config update, which has instructions to unload its workflows targeting classes that were placed into MM.
The RMS checks on a schedule for all agents that have MM expiring – and then sends a config update to the agent to stop MM at the appropriate time.
The agent loads up workflows again when MM ends."
Specifically to answer your questions:
1) what services does it shut down or what scripts does it run?
No services are stopped. Workflows that target the class that was put into maintenance mode are unloaded. So if you put a SQL database into maintenance mode then all monitoring of the SQL database stops (all rules \ monitors targeted at SQL Database are
unloaded).
2) Also, when the agent comes out of maintenance mode and a report is ran on it what effect does the maintenance mode time have on the report?
This depends if it is scheduled (planned) or ad-hoc (unplanned) maintenance. The generic availability report allows you to state whether maintenance mode should affect availability. For other reports (e.g performance reports) there will just be no data (a
gap in the chart)
3) is it possible to make the report leave out all data (including collected windows event IDs) for that agent when it was in maintenance mode?
You can't specific what is collected \ left out. You choose the class that is put into maintenance mode and OpsMgr unloads all workflows targeted at that class.
Other maintenance mode links:
http://blogs.technet.com/kevinholman/archive/2009/06/05/maintenance-mode-tying-the-text-of-the-category-to-the-database.aspx
http://blogs.technet.com/b/kevinholman/archive/2009/06/11/outages-and-maintenance-report.aspx
Hope it helps
Graham
New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
View OpsMgr tips and tricks at
http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2011 9:14am


