Forum Discussion
Hyper-v Replica Traffic segregation
Hi StefanoC66,
I'd expect you're running into Kerberos authentication issues since there's no service principal name registrations (contained in the servicePrincipalName attribute) matching your CNAME on the Active Directory computer objects belonging to the hypervisor hosts.
What I wouldn't expect it to relate to is the self-signed certificate, though if you're getting an untrusted root error, you can easily get around that by putting the partner's certificate (without the private key - so just the CER file type) in the other partner's trusted root authority store.
Taking one of my Hyper-V hosts as an example, you can see that by default the hosts registers a number of services under the NetBIOS and DNS names of the actual host:
However, if I knock up a CNAME - doesn't matter where (such as in a DNS zone or in the hosts file as you've done), then I'd have to go and add an entry for each relevant service to the computer object's servicePrincipalName attribute.
I haven't bothered using CNAME records for Hyper-V hosts before so I can't authoritatively say which ones are required for your exact scenario, but if I had to guess, I'd work through the services in this order:
- Hyper-V Replica Service;
- Microsoft Virtual System Migration Service;
- WSMAN;
- HOST;
- Microsoft Virtual Console Service (I can't see this being needed but I've listed it for completeness).
Do not add entries for the RestrictedKrbHost or TERMSRV services.
As an example, if I wanted to register a CNAME of hv1.repl.company.com for the Hyper-V Replica Service then my list would grow from:
To:
Naturally, you'd need to do this for each required service.
Once that's done, you'd likely need to restart the Hyper-V host for the changes to take effect.
In any case, this is what's required to get Kerberos working with the CNAME. If Kerberos isn't what's holding you back then you may still run into this as an issue later, but for now, this would be my first item to check based on your description.
Cheers,
Lain