Hyper-V Cluster VM Live Migration Failing

Ronald Seow 206 Reputation points
2021-04-21T23:46:49.503+00:00

Good morning!

I have recently experience some issues with VM Live Migration error 21502. I have checked most if not all of past post on this error but none worked.

We have say 10 Hypervisors in a Cluster. The problem only appeared on 2 of them say HV1 and HV8. The VMs on these 2 Hypervisors can only Live Migrate to each other. The VMs on the rest of the Hypervisors can Live Migrate to any of the Hypervisors including the 2 with issues.

The settings are all the same and hardware are also the same. Virtual Switch names are also the same. System Resources are sufficient and SMB3 are not used on any of the Hypervisors.

Can anyone point me a direction as to why this is happening?

Appreciate any comment and advise on this issue greatly appreciated.

Thank you and best regards.

Ronald

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,868 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
1,027 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2021-04-22T03:34:23.563+00:00

    Hi,
    Since some of the nodes can successfully migrate to other nodes, there should not be any problem with your configuration.
    According to the error code 21502, there might be some problem with the network. Before live migration, you need to go to the destination node and manually set the virtual switch ready. Would you change another virtual switch and try again?
    If the problem exists, please check the event log of your cluster. In event viewer as below:
    90213-image.png
    For your reference:
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/virtualization/troubleshoot-live-migration-issues

    Thanks for your time.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Ronald Seow 206 Reputation points
    2021-04-22T23:32:23.077+00:00

    Hi! Danny,

    Thanks for replying to my question.

    The logs has been checked repeatedly but they are too generic and does not point to an area we have not looked at.

    We have also checked the vSwitch but nothing is amiss.

    You see VMs on hypervisor 1 & 8 can only live migrate among themselves. VMs on other hypervisor like 5 can live migrate to 1 and 8 and also other hypervisors and back.

    Is there another area we should look into?

    Appreciate any advise.

    Thank you and best regards.
    Ronald

    0 comments No comments

  3. Anonymous
    2021-04-23T09:12:26.13+00:00

    Hi Ronald,

    Here’re my suggestions:

    1. In failover cluster manager, try viewing validation report, see if there’s any network or configuration problem:

    90741-image.png

    1. Creating a new VM on HV1 and HV8, try configuring them with and without virtual switches just like the other nodes, and see if live migration works;
    2. If live migration doesn’t work, try quick migration;
    3. Copy the vhds of those 2 VMs, use them to create new VMs and see if live migration works.

    Thanks for your time.

    Best regards,

    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. Ronald Seow 206 Reputation points
    2021-05-12T03:53:05.067+00:00

    Good afternoon! Danny,

    My apology for the delay in reply.

    I am still awaiting for an opportunity to perform that test you recommended. Will update again once i have any findings.

    Thank you and best regards.
    Ronald


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.