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-boun...@lists.ceph.com [mailto:ceph-users-
> boun...@lists.ceph.com] On Behalf Of myk...@gmail.com
> Sent: Mittwoch, 2. Oktober 2013 23:27
> To: Gruher, Joseph R
> Cc: ceph-users@lists.ceph.com
> Subject: Re: [ceph-users] 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.gru...@intel.com> 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@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

Reply via email to