Thanks, that's just what I needed.

For others: I found some information in the Red Hat Ceph Storage 2
documentation. This includes the command "radosgw-admin rename"
which I was unaware of for single-site to multi-site.

(It doesn't seem very encouraging about Hammer to Jewel multisite
transitions:
some vague statement "Customers wishing to migrate from a 1.3 multi-site
 system, formerly called "federated", contact customer support for advice
on recommended steps so Red Hat Support can look at the configuration,
environment, and data first." - Yikes.

https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/paged/object-gateway-guide-for-red-hat-enterprise-linux/chapter-8-multi-site

On Thu, Oct 6, 2016 at 11:23 PM, Yehuda Sadeh-Weinraub <[email protected]>
wrote:

> Generally you need to create a new realm, and add the 'default'
> zonegroup into it. I think you can achieve this via the 'radosgw-admin
> zonegroup modify' command.
> The zonegroup and zone can be renamed (their id will still be
> 'default', but you can change their names).
>
> Yehuda
>
> On Thu, Oct 6, 2016 at 3:07 AM, Richard Chan
> <[email protected]> wrote:
> > Upgraded from Hammer 0.94.9 to Jewel 10.2.3 while all RGW data survived
> in a
> > realm-less, setup (no realm, "default" zonegroup, "default" zone).
> >
> > Is it possible to "move" this into a single realm/zonegroup/zone in
> > preparation for multisite (i.e before add the 2nd zone).
> >
> > I don't need more than one realm, but would like to
> >
> > 1. create a single realm"default"
> > 2. move zonegroup "default" as "us", say
> > 3. move zone to zonegroup as "us-east"
> >
> > This must preserve all existing data. After which I would like to add a
> 2nd
> > zone (in a different ceph cluster) "us-west".
> >
> >
> > # radosgw-admin realm list
> > {
> >     "default_info": "",
> >     "realms": []
> > }
> >
> > # radosgw-admin zonegroup list
> > read_default_id : -2
> > {
> >     "default_info": "",
> >     "zonegroups": [
> >         "default"
> >     ]
> > }
> >
> >
> > # radosgw-admin zone list
> > {
> >     "default_info": "",
> >     "zones": [
> >         "default"
> >     ]
> > }
> >
> >
> >
> >
> >
> >
> > --
> > Richard Chan
> >
> >
> > _______________________________________________
> > ceph-users mailing list
> > [email protected]
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>



-- 
Richard Chan
Chief Architect

TreeBox Solutions Pte Ltd
1 Commonwealth Lane #03-01
Singapore 149544
Tel: 6570 3725
http://www.treeboxsolutions.com

Co.Reg.No. 201100585R
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to