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

Warning
This blog post is included for archival purposes and may contain outdated information. While it provides historical insights, we strongly recommend that you double-check the details before relying on any of the information outlined here.

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.

 

About Author

Christian Saborio

Christian is a seasoned computer engineer with a rich career spanning collaborations with industry leaders such as Artinsoft (now Mobilize.net), Microsoft, HP, and Intel. As a technical evangelist and trainer, Christian honed his expertise in Costa Rica and Seattle, delivering impactful solutions and sharing his knowledge.

Now based in Sydney, Australia, Christian channels his passion into web development, leading a talented team to tackle diverse projects with innovation and precision. His commitment to crafting exceptional digital experiences reflects his deep-rooted enthusiasm for technology and problem-solving.

Comments

    Comments are closed

    Thank you for your interest. Please fill out this form to provide us with your contact information. We'll get back to you as soon as possible.