You could also title this, "How to Perform an Online/Offline Defragmentation of your Health Service Store in System Center".
Problem Description:
First, the SCOM console began to fill up with AD Site Availability Health Degraded and AD Site Performance Health Degraded critical alerts from the Active Directory Management Packs.
On the offending domain controller, I observed the following Application event log spewing:
Troubleshooting:
Initially what I suspected was that I had an application or process going bonkers on the server, taking up memory and causing the SCOM agent to malfunction or be starved of resources. I loaded the Systernals Process Monitor utility to see what was happening when these events fired off, since typically it only took a few minutes in between each event. What was captured was a significant amount of file activity from the Health Service to
C:\Program Files\Microsoft Monitoring Agent\Agent\Health
Service State\Health Service Store\HealthServiceStore.edb . Essentially, there was no other process at the time of these warnings or corresponding alerts in the System Center Management Console that could account for issues on the system.
With the smoking gun being the Health Service Database, I performed some quick online maintenance from within the console to start.
In the Operations Manager Console, I started by browsing to the Operations Manager folder, then Agent Details and selecting the Agents by Version view.
Selecting the offending computer brought up the Health Service Tasks I could perform, Start Online Store Maintenance, being the one I was looking for.
Final Solution:
Unfortunately, the online store maintenance was not adequate enough to remediate the errors and warnings I was encountering so I opted for an offline defragmentation of the Health Service Store database. Perform the following if local warnings persist on the client system.
Unfortunately, the online store maintenance was not adequate enough to remediate the errors and warnings I was encountering so I opted for an offline defragmentation of the Health Service Store database. Perform the following if local warnings persist on the client system.
- Login to the offending client system via console or RDP
- Open an administrative command prompt
- Change directory to "C:\Program Files\Microsoft Monitoring Agent\Agent\Health Service State\Health Service Store"
- From the service console (services.msc) or from command prompt (net stop “Microsoft Monitoring Agent”), stop the Microsoft Monitoring Agent service
- Run esentutl /r edb (without this, you likely won't be able to perform a defragmentation)
- Next, run esentutl /d HealthServiceStore.edb
When this completed, my HealthServiceStore.edb file went from 174MB to 27Mb and both the warnings in the local Application event log and the critical health alerts in the System Center Operations Manager Console went away.
Hi,
ReplyDeleteThanks for sharing a very interesting article about AD Site Availability Degraded / AD Site Performance Health Degraded. This is very useful information for online blog review readers. Keep it up such a nice posting like this.
Regards,
WondersMind,
Web Design Company Bangalore
This comment has been removed by the author.
ReplyDeleteYour post is very informative. I have read all your posts and all are very informative. Thanks for sharing and keep it up like this. Website Designing Company in Delhi
ReplyDelete