Page 1 of 3

live vm migration

Posted: Mon Nov 25, 2024 8:27 am
by Mohammad
Hi,
I have migrated powered off vm from esxi to hyper v. I need migrate Powered On VM(live migration VM) from ESXI to HYPER-V, and getting error that synchronization is failed
Is there any prerequisite required


Regards,
Mohammad

Re: live vm migration

Posted: Mon Nov 25, 2024 8:50 am
by yaroslav (staff)
Log or error code could be helpful.

Re: live vm migration

Posted: Mon Nov 25, 2024 12:07 pm
by Mohammad
Hi,
I did live migration of VM from ESXI to HYPERV its showing successfully converted. When i open VM in Hyper-V that disk is not attached to VM, while attaching disk to VM showing an error that "Error applying disk change" and disk is corrupted and unreadable

Regards,
Mohammad

Re: live vm migration

Posted: Mon Nov 25, 2024 12:16 pm
by yaroslav (staff)

Re: live vm migration

Posted: Mon Nov 25, 2024 12:32 pm
by Mohammad
Hi ,
i have gone through link which you have mentioned that we should use old version tool if its yes please mention the link to download
should i follow this procedure which i want to migrate windows VM
Log into the VM
1. $ vi /etc/default/grub
1.1. Change the line
GRUB_DEFAULT=1
Save and exit.

2. $ grub2-mkconfig -o /boot/grub2/grub.cfg
3. $ shutdown -h now


Note: 1) In my scenario live migration of windows vm from esxi to hyper v successfully completed converting i am attaching screenschot
2) I did not uninstall VMware tool

Re: live vm migration

Posted: Mon Nov 25, 2024 1:03 pm
by yaroslav (staff)
There is a link in that thread.
First of all, please try removing the VMware tools. This is might be what is clashing with conversion.

Re: live vm migration

Posted: Mon Nov 25, 2024 2:12 pm
by Mohammad
Hi ,
I have used v2v older version successfully converted machine to Hyper-V. When i powered on the VM getting error. I am attaching the screenshot
windows error.PNG
windows error.PNG (28.03 KiB) Viewed 28320 times

Re: live vm migration

Posted: Mon Nov 25, 2024 3:07 pm
by yaroslav (staff)
The issue seems to be related to the residual drivers from the source environment as the converter ran without errors.
Please try removing the VMware tools. This might be what is clashing with conversion.
Please also try booting the VM with the IDE controller attached.
Check also this out https://www.erniecosta.com/2020/02/26/h ... t-drivers/.

Re: live vm migration

Posted: Tue Nov 26, 2024 1:10 am
by Mohammad
Hi,
Okay I will remove vmware tool and VM is gen2 so it can't run on IDE controller.
I have one question that EXSI server and hyper v server both are from different family. Because of this VM is not booting??

Re: live vm migration

Posted: Tue Nov 26, 2024 5:05 am
by yaroslav (staff)
Hi,

Try converting individual disks and resemble the VM afterward as Gen1.

Re: live vm migration

Posted: Wed Nov 27, 2024 11:13 am
by Mohammad
Hi ,
Thanks a lot for you support.I have one question that i am migrated VM gen 2 from esxi to hyper v,its successfully completed,but when i run the machine showing disk is corrupted and unreadable
please suggest me in this case

Regards,
Mohammad

Re: live vm migration

Posted: Wed Nov 27, 2024 11:36 am
by yaroslav (staff)
You are welcome. I am happy I could help.
Can you please share the error you are getting?
See also this thread viewtopic.php?f=15&t=6763&p=36723&hilit=google#p36723.

Re: live vm migration

Posted: Thu Nov 28, 2024 9:59 am
by Mohammad
Hi ,
I have two questions that
1) I want to migrate VM with two disk from esxi to hyper v is this possible ?
2) I have migrated windows bios mode vm from esxi to hyper v getting error that disk corrupted or unreadable
(for this we have just migrate only disk)

Re: live vm migration

Posted: Thu Nov 28, 2024 10:20 am
by yaroslav (staff)
Hi,

Yes, it is possible.
Again, the issue is caused by the interaction of the VM world with the destination.
Try removing the VMware tools.
As the last resort, try converting the VM to the template and importing it in place.

Re: live vm migration

Posted: Tue Dec 03, 2024 9:51 am
by Mohammad
Hi,
When i migrating VM of bios mode from VMware to Hyper-v ,i am getting error snap is attached for reference


Regards,
Mohammad
BIOS error.PNG
BIOS error.PNG (27.41 KiB) Viewed 27342 times