Yesterday while working on installing a new SCVMM 2008 R2 server setup, we encountered an issue when tried to add a new 2-node Hyper-V R2 host cluster to the VMM console.
Here’s how we were able to reproduce the error;
In SCVMM 2008 R2 console, select Add a host that is “Windows Server-based host on an Active Directory domain” . Enter the name of the server and choose add. You will get the following error;
Hostname.Hosts.domainname.com cannot resolve with DNS.
Ensure there is network communication with the DNS server. If the problem persists, contact your network administrator.
Details: No such host is known
We researched the issue and saw the following Wiki page that did not resolve this particular problem. (This article addresses similar error message in disjointed namespaces)
A few notes on System Center Virtual Machine Manager 2008 and disjointed namespaces
Here’s the TechNet explanation of this error message;
SCVMM 2008 R2 Command-Line Interface Error Messages
|%ComputerName; cannot resolve with DNS.||Ensure there is network communication with the DNS server. If the problem persists, contact your network administrator.|
NSLookup query against all node names and Failover Cluster name proved our DNS was working fine.
The next step was to check the networking and we found that default gateway on the SCVMM Server wasn’t configured properly. Setting the default gateway to the correct gateway resolved this issue.
I’ve also seen other networking problems on SCVMM server could result in the the same error message.
So, here are few troubleshooting steps that might help resolve this;
1- Domain functional level must be at least Windows 2003
2- DNS entries should exist for the SCVMM server and systems that will be added as Nodes and Failover Cluster names if any.
3- Check the network configuration on the SCVMM server such as default gateway and DNS server IP Addresses. Also, if there are multiple NICs on the server, try adding the node while other non-production NICs are disabled.
4- While adding the node to SCVMM, check the “Skip Active Directory name verification” checkbox on the Select Host Servers page where the host name is entered.