MIM 2016 SP1 – Portal Servers Run Out of Disk Space.


Summary:

I recently ran into an issue after upgrading a MIM Environment to MIM 2016 SP1 (version 4.4.1459.0 or greater) where the MIM portal trace log files would grow until all available disk space was consumed. Below is the root cause of the issue and the method I used to resolve it. 

Temporary Fix to Restore Service:

In the event you experience this issue and need a quick fix to restore service to your MIM environment, the trace log files Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt can be copied to another location or deleted to reclaim storage space. Please refer to your firm’s policies and guidelines on log file retention before moving or deleting these files.

Cause:

MIM SP1 implemented verbose logging to the trace logs located in the \Program Files\Microsoft Forefront Identity Manager\2010\Service container to improve visibility and logging of portal workflow activities. These trace log files are stored in the following files:

Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt)

Additional details of this can be found at the following link: https://docs.microsoft.com/en-us/microsoft-identity-manager/infrastructure/mim-service-dynamic-logging

Resolution:

Trace Log file growth can be managed by upgrading to MIM version 4.5.26.0 which implements circular logging of the Trace Log files. The following link provides additional details on sizing the storage and setting the max file size for each of the log files:

https://docs.microsoft.com/en-us/microsoft-identity-manager/infrastructure/mim-service-dynamic-logging

MIM 4.5.26.0 Upgrade Procedure:

1. Please read the release notes carefully before upgrading your environment… https://support.microsoft.com/en-us/help/4073679/hotfix-rollup-package-build-4-5-26-0-is-available-for-microsoft

2. Applying a Release Update to the MIM Synchronization Service and Offline Spare

https://blogs.msdn.microsoft.com/connector_space/2018/06/12/applying-a-release-update-to-the-mim-synchronization-service-and-offline-spare/

3. Apply Prerequisites to MIM Portal Servers

Install 2013 x64 Visual C++ Redistributable Packages (vcresist_x64.exe)

https://www.microsoft.com/en-us/download/confirmation.aspx?id=40784&6B49FDFB-8E5B-4B07-BC31-15695C5A2143=1

4. Install .Net 4.6

https://www.microsoft.com/en-us/download/details.aspx?id=48130

5. Clean Up Trace Log Files

The trace log files Microsoft.ResourceManagement.Service_tracelog00.svclog and Microsoft.ResourceManagement.Service_tracelog00.txt can be copied copying to another location or deleted to reclaim storage space. Please refer to your firm’s policies and guidelines on log file retention before deleting these files.

6. Applying a Release Update to the MIM Service and Portal

https://blogs.msdn.microsoft.com/connector_space/2018/06/12/applying-a-release-update-to-the-mim-service-and-portal/

Comments (0)

Skip to main content