Re: Migrating from one Ceph cluster to another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Op 8 juni 2016 om 22:49 schreef Marek Dohojda <mdohojda@xxxxxxxxxxxxxxxxxxx>:
> 
> 
> 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
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux