All of lore.kernel.org
 help / color / mirror / Atom feed
* Extra daemons/servers reporting to mgr
@ 2017-06-11 12:04 John Spray
  2017-06-12 14:14 ` Daniel Gryniewicz
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: John Spray @ 2017-06-11 12:04 UTC (permalink / raw)
  To: Ceph Development

MgrClient instances (such as those in the daemons, and those in every
librados instance) open a session with ceph-mgr where they identify
themselves by entity name and type.  ceph-mgr sends a MgrConfigure
message, which tells the client whether to both sending stats and how
often.  ceph-mgr also keeps a copy of the metadata (a la "ceph osd
metadata...") for OSD and MDS daemons -- it loads all that up at
startup, and then also freshens it when it sees a daemon restart or
sees a new daemon.

We would like to have something similar so that the mgr can be aware
of the existence of other services like RGW gateways, RBD mirror
services, perhaps also NFS gateways.

The information about each daemon would at a minimum be its identity,
type, and some static metadata.  It might also include some dynamic
state/health structure.  The challenging part here is how to expose
that to the various daemons, given that things like RGW are not known
in advance to core Ceph and that they just consume the librados
interface.

It doesn't feel like a particularly natural thing for librados, but
ultimately whatever we expose to rgw/rbd is de-facto librados, even if
we put it in a different library or whatever.

So far I've got as far as thinking we should have an extra call just
in the C++ bindings that lets callers say "Hi, I'm a service not just
a client, and here's a map of metadata", that they call one time
between creating their RadosClient and connecting to the cluster.

John

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-06-21 19:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-11 12:04 Extra daemons/servers reporting to mgr John Spray
2017-06-12 14:14 ` Daniel Gryniewicz
2017-06-12 14:26   ` Matt Benjamin
2017-06-14 19:03     ` Yehuda Sadeh-Weinraub
2017-06-12 14:47 ` Jason Dillaman
2017-06-12 18:09 ` Casey Bodley
2017-06-12 20:03   ` Matt Benjamin
2017-06-12 20:24     ` Casey Bodley
2017-06-12 20:33   ` John Spray
2017-06-14 17:43     ` Gregory Farnum
2017-06-14 19:35 ` Yehuda Sadeh-Weinraub
2017-06-14 19:50   ` Sage Weil
2017-06-14 20:45     ` Yehuda Sadeh-Weinraub
2017-06-14 21:20     ` Jason Dillaman
2017-06-19 19:26       ` Sage Weil
2017-06-20 20:39         ` Gregory Farnum
2017-06-20 21:00           ` Sage Weil
2017-06-20 21:24             ` Gregory Farnum
2017-06-20 21:40               ` Sage Weil
2017-06-21 19:53               ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.