To troubleshoot VMM issues, a debug tracing can be enabled and captured in SCVMM 2012 SP1 with the help of logman and SCVMM providers. The ETL file can easily be converted to txt file with netsh and can provide useful information on the issue being experienced. Lets go over the steps to enable debug tracing.
Logman is a builtin command line utility used to create and manage traces and performance logs (perfmon).
To Create a trace
PS > logman create trace SCVMM -o C:\scvmmdebuglog\vmmtrace.etl -cnf 00:30:00 -p Microsoft-VirtualMachineManager-Debug -nb 10 250 -bs 16 -max 512 -a
List Existing Traces:
PS > logman
Data Collector Set Type Status
To Start the trace we setup
PS > logman start scvmm
Now, replicate the issue, and then stop the trace
PS > logman stop scvmm
To Convert the etl file to txt file:
Input file: C:\SCVMMDEBUGLOG\vmmtrace_000001.etl
PS > dir C:\SCVMMDEBUGLOG
Mode LastWriteTime Length Name
Sample trace file (I created a snopwhot of a VM while the trace was running)