Re: How to run multiple RadosGW instances under the same zone

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

 



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.yang@xxxxxxxxxxxx> 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-bounces@xxxxxxxxxxxxxx] On Behalf Of Joseph Yang
Sent: Monday, January 04, 2016 2:09 PM
To: ceph-users@xxxxxxxx; Joseph Yang
Subject: 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@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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux