]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: accessing the admin socket
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 15 May 2020 12:17:38 +0000 (14:17 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 21 May 2020 21:33:18 +0000 (23:33 +0200)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit f0f86ce8bad6a9d6b892cedf9de4a9f36cb717cd)

doc/cephadm/troubleshooting.rst
doc/rados/operations/monitoring.rst

index f7ee0700e9157e31dac28732dc2b37be5f5ced91..6b098ccc616c6b3060ef99b46ba1c7d1682bd684 100644 (file)
@@ -161,3 +161,14 @@ This means that you must run a command of this form::
   ceph config set mon public_network <mon_network>
 
 For more detail on operations of this kind, see :ref:`deploy_additional_monitors`
+
+Accessing the admin socket
+--------------------------
+
+Each Ceph daemon provides an admin socket that bypasses the
+MONs (See :ref:`rados-monitoring-using-admin-socket`).
+
+To access the admin socket, first enter the daemon container on the host::
+
+    [root@mon1 ~]# cephadm enter --name <daemon-name>
+    [ceph: root@mon1 /]# ceph --admin-daemon /var/run/ceph/ceph-<daemon-name>.asok config show
index e3a3e50b485d59663333b937c7d0e1fe6a31828a..ce2040a838480d40c52b97bd04647e46a14ac42d 100644 (file)
@@ -499,6 +499,7 @@ For a detailed discussion, refer to `Monitoring OSDs and Placement Groups`_.
 
 .. _Monitoring OSDs and Placement Groups: ../monitoring-osd-pg
 
+.. _rados-monitoring-using-admin-socket:
 
 Using the Admin Socket
 ======================