T
T
ThreeDHead2015-12-11 23:36:20
Xen
ThreeDHead, 2015-12-11 23:36:20

How to migrate a VM from Citrix XEN to QEMU?

There is a pool of XEN servers that run virtual machines. We assembled a new pool of PorxMox+CEPH servers with QEMU. You need to move virtual machines to a new pool. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThreeDHead, 2015-12-23
@ThreeDHead

Export to XenCenter to *.OVF failed. Everything is complicated there.
Here, it seems to me, is a simpler solution:
Install an NFS server on some machine:
Specify the export folder:
Restart:
We go to XenXenter, create a new NFS storage, transfer our virtual machine there.
On the NFS server, in the storage directory, we see the *.vhd virtual machine file:

$ ls -R /home/nfs
/home/nfs:
b568064c-382b-050c-322d-13d5332581e4

/home/nfs/b568064c-382b-050c-322d-13d5332581e4:
80d94284-2e0b-443b-9f5c-ff5db82f1a72.vhd

We transfer it to the ProxMox node:
On the ProxMox node, convert *.vhd to *.qcow2:
Using the ProxMox webmord, we create a new virtual machine with the qcow2 storage type and the same processor and memory as on the original
virtual machine: virtual machine )
Delete it and copy the file my-vm-from-xen.qcow2 -> vm-102-disk-1.qcow2 in its place . We start the virtual machine
.
If there were no paravirtualized components in the original virtual machine, then the new one will start without problems.

O
oia, 2015-12-12
@oia

convert to ovf format

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question