Hi,
I have two 2012 R2 Hyper-V servers with few VM’s running on them and when I’m trying to enable replica on one of the VMs I recieve the error below:
Enabling replication failed.
Hyper-V failed to enable replication.
Hyper-V failed to authenticate using Kerberos authentication.
Hyper-V failed to enable replication for virtual machine 'servername': The target principal name is incorrect. (0x80090322).(Virtual machine ID 33B2EBCC-B3A0-AA80-4DBCFCF923A5)
Hyper-V failed to authenticate the Replica server servername.domain.com using Kerberos authentication. Error: The target principle name is incorrect. (0x80090322)
I have looked at the SPN for both of the hyper-v servers and it seem to have the correct SPNs including. Both Hyper-v server are not in the same domain. I added the IP and servername in the hostfile for dns resolving.
Hyper-V Replica Service/servername
Hyper-V Replica Service/servername.mydomain.com
Microsoft Virtual Console Service/servername
Microsoft Virtual Console Service/servername.mydomain.com
Microsoft Virtual System Migration Service/servername
Microsoft Virtual System Migration Service/servername.mydomain.com
Any help would be appreciated!
Kind Regards
Alexander
Ok, this really weird. When I tried to replicatie a server on the other Hyper-v I get a other error:
Hyper-v failed to enable replication. Hyper-v cannot connect to the replica server.
Hyper-v failed to enable replication for virtual machines servername: The operation times out (0x00002EE2). (Virtual machine ID A528A087-B38E-4CCA-8029-C76E965F2E31)
Hyper-V cannot connect to the specified Replica server "servername.domain.com ". Error: The operation times out (0x00002EE2) Verify that the specified server is enabled as a replica server, allows inbound connection on port "443", and
supports the same authentication scheme.
I checked the firewall at both side and everything is looking fine..