[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-community
Subject:    Re: [Ceph-community] Multisite replication jewel and luminous
From:       Sage Weil <sage () newdream ! net>
Date:       2018-09-12 15:48:03
Message-ID: alpine.DEB.2.11.1809121547090.18135 () piezo ! novalocal
[Download RAW message or body]

[Moving this to ceph-users where it will get more eyeballs.]

On Wed, 12 Sep 2018, Andrew Cassera wrote:

> Hello,
> 
> Any help would be appreciated.  I just created two clusters in the lab. One
> cluster is running jewel 10.2.10 and the other cluster is running luminous
> 12.2.8.  After creating the jewel cluster I created an S3 bucket, and moved
> objects into the bucket.  I then migrated the configuration to a multi-site
> configuration.  I anticipate doing this in production which is running
> jewel.  Replication works fin ief I create new buckets and move objects
> into those buckets.  I can see those buckets and objects in both clusters.
> The existing bucket I created before configuring multisite will not sync
> between clusters.
> 
> Will this work between jewel and luminous?  Is there some configuration I
> am missing with the bucket I created before doing the multisite
> configuration.  Here are the steps I took:
> 
> Jewel Master
> 
> radosgw-admin realm create --rgw-realm=us --default
> 1. radosgw-admin zonegroup rename --rgw-zonegroup default
> --zonegroup-new-name=us-east
> 2. radosgw-admin zone rename --rgw-zone default --zone-new-name us-east-1
> --rgw-zonegroup=us-east
> 3. radosgw-admin zonegroup modify --rgw-realm=us --rgw-zonegroup=us-east
> --endpoints http://tests31.solidsupport.com:7480 --master --default
> 
> 4. radosgw-admin user create --uid=rgwuser --display-name="rgw system user"
> --system
> 5. radosgw-admin zone modify --rgw-realm=us --rgw-zonegroup=us-east
> --rgw-zone=us-east-1 --endpoints http://tests31.test.com:7480 --master
> --default
> 6. radosgw-admin zone modify --rgw-realm=us --rgw-zonegroup=us-east
> --rgw-zone=us-east-1 --access-key=35G7VDV5XKL09WGYY34U
> --secret=lQePAxX62j5HR0qj8f4FUkq8DTBpSOIiBeXvJa1
> 7. radosgw-admin period update --commit
> 8. systemctl restart ceph-radosgw@rgw.ub-radosgw1-1.service
> 
> Luminous secondary
> 
> 1. radosgw-admin realm pull --url=tests31.test.com:7480
> --access-key=35G7VDV5XKL09WGYY34U
> --secret=lQePAxX62j5HR0qj8f4FUkq8DTBpSOIiBeXvJa1O
> 2. radsogw-admin realm default --rgw-realm=us
> 3. radosgw-admin period pull --url=tests31.test.com:7480
> --access-key=35G7VDV5XKL09WGYY34U
> --secret=lQePAxX62j5HR0qj8f4FUkq8DTBpSOIiBeXvJa1O
> 5. radosgw-admin zone create --rgw-zonegroup=us-east --rgw-zone=us-east-2
> --endpoints=http://tests32.test.com:7480 --access-key=35G7VDV5XKL09WGYY34U
> --secret=lQePAxX62j5HR0qj8f4FUkq8DTBpSOIiBeXvJa1O
> 6. radosgw-admin user create --uid=rgwuser --display-name="rgw system user"
> --system
> 7. radosgw-admin period update --commit
> 8. systemctl restart ceph-radosgw@rgw.ub-radosgw1-2.service
> 
> Andrew
> 
_______________________________________________
Ceph-community mailing list
Ceph-community@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-community-ceph.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic