Fix Live Migrations on Hyper-V 2012 when starting the LM from another computer

Fix Live Migrations on Hyper-V 2012 when starting the LM from another computer

This is not a very common case, nontheless I though I’d post in case someone faces the same issue.

This is my scenario:

  • I have one Hyper-V host (HostA) with VMs that I want to move to another host (HostB)
  • I’m doing this via PowerShell on a computer that is not HostA or HostB, I’ll call it ScriptComputer
  • I have enabled Live Migration on HostB
  • I have configured constrained delegation from HostA to HostB

When I tried the Live Migration, I got the following:

The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host ‘HostB’: No credentials are available in the security package (0x8009030E).
Failed to authenticate the connection at the source host: no suitable credentials available.

After battling for a bit, I configured constrained delegation on the ScriptComputer and the Live Migration finished successfully.  Seems like regardless of what the host is, the machine that starts the LM must have constrained delegation configured.

 

Leave a Reply