From: John Wilkins Date: Fri, 22 Feb 2013 23:37:03 +0000 (-0800) Subject: doc: Added mention of Admin Socket interface and brief description. X-Git-Tag: v0.59~136 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e68f2c85d35f0a19e2f5b7cd2b7f1ff1e5c98187;p=ceph.git doc: Added mention of Admin Socket interface and brief description. Signed-off-by: John Wilkins --- diff --git a/doc/rados/operations/monitoring.rst b/doc/rados/operations/monitoring.rst index 68ae3b587a69..4bce61ee6955 100644 --- a/doc/rados/operations/monitoring.rst +++ b/doc/rados/operations/monitoring.rst @@ -183,4 +183,24 @@ Placement groups map objects to OSDs. When you monitor your placement groups, you will want them to be ``active`` and ``clean``. For a detailed discussion, refer to `Monitoring OSDs and Placement Groups`_. -.. _Monitoring OSDs and Placement Groups: ../monitoring-osd-pg \ No newline at end of file +.. _Monitoring OSDs and Placement Groups: ../monitoring-osd-pg + + +Using the Admin Socket +====================== + +The Ceph admin socket allows you to query a daemon via a socket interface. +By default, Ceph sockets reside under ``/var/run/ceph``. To access a socket, +use the following command:: + + ceph --admin-daemon /var/run/ceph/{socket-name} + +To view the available admin socket commands, execute the following command:: + + ceph --admin-daemon /var/run/ceph/{socket-name} help + +The admin socket command enables you to show and set your configuration at +runtime. See `Viewing a Configuration at Runtime`_ for details. + +.. _Viewing a Configuration at Runtime: ../../configuration/ceph-conf#ceph-runtime-config +