Step 1: Review the VMM Agent installation log fileOn the Hyper-V host, review the “vmmAgent.msi_%date%_%time%.log” file that’s located in the %systemdrive%\ProgramData\VMMLogs directory.
Note: This log file may not exist if the failure occurs early in the installation process.
Step 2: Use the System Center Virtual Machine Configuration Analyzer (VMMCA)The Virtual Machine Manager Configuration Analyzer is a diagnostic tool that administrators can use to evaluate important configuration settings for computers that either are serving or might serve VMM roles or other VMM functions. The Virtual Machine Manager Configuration Analyzer does the following:
· Scans the hardware and software configurations of the computers that you specify
· Evaluates these configurations against a set of predefined rules
· Displays error messages and warnings for any configurations that are not optimal for the VMM role or for other VMM functions that you specified for the computer
To download the Virtual Machine Manager Configuration Analyzer, visit the following Microsoft website:
http://www.microsoft.com/download/details.aspx?FamilyID=02d83950-c03d-454e-803b-96d1c1d5be24&displaylang=enStep 3: Verify the recommended hotfixes are installed on the VMM and Hyper-V serversOn the VMM and Hyper-V servers, verify the recommended hotfixes are installed:
2397711 Recommended hotfixes for System Center Virtual Machine Manager 2008 R2
962941 Recommended hotfixes for System Center Virtual Machine Manager 2008
Step 4: Verify the ports used by VMM are not blocked by a firewallVerify the ports used by VMM to communicate with the Hyper-V host are not blocked by a firewall. By default, VMM uses the following ports to communicate with the Hyper-V host:
TCP port 80
TCP port 443
TCP port 2179
The following knowledge base article covers some tests to verify communication between the VMM and Hyper-V hosts:
2465160 Add Host or other action fails with (2916) 0x80338126 in System Center Virtual Machine Manager 2008
For more information on the ports used by VMM, please reference the following TechNet article:
http://technet.microsoft.com/en-us/library/cc764268.aspxStep 5: Check for duplicate SPNsPerform the steps documented in the following article to check for duplicate SPNs:
970923 Unable to add a managed host in SCVMM 2008 and SCVMM 2008 R2, Error 2927 (0x8033809d)
Step 6: Check for corrupted performance counters on the Hyper-V hostReview the following knowledge base article to determine if the Hyper-V host has corrupted performance counters:
2001247 SCVMM: Adding a host to System Center Virtual Machine Manager 2008 may fail with error 2912 / 0xc0000BBF
Step 7: Manually install the VMM Agent on the Hyper-V hostIf the Add-VMHost job continues to fail, manually install the agent on the Hyper-V host by performing the steps documented in the following TechNet article:
http://technet.microsoft.com/en-us/library/cc764218.aspx