From f0f86ce8bad6a9d6b892cedf9de4a9f36cb717cd Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 15 May 2020 14:17:38 +0200 Subject: [PATCH] doc/cephadm: accessing the admin socket Signed-off-by: Sebastian Wagner --- doc/cephadm/troubleshooting.rst | 11 +++++++++++ doc/rados/operations/monitoring.rst | 1 + 2 files changed, 12 insertions(+) diff --git a/doc/cephadm/troubleshooting.rst b/doc/cephadm/troubleshooting.rst index f7ee0700e915..6b098ccc616c 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 e3a3e50b485d..ce2040a83848 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 ====================== -- 2.47.3