Each Ceph daemon (and client if so enabled) listens on an admin socket for requests to get or set information or to perform certain actions. We can see these sockets in /var/run/ceph; here are examples from both OSD and MON nodes.
osd-1701# ls /var/run/ceph ceph-osd.0.asok ceph-osd.10.asok ceph-osd.11.asok ceph-osd.12.asok ceph-osd.13.asok ceph-osd.14.asok ceph-osd.15.asok ceph-osd.16.asok ceph-osd.17.asok ceph-osd.18.asok ceph-osd.19.asok ceph-osd.1.asok ceph-osd.20.asok ceph-osd.21.asok ceph-osd.22.asok ceph-osd.23.asok ceph-osd.2.asok ceph-osd.3.asok ceph-osd.4.asok ceph-osd.5.asok ceph-osd.69.asok ceph-osd.7.asok ceph-osd.8.asok ceph-osd.9.asok mon-05# ls /var/run/ceph ceph-mon.mon05.asok
To interact with osd.69 we first ...