> Op 8 juni 2016 om 22:49 schreef Marek Dohojda <[email protected]>:
> 
> 
> I have a ceph cluster (Hammer) and I just built a new cluster
> (Infernalis).  This cluster contains VM boxes based on KVM.
> 
> What I would like to do is move all the data from one ceph cluster to
> another.  However the only way I could find from my google searches would
> be to move each image to local disk, copy this image across to new cluster,
> and import it.
> 
> I am hoping that there is a way to just synch the data (and I do realize
> that KVMs will have to be down for the full migration) from one cluster to
> another.
> 

You can do this with the rbd command using export and import.

Something like:

$ rbd export image1 -|rbd import image1 -

Where you have both RBD commands connect to a different Ceph cluster. See 
--help on how to do that.

You can run this in a loop with the output of 'rbd ls'.

But that's about the only way.

Wido

> Thank you
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to