Data collection tools
The following tools are used to collect data surrounding VMM issues:
- VMM tracing tools: VMM tracing tools provide the ability to manage, collect, and view various traces and diagnostic information in a VMM environment:
- Gathering trace information: When you face an issue and need to report it to Microsoft, you can gather the trace by performing the following steps:
- In the VMM server, open the command prompt with administrative rights and type the following command:
logman create trace VMMDebug -v mmddhhmm -o
$env:SystemDrive\VMMlogs\DebugTrace_$env:computername.ETL
-cnf 01:00:00 -p Microsoft- VirtualMachineManager-Debug
-nb 10 250 -bs16 -max 512
-
- Start the trace collection by executing the following command:
logman start VMMDebug
-
- Next, try to reproduce the issue, and at the end stop the trace collection by executing the following command:
logman stop VMMDebug
-
- Send the ETL file located in %SystemDrive%\VMMlogs\DebugTrace_%computername%.ETL to Microsoft.
- Delete the debug information by executing the following command:
logman delete VMMDebug
After gathering the trace, you can use netsh trace convert command on the traces. This command converts the ETL binary trace logs into TXT files that can be viewed in any text editor.
To convert the ETL file:
- Run CMD or PowerShell with administrative privileges.
- Start conversions by executing the following command:
nets trace convert C:\VMMlogs\yourfilename.etl
You will receive a response like the following:
Input file: C:\VMMlogs\VMMLog_VMM01_09242130.etl
Dump file: C:\VMMlogs\VMMLog_VMM01_09242130.txt
Dump format: TXT
Report file: -
Generating dump ... done
- Open the generated TXT-file in Notepad by using the following command:
notepad c:\VMMlogs\yourfilename.txt