Port - Exporting VM from Hyper-V and into XenServer - having issues
-
Hey guys,
I have been trying this in all ways I can think off. So let me paint the picture:
We're in the middle of moving our environment from 2 hypervisors to 1. At the moment we are using Hyper-V (2 servers) and Xen (3 servers). I started out by clearing Hyper-V nr 1. As i'm almost done with this one I started to work on the last VM.
This is a server 2008 r2. The previous VM's I just restored from backup and done. But for some reason the s2008r2 is giving me issues.
When I restore it from backup it BSOD's with a 0X7B. (fixable?)
I imported the VHD's directly into xen, same issue. Tried with a ESXI host in the middle but my ESXI host's processor did not support x64...
Xenconvert has been running all night and the transfer is on 35% or something..
If there is anyone with some fancy ideas on how i could get this done, I'd really appreciate the helpKind regards
Lennert -
Hey Lennert,
If your Hyper-V host is operational, simply stop the VM you want to migrate into XS, and then export it to a target file share or USB.
Once the export is complete, from within XenCenter you can import the VM by browsing to the file share and importing it.
If you can export to OVF it makes the transition pretty painless (but the other formats work as well).
Once you get everything up and running on XS, remove the hyper-v drivers from the VM's, and install the XS drivers.
-
Also don't try to restore from backup. The backup is expecting to be restored into a Hyper-V environment. You need to migrate the VM from the one platform into another.
Unless you have block level restore with your backup appliance, were you can restore to dissimilar hardware. I'd go with the process I recommended above.
-
The backup i was restoring is a Windows Backup.
I have already tried exporting the VM into VHD (the source file is vhdx).The problem i keep receiving is the stop 0X7B which if not mistaking points to the hardware changes
-
@Lennertgenbr said in Port - Exporting VM from Hyper-V and into XenServer - having issues:
The backup i was restoring is a Windows Backup.
I have already tried exporting the VM into VHD (the source file is vhdx).The problem i keep receiving is the stop 0X7B which if not mistaking points to the hardware changes
Yeah... you'd almost never want to use Windows Backup to move to a different hypervisor.
Simply shutdown the VM, use the built in Export functions of hyper-v and then import the file into XS.
-
@DustinB3403 Tried that already.
The only export function Hyper-V gives me is to convert vhdx to vhd. Which leaves me only with the option of taking the VHD into Xen.
Upon booting i get the STOP error
-
And while you can use Windows Backup you need to have dissimilar hardware checked before the backup is made.
-
@Lennertgenbr said in Port - Exporting VM from Hyper-V and into XenServer - having issues:
@DustinB3403 Tried that already.
The only export function Hyper-V gives me is to convert vhdx to vhd. Which leaves me only with the option of taking the VHD into Xen.
Upon booting i get the STOP error
What version of Hyper-V are you using, 2008?
-
For Hyper-V you can use Veeam Free to backup the VM, which might help to address the stop error.
What error message are you receiving exactly?
-
@DustinB3403 Our 2 servers are running 2012r2
-
@Lennertgenbr said in Port - Exporting VM from Hyper-V and into XenServer - having issues:
@DustinB3403 Our 2 servers are running 2012r2
Oh 2012r2 gees... haha you can use powershell to export the VM into OVF. This guide here should help to do the trick.
I'd still be interested to know what error you're getting exactly.
-
The 7B BSOD error appears to driver related.
I think @dashrender had similar issues with his VM's and had to mount the drives to edit the registry.
-
@DustinB3403 The stop error I'm receiving is attached to this post
-
@Lennertgenbr ok so the drivers are bugged within the VM. you'd have to either fix the issues as outlined above.
I assume this is with using the "Windows Backup" that you're attempting to restore, correct?
-
@DustinB3403 It is when using windows backup AND when using the Hyper-V export function
-
@Lennertgenbr Can you try disabling the Hyper-V services within the VM, and then shutdown and export the VM.
What OS is the VM running?
-
@DustinB3403 I have already disabled the Hyper-V integrated services. The VM is running s2008r2
-
@Lennertgenbr said in Port - Exporting VM from Hyper-V and into XenServer - having issues:
@DustinB3403 I have already disabled the Hyper-V integrated services. The VM is running s2008r2
Maybe try another backup solution to create a image you can import.
If the hyper-v drivers are disabled, and you're exporting what should be a clean VM and still having issues something else is going on.
I'd try Veeam free from your host to create a backup of the VM.
-
@DustinB3403 By hyper-v drivers, do you mean the integration services? Or explicit hyper-v drivers?
-
Starwind also has a conversion tool specifically for V2V conversions.