Speedup vm migration from xen to pve

Alessandro 123

Well-Known Member
May 22, 2016
653
24
58
40
Let's assume a 300gb VM on XenServer
Migrating that to pve needs a convertion via xenmigrate

So:

1. Export the VM to an xva file
2. Extract the xva file
3. Convert the disk image with xenmigrate
4. Upload the disk image to PVE

Step 1 could require about 4 hours (xen has a force rate limit on export speed)
Step 2 could require 30/60 minutes
Step 3 could require an hour or more (and tons of free disk space)
Step 3 on gigabit connection, requires 1 hours

So, about 7 hours for converting a single VM and about 300gb+300gb of disk space

Any faster solution?
 
what is the storage backend of the xenserver?
 
then you could try to export the lvs directly with e.g. dd, but i do not know how xenserver manages the lvs, so this might not work
 
Xen manages everything in the worst case possible.

What about exporting an OVA? Is proxmox able to import that? This could allow me to skip the whole convertion phase
 
What about exporting an OVA? Is proxmox able to import that? This could allow me to skip the whole convertion phase
there are plans for this, but nothing really usable yet.

but if you can export in ova format (which is just a tar archive afaik), which format has the disk inside? maybe you can use that directly?
 
XVA is a tar archive with raw disk images splitter in 1mb chunks that needs to be reconstructed via xenmigrate

OVA I don't know which disk image has inside, but should be standard. I think it's a VMDK and qemu is able to convert it.
This allow me to skip the xenmigrate phase but add the qemu convertion that could be slower than a simple file concatenation
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!