Re: Meaning of the "host" parameter in the section [client.radosgw.{instance-name}] in ceph.conf?

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

 



Hi,

On 26/05/2016 23:46, Francois Lafont wrote:

> a) My first question is perfectly summarized in the title. ;)
> Indeed, here is a typical section [client.radosgw.{instance-name}] in
> the ceph.conf of a radosgw server "rgw-01":
> 
> ------------------------------------------------------
> # The instance-name is "gateway" here.
> [client.radosgw.gateway]
>   host               = rgw-01
>   keyring            = /etc/ceph/ceph.client.radosgw.gateway.keyring
>   rgw socket path    = ""
>   log file           = /var/log/radosgw/ceph.client.radosgw.gateway.log
>   rgw frontends      = civetweb port=8080
>   rgw print continue = false
>   rgw dns name       = rgw-01.domain.tld
> ------------------------------------------------------
> 
> I have tried without the "host" parameter and it seems to work perfectly.
> So what is the meaning of this parameter and what's it for?
> 
> I have found no answer in the documentation but I may be wrong searched...

Can you confirm me these 2 points?

i) In fact, the "host" parameter is needed only if in ceph.conf there are
   multiple [client.radosgw.{instance-name}] sections for different radosgw
   servers. If there are only the sections [client.radosgw.{instance-name}]
   which concern the current radosgw server, the "host" parameter is useless.
   In fact, everything happens as if the default value of the "host" parameter
   in the [client.radosgw.{instance-name}] was $(hostname).

ii) The {instance-name} in [client.radosgw.{instance-name}] must be necessarily
    unique _in_ the cluster, _not_ unique by radosgw server.

Is it correct?

> b) Is it a bad idea if I use the same keyring (and so the same ceph account)
> in the 2 radosgw servers "rgw-01" and "rgw-02"?

I'm still interested by this question.

I know it's possible to use the same keyring (ie the same ceph account) in
multiple radosgw servers but I don't know if it's recommended or not.

Thanks in advance.

-- 
François Lafont
_______________________________________________
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