次の方法で共有


SCVMM traces 를 수집하는 방법

?? ????? ???? ??, ????? ?? ??? ???? ? ?? Traces? ???? ?? ?????.

?? ???? Trace? ???? ????
- ??? Crash ????,...
?? ??? ???? ??? VMM ?? ???? Traces? ?????.
- ??? ?? ????, ...
VMM ???? Traces? ?????.
- ??? ?? ?? VM ????, ...
VMM ??? Host ?? ???? Traces? ?????.
- Self-service portal ????, ...
Web ??? VMM ???? Traces? ?????.

Traces? ???? ??
---------------------------

1. ?? ??? DebugView ?? ??? ?? VMM ??, Host ?? ?? Web ??? ???? ?????.
https://www.microsoft.com/technet/sysinternals/utilities/debugview.mspx

2. ??? ??? ?? ??? ??? ? ??? odsflags.cmd ???? ?????.

@echo off
echo ODS control flags - only trace with set flags will go to ODS

if (%1)==() goto :HELP
if (%1)==(-?) goto :HELP
if (%1)==(/?) goto :HELP

echo Setting flag to %1...
reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine" /v ODSFLAGS /t REG_DWORD /d %1 /f
echo Done.
goto :EXIT

:HELP
echo Usage: odsflags [flag], where flag is
echo TRACE_ERROR = 0x2,
echo TRACE_DBG_NORMAL = 0x4,
echo TRACE_DBG_VERBOSE = 0x8,
echo TRACE_PERF = 0x10,
echo TRACE_TEST_INFO = 0x20,
echo TRACE_TEST_WARNING = 0x40,
echo TRACE_TEST_ERROR = 0x80,

:EXIT

3. ?????, ??? ??? ?? ??? ??? ? odson.reg ???? ?????.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine]
"ODS"=dword:00000001

4. ?????, ??? ??? ?? ??? ??? ? odsoff.reg ???? ?????.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine]
"ODS"=dword:00000000

5. ?? ?? ???? ??? ?? VMM ??, Host ?? ?? Web ??? ?????.
6. VMM tracing ? ????? ??? ???? ???? ?? ? odson.reg ? odsflags.cmd 255 ? ?????.
(?? ? ? ???? Traces? ???? ???, ?? ????? ?? ???? ???? ???).
7. DebugView? ??? ???? ?? ? Capture ??? "Capture Win32"? "Capture Global Win32" ?? ?? ???? ??? ?????. ? ?, DebugView ? ???? VMM components ???? Tracing ? ??? ???.
8. VMM ????? Vmmservice ? ? ?????. (net stop vmmservice && net start vmmservice)
9. Host ????? Agent service ? ? ?????. (net stop vmmagent && net start vmmagent)
10. IISreset ? ?? Web ???? IIS ???? ? ?????.
11. ??? ??????.
12. DebugView ???? ??? ??? ??? ?????.
13. Tracing ? ??? ?? ?? "odsoff.reg"? ???? Tracing ? ???.