From: Sebastian Wagner Date: Fri, 15 May 2020 12:17:38 +0000 (+0200) Subject: doc/cephadm: accessing the admin socket X-Git-Tag: v15.2.4~73^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e568d78bafe268a11882e1891fce3932cf564258;p=ceph.git doc/cephadm: accessing the admin socket Signed-off-by: Sebastian Wagner (cherry picked from commit f0f86ce8bad6a9d6b892cedf9de4a9f36cb717cd) --- diff --git a/doc/cephadm/troubleshooting.rst b/doc/cephadm/troubleshooting.rst index f7ee0700e91..6b098ccc616 100644 --- a/doc/cephadm/troubleshooting.rst +++ b/doc/cephadm/troubleshooting.rst @@ -161,3 +161,14 @@ This means that you must run a command of this form:: ceph config set mon public_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 + [ceph: root@mon1 /]# ceph --admin-daemon /var/run/ceph/ceph-.asok config show diff --git a/doc/rados/operations/monitoring.rst b/doc/rados/operations/monitoring.rst index e3a3e50b485..ce2040a8384 100644 --- a/doc/rados/operations/monitoring.rst +++ b/doc/rados/operations/monitoring.rst @@ -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 ======================