[PVE-User] Migrate XenServer to Proxmox

Ronny Aasen ronny+pve-user at aasen.cx
Wed Aug 15 13:00:48 CEST 2018

On 14. aug. 2018 23:09, Gilberto Nunes wrote:
> Hi there...
> I have a environment, running XenServer 7.1
> So we decide to make a Ceph cluster with 3 IBM servers and with an HP
> Server the first Proxmox node, for a planned cluster.
> Now, my first question is: How can I migrate some VM without downtime?
> This VM are Windows Server with SQL Server, that we haven't way to stop it,
> because the production of the factory depend on it.
> Second question is: Can I attached Ceph Server based on Proxmox into a
> running XenServer?
> I found this project that claim make it possible:
> https://github.com/rposudnevskiy/RBDSR/tree/v3.0
> Just seeking for some advice. If someone already face the same scenario, I
> will appreciated any idea!
> Thanks a lot
> ---
> Gilberto Nunes Ferreira

afaik you can not live migrate a vm from xen to proxmox directly.
easiest is to stop vm -> copy image file -> start vm.

to speed this up you can do a initial transfer, and then the last 
changes after you shutdown the vm.
how depends on the origin of the vm

if you have zfs you can use zfs send, if you have lvm you can use lvm 
snapshots etc.

once you have the vm on proxmox in some form or other (imagefile or lvm 
lv) , you can live migrate it into ceph.

But if you can get xen to put the vm on ceph directly, you should be 
able to just shutdown on xen, and boot it with the same disk in proxmox.
but that is probably more a xen question, that i can not comment on.

btw with ceph and only 3 machines, you do not have a machine available 
when a machine eventualy dies or needs longer maintainance.

ceph's self healing can not relocate objects when you have 3x 
replication and only 3 hosts.

I would really recommend having a 4th host, so you have a failuredomain.

kind regards
Ronny Aasen

More information about the pve-user mailing list