This article describes how to enable debug logging for the Microsoft System Center 2012 R2 Virtual Machine Manager Storage Management Service.
Original product version: Microsoft System Center 2012 R2 Virtual Machine Manager, System Center 2012 Virtual Machine Manager
Original KB number: 3037626
Summary
The Storage Management Service communicates with SMI-S providers from several third-party providers.
Note: For a complete list of providers, see System Center 2012 VMM: Supported Storage Arrays.
Storage traces (CIMXML output) are useful when you troubleshoot storage provider failures.
Storage traces can grow very large quickly. Therefore, make sure that you try to narrow the time of collection as much as you can before you start a trace. To enable Storage Management Service tracing, follow these steps:
-
Create a VMM debug trace by following the steps in How to enable debug logging in Virtual Machine Manager.
-
Start the trace, and then go to step 3. You will capture both the VMM debug trace and the CIMXML trace at the same time.
-
Start Registry Editor (regedit.exe), and then locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Storage Management -
Create a key that is named
CIMXMLLogunder this key if a key that has this name does not exist. -
Create the following three values under the
CIMXMLLogkey:Name Type Data LogFileNameREG_SZ The full path of your CIMXMLLog. For example,C:\temp\cimxmllog.xml.LogLevelREG_DWORD 4 MaxLogFileSizeREG_DWORD 0x4000000 (hexadecimal) -
Restart the Windows Standards-Based Storage Management service (MSStrgSvc).
-
Reproduce your issue.
-
Stop your VMM trace from step 2, and then convert it.
-
Set the
LogLevelregistry value that you created in step 5 to 0 (zero). -
Restart the Windows Standards-Based Storage Management service (MSStrgSvc).
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
