Virtual Machine Manager – General
General System Center Virtual Machine Manager discussions
公告
- 連結
New to VMM Forum? Read before posting a question.
Hello!
This forum is dedicated to questions about SCVMM (System Center Virtual Machine Manager). Please use good judgement to post your question to the relevant subforums.
If your question is not about this product, please find the correct forum here: http://forums.microsoft.com/TechNet/default.aspx?SiteID=17.
When posting a question or an issue, it is helpful to include the product version you have question about, your VMM setup environment, the steps you tried and specific error message you observed.
A few related forums for your ease of reference are:
-
Hyper-V (Server Virtualization) forum
-
Windows Powershell forum
-
WMI / WinRM issues:
-
Server Core forum:
-
Windows Failover Clustering forum:
Thanks!
-
- 連結
How to collect SCVMM traces
For general information about troubleshooting VMM 2012, such as collecting traces and logging information, see VMM 2012 General Troubleshooting Guide (http://go.microsoft.com/fwlink/?LinkID=211124) on the Microsoft Download Center. .
Before Collecting a DebugView Trace
1. Install DebugView on the SCVMM server, the host in question, and/or the Web server (for troubleshooting self-service portal issues).
2. Save the following code into a text file and name it "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. Save the following code into a text file and name it "odson.reg":
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine]
"ODS"=dword:00000001
4. Save the following code into a text file and name it "odsoff.reg":
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Carmine]
"ODS"=dword:00000000
5. Copy the three files created above, odsflags.cmd, odson.reg, and odsoff.reg, to the machines that DebugView will be used on.
6. Run the following commands at an elevated Command Prompt:
odson.reg
odsflags.cmd 255
(If you need to collect traces for both VMM Server and the host or the Web server, make sure to run these commands on all of these computers).
Collecting a DebugView Trace
1. Open DebugView as an administrator and ensure that both Capture Win32 and Capture Global Win32 are selected on the Capture menu item. You should be able to see tracing from the VMM components showing up in DebugView. (If you need to collect traces for both VMM Server and the host, make sure to do these steps on all of these computers).
Figure 2: DebugView.exe Capture menu
2. Restart the Virtual Machine Manager Service on the SCVMM server by running the following commands at an elevated command prompt:
net stop vmmservice
net start vmmservice
3. Restart the Virtual Disk Service by running the following commands at an elevated command prompt:
net stop vds
net start vds
4. Restart the Virtual Machine Manager Agent service on the host by running the following commands at an elevated command prompt:
net stop vmmagent
net start vmmagent
5. Restart the IIS service on the Web server by running the following command at an elevated command prompt:
iisreset
6. Reproduce the issue.
7. After reproducing the issue, save the output from the DebugView to a text file for analysis.
Important:
Turn off tracing after collecting the data by running the following command at a Command Prompt:
odsoff.regThe format of a DebugView trace differs from that of an ETL trace since DebugView captures all Win32 application activity and, if selected, Kernel mode activity. If saved as a text file, it may be opened in other tools such as TextAnalysisTool.net or Trace32.
篩選及排序使用這些選項可縮小討論清單。
- 6235

Getting Error "This product cannot run on your current Windows Server SKU" on installing Microsoft iSCSI Target SMI-S Provider setup
abhiagg 2013年4月10日 下午 05:16 - 161

Virtual Machine Manager Set Logical Network with VLAN tag
g18c 2013年5月21日 下午 08:06 - 51024

Create HYPER-V Cluster erro 25325
Ferrell Fuller 2012年10月9日 下午 09:00 - 152

vmmservice crash 2012 Sp1 Ru2
SteveLith 2013年5月22日 下午 06:40 - 359

SCVMM 2012 SP1 UR2 Logical Switch deployment - connection to host is lost
Trail2012 2013年5月22日 下午 12:14 - 132254

SCVMM 2012, Conntect via conosle does not work when logged in with specified credentials
J0fe 2012年9月21日 上午 08:47 - 144

VMM 2012 Error 20552 - For ISO share VMM does not have appropriate permissions to access the resource
g18c 2013年5月24日 下午 03:42 - 4378

Hyper-v Server 2012 cluster error in SCVMM logs(jobs) - Can't refresh cluster
pumanet 2013年3月6日 下午 03:57 - 151

vmmservice.exe stops
Emptyone 2013年5月23日 上午 10:18 - 6367

VMM 2012 SP1 Service Crashes Repeatedly - Error 19999
W3ST_ 2013年3月11日 下午 08:07 - 145

Guest VM default hardware profile - increase default memory and drive space settings
g18c 2013年5月23日 下午 07:47 - 137

Virtual Machine Manager crashes running powershell script to revert VMs to checkpoint
akamurph 2013年5月23日 下午 07:39 - 559

VMM cloud per single server
g18c 2013年5月22日 下午 11:11 - 243

Can't choose LUN when deploying VM to Cloud
RichL_PLA 2013年5月22日 下午 08:09 - 33372

Failed to register the service principal name 'Microsoft Virtual System Migration Service'.
phillbl 2012年3月17日 上午 12:07 - 046

Error Creating a Service Instance
TimStspry 2013年5月22日 下午 03:36 - 147

SCVMM 2008 R2
denners 2013年5月22日 上午 10:49 - 295

Max Concurrent VM deployments
Stephen Buhagiar CNI 2013年5月15日 上午 10:22 - 91306

Windows 2012 with 2 nics - reference architecture with SCVMM 2012 SP1
Pavel N. Kosachev 2013年1月25日 下午 03:31 - 153

How to run VMM cmdlets from C# code on a remote system using PS remoting to the SC-VMM server?
Vic.Lix 2013年5月21日 下午 07:12

