Re: RGW Enabling non default region on existing cluster - data migration

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

 



On Wed, Jan 21, 2015 at 7:24 PM, Mark Kirkwood
<mark.kirkwood@xxxxxxxxxxxxxxx> wrote:
> I've been looking at the steps required to enable (say) multi region
> metadata sync where there is an existing RGW that has been in use (i.e non
> trivial number of buckets and objects) which been setup without any region
> parameters.
>
> Now given that the existing objects are all in the pools corresponding to
> the default (lack of) region - *not* the new region prefixed ones - is there
> are migration procedure to get them into the *new* ones?
>

One way to do it would be by defining the new region (with everything
set to the default params), and then manually modify the buckets
metadata to reflect that they reside in the new region. There are
radosgw-admin tools to allow modification of buckets metadata
(radosgw-admin metadata get bucket:<bucket>, radosgw-admin metadata
get bucket.instance:<bucket>:<bucket id>, etc.).

Yehuda
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux