Live Migration fails when using vHBA

lra 86 Reputation points
2022-05-04T14:46:30.02+00:00

Good afternoon,

I have a query about a vm that I want to perform a live migration on, it is a vm that has a fiber adapter connected.

however when I start the live migration, the migration fails, reviewing the logs indicates that the live migration fails because the origin cannot see the target.

LUN Expected 28. Found: 4

I went to the vSAN configuration on the hyper-v hosts and on each node only 4 WWNs are presented, not all 28.

this is error:
VM' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005).

In case of restarting the host, the vm will not move, but at the end of the host restart, that vm could be affected or not turn on?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,596 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,624 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Pascal Slijkerman 91 Reputation points
    2022-05-06T08:54:36.52+00:00

    Hi Ira,

    Make sure your SAN and HBAs supports NPIV (N_Port ID Virtualization T11 standard)
    And that the virtual WWNs are all allowed on the volumes and zoning. The Physical HBAs have nothing to do with it. You need to look at the 4 Virtual HBA's WWNs from your VM.

    See more defaults in the link below.
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn551169(v=ws.11)

    Good Luck
    Pascal Slijkerman
    www.splitbrain.com

    0 comments No comments

  2. Limitless Technology 39,506 Reputation points
    2022-05-09T08:21:57.347+00:00

    Hi there,

    I think you are using vSAN configuration using vHBA.Ensure that you have the same name and configuration for the vHBAs in all the Hyper-V nodes in the cluster. From the error, it seems like the vHBA is not available in the destination server.

    Also, make sure that the below hotfix has been installed Live migration of virtual machine to another host fails on a Windows Server https://support.microsoft.com/en-us/topic/live-migration-of-virtual-machine-to-another-host-fails-on-a-windows-server-2012-r2-based-hyper-v-host-server-6da5e71e-3538-01b8-7ebf-08804a40b7fc

    Here is an article about VSAN switch configuration, check if you follow the correct step to deploy:

    Implement Hyper-V Virtual Fibre Channel

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn551169(v=ws.11)

    Hyper-V Virtual Fibre Channel Troubleshooting Guide:

    https://social.technet.microsoft.com/wiki/contents/articles/18698.hyper-v-virtual-fibre-channel-troubleshooting-guide.aspx

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

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  3. lra 86 Reputation points
    2022-05-11T13:06:58.23+00:00

    good morning,

    apologies for the delay in responding. Currently the problem continues.

    The tests I have done are the following:

    Live Migration to the other host failed.
    Quick Migration from one host to another, successful.
    Drain roles, failed.

    The other test I can perform is to unplug the fiber adapter from the vm and try the live migration. However, I want to check if by disconnecting the fiber adapter from the vm and connecting it again, the same WWNs are maintained?

    Additionally, I saw that the virtual adapter has VMQ enabled, does this prevent live migration? Is it a limitation?

    0 comments No comments