It works fine. The federated config reference is not related to running multiple instances on the same zone.
Just set up 2 radosgws give each instance the exact same configuration. (I use different client names in ceph.conf, but i bet it would work even if the client names were identical) Official documentation on this very common use case would be a good idea, i also figured this out on my own. On Mon, Jan 4, 2016 at 6:21 PM, Yang Honggang <joseph.y...@xtaotech.com> wrote: > Hello Srinivas, > > Yes, we can use Haproxy as a frontend. But the precondition is multi > RadosGW instances sharing > the *SAME CEPH POOLS* are running. I only want the master zone keep one > copy of all data. I want > to access the data through *ANY *radosgw instance. > And it said in http://docs.ceph.com/docs/master/radosgw/federated-config/ > "zones may have more than one Ceph Object Gateway instance per zone.". So > I need the *official way* > to set up these radosgw instances. > > thx > > joseph > > > On 01/04/2016 06:37 PM, Srinivasula Maram wrote: > > Hi Joseph, > > > > You can try haproxy as proxy for load balancing and failover. > > > > Thanks, > > Srinivas > > > > *From:* ceph-users [mailto:ceph-users-boun...@lists.ceph.com > <ceph-users-boun...@lists.ceph.com>] *On Behalf Of *Joseph Yang > *Sent:* Monday, January 04, 2016 2:09 PM > *To:* ceph-us...@ceph.com; Joseph Yang > *Subject:* [ceph-users] How to run multiple RadosGW instances under the > same zone > > > > > > Hello, > > > > How to run multiple RadosGW instances under the same zone? > > > > Assume there are two hosts HOST_1 and HOST2. I want to run > > two RadosGW instances on these two hosts for my zone ZONE_MULI. > > So, when one of the radosgw instance is down, I can still access the zone. > > > > There are some questions: > > 1. How many ceph users should I create? > > 2. How many rados users should I create? > > 3. How to set ZONE_MULI's access_key/secret_key? > > 4. How to set the 'host' section in the ceph conf file for these two > > radosgw instances? > > 5. How to start the instances? > > # radosgw --cluster My_Cluster -n ?_which_rados_user_? > > > > I read http://docs.ceph.com/docs/master/radosgw/federated-config/, but > > there seems no explanation. > > > > Your answer is appreciated! > > > > thx > > > > Joseph > > > > > > > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com