How and When to Clear the Cache
Updated: May 13, 2016
Applies To: System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager
In System Center 2012 – Operations Manager, when troubleshooting an issue with the Operations console or with an agent, you may see recommendations to “clear the cache”. (For example, see the Knowledge Base article Troubleshooting gray agent state.) The following table explains how and when to clear the console cache or agent cache.
How to clear
Open the Operations console with the /clearcache parameter.
"C:\Program Files\System Center Operations Manager 2012\Console\Microsoft.EnterpriseManagement.Monitoring.Console.exe" /clearcache
Use this method to open the Operations console if you experience errors trying to retrieve data in views, such as ObjectNotFoundExceptions, or when the cache file grows too large and you want to reduce its size on disk.
Opening the Operations console with /clearcache deletes the following file:
Health service on agent-managed computer
This should be the final step when troubleshooting issues with the agent, before uninstalling and reinstalling the agent.
Clearing the agent cache can cause data loss of monitoring data from that system.
When the service restarts, the agent requests configuration from the management server.
Health service on management server
Run this task on a management server when the management server is not functional, a restart has not fixed the problem, and you have exhausted other troubleshooting options.
Clearing the agent cache can cause data loss of monitoring data from agents to the management server.
Maintenance of Operations Manager
Monitoring the Health of the Management Group
Inventory of Operations Manager Infrastructure
Scheduling Maintenance in Operations Manager
How to Configure Grooming Settings for the Reporting Data Warehouse Database
How to Restart a Management Server
How to Configure Grooming Settings for the Operations Manager Database
Recommendations for Daily, Weekly, and Monthly Operations Manager Tasks