six demon bag

Wind, fire, all that kind of thing!

2015-09-29

Hyper-V Live Migration fails with error 0x80090303

If you have a live migration fail with an error like this:

Live migration of 'Virtual Machine VM01' failed.

Virtual machine migration operation for 'scvmm_instance' failed at migration source 'Hypervisor01'. (Virtual machine ID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)

The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host 'Hypervisor02': The specified target is unknown or unreachable (0x80090303).

The Virtual Machine Management Service failed to authenticate the connection for a Virtual Machine migration at the source host: The specified target is unknown or unreachable (0x80090303).

check that both hypervisors have the required SPNs registered.


The output of setspn -L hostname should contain the following principals:

Hyper-V Replica Service/hostname
Hyper-V Replica Service/hostname.example.com
Microsoft Virtual Console Service/hostname
Microsoft Virtual Console Service/hostname.example.com
Microsoft Virtual System Migration Service/hostname
Microsoft Virtual System Migration Service/hostname.example.com

Create them like this if they're missing:

setspn -S "Hyper-V Replica Service/hostname" hostname
setspn -S "Hyper-V Replica Service/hostname.example.com" hostname
setspn -S "Microsoft Virtual Console Service/hostname" hostname
setspn -S "Microsoft Virtual Console Service/hostname.example.com" hostname
setspn -S "Microsoft Virtual System Migration Service/hostname" hostname
setspn -S "Microsoft Virtual System Migration Service/hostname.example.com" hostname

[Source]

Posted 17:22 [permalink]