大网数据广告活动
启动与系统组件

Collect Virtual Machine Manager traces

· 52CE 我爱测

Describes how to enable logging for the System Center 2012 R2 Virtual Machine Manager Storage Management Service.

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:

  1. Create a VMM debug trace by following the steps in How to enable debug logging in Virtual Machine Manager.

  2. 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.

  3. Start Registry Editor (regedit.exe), and then locate the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Storage Management

  4. Create a key that is named CIMXMLLog under this key if a key that has this name does not exist.

  5. Create the following three values under the CIMXMLLog key:

    Name Type Data
    LogFileName REG_SZ The full path of your CIMXMLLog. For example, C:\temp\cimxmllog.xml.
    LogLevel REG_DWORD 4
    MaxLogFileSize REG_DWORD 0x4000000 (hexadecimal)
  6. Restart the Windows Standards-Based Storage Management service (MSStrgSvc).

  7. Reproduce your issue.

  8. Stop your VMM trace from step 2, and then convert it.

  9. Set the LogLevel registry value that you created in step 5 to 0 (zero).

  10. 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.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/09/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。