[RFC PATCH] Samba RADOS service registration

David Disseldorp ddiss at suse.de
Tue Feb 13 12:29:41 UTC 2018

Thanks for the feedback everyone...

On Tue, 13 Feb 2018 11:07:44 +0000, John Spray wrote:

> On Tue, Feb 13, 2018 at 1:25 AM, David Disseldorp <ddiss at suse.de> wrote:
> > I'd like to (at the very least) pack the CephFS backed share names and
> > paths into the service registration.  
> Echoing back the share configuration probably isn't a good use of this
> interface -- the idea is for service daemons to register just enough
> information about themselves to report on their existence, location
> and health.

Okay, I'll keep it simple then, and just use the Ceph global instance id
and daemon name (smbd) for now.

> In the case of nfs-ganesha, we're moving toward having the option of
> consuming its share configuration from a central place like a RADOS
> object, rather than from a local text config file -- in that model, a
> UI can go look at the configuration directly rather than having the
> daemon report it back.  This is kind of a Ceph-ized version of the way
> a lot of new projects are storing their configuration in etcd.

Interesting. The same should be possible for Samba when we eventually
have a Ceph key-value store backend for Samba's dbwrap, and then use
Registry configuration.

Cheers, David

More information about the samba-technical mailing list