Re: ceph.conf with multiple rados gateways

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

 



I actually had some trouble with this... at one point I did not have a hostname match in ceph.conf (due to an error on my part) and when I tried to start radosgw it would just return with no output.  It would be helpful if it could throw or log an error - "failed to start radosgw - no hostname match in ceph.conf" or something along those lines.

>-----Original Message-----
>From: Fuchs, Andreas (SwissTXT) [mailto:Andreas.Fuchs@xxxxxxxxxxx]
>Sent: Thursday, October 03, 2013 12:57 AM
>To: mykr0t@xxxxxxxxx; Gruher, Joseph R
>Cc: ceph-users@xxxxxxxxxxxxxx
>Subject: RE:  ceph.conf with multiple rados gateways
>
>If i remember right the init script looks for a hostname match with
>client.radosgw.{hostname}, I f this matches he starts the gw
>
>Andi
>
>> -----Original Message-----
>> From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-
>> bounces@xxxxxxxxxxxxxx] On Behalf Of mykr0t@xxxxxxxxx
>> Sent: Mittwoch, 2. Oktober 2013 23:27
>> To: Gruher, Joseph R
>> Cc: ceph-users@xxxxxxxxxxxxxx
>> Subject: Re:  ceph.conf with multiple rados gateways
>>
>> Part of our ceph.conf:
>> [client.radosgw.gw0]
>>         host = <gate0>
>>         keyring = /etc/ceph/keyring.radosgw.gateway
>>         rgw socket path = /tmp/radosgw.sock
>>         log file = /var/log/radosgw/radosgw.log
>>         rgw dns name = <3l>.<domain>.<here>
>>         rgw thread pool size = 100
>>         rgw print continue = false
>>         debug rgw = 0
>>         rgw enable ops log = false
>>         log to stderr = false
>>         rgw enable usage log = false
>>
>> [client.radosgw.gw1]
>>         host = <gate1>
>>         keyring = /etc/ceph/keyring.radosgw.gateway
>>         rgw socket path = /tmp/radosgw.sock
>>         log file = /var/log/radosgw/radosgw.log
>>         rgw dns name = <3l>.<domain>.<here>
>>         rgw thread pool size = 100
>>         rgw print continue = false
>>         debug rgw = 0
>>         rgw enable ops log = false
>>         log to stderr = false
>>         rgw enable usage log = false
>>
>> PS: Changed some fields hostnames, clientnames, etc...
>>
>> --
>> Regards,
>> Mikhail
>>
>>
>> On Wed, 2 Oct 2013 21:04:25 +0000
>> "Gruher, Joseph R" <joseph.r.gruher@xxxxxxxxx> wrote:
>>
>> > Can anyone provide me a sample ceph.conf with multiple rados
>> > gateways?  I must not be configuring it correctly and I can't seem
>> > to Google up an example or find one in the docs.  Thanks!
>> >
>> > -Joe
>> _______________________________________________
>> 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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux