mon dependency on OSD MonClient using OSD's client_messenger
Hi,
We noticed that OSDs use their client_messenger, rather than their potentially dedicated cluster_messenger, to drive MonClient. Then we found that the Mon's setup of the OSDMap depends on this.
Can someone comment? We assume this is well known, but what is the background?
Thanks,
Matt
Signature · 10 lines
Matt Benjamin CohortFS, LLC. 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://cohortfs.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
Quoted 7 lines · Matt W. Benjamin
Hi,
We noticed that OSDs use their
client_messenger, rather than their potentially dedicatedcluster_messenger, to drive MonClient. Then we found that the Mon's setup of the OSDMap depends on this.Can someone comment? We assume this is well known, but what is the background?
Right. The monitors are *strongly* identified with their single IP address, which needs to be client-accessible, so it belongs on the client network. Since every other daemon type is a client to the monitors, adding a special cluster network for the monitors doesn't really make sense and would be a fair bit of work.
At least, those are the good reasons for it being this way. I haven't thought about it much previously because the OSD "cluster network" (or any support for different networks/IPs at all) is a relatively new thing in Ceph's life, and the monitors never got that treatment. ;) (I am pretty sure the good reasons for it being that way actually do hold even if we did have the patches, but maybe I'm missing something.) -Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com