question

lra-4650 avatar image
0 Votes"
lra-4650 asked lra-4650 edited

Live Migration fails when using vHBA

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-2019windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PascalSlijkerman avatar image
0 Votes"
PascalSlijkerman answered

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://docs.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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

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://docs.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–

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

lra-4650 avatar image
0 Votes"
lra-4650 answered lra-4650 edited

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?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.