summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-04-17 18:34:27 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2013-04-17 18:34:27 -0700
commitd67793c253e14d80eea8fd82d7110cbaa888cca4 (patch)
tree9094e23d34c4ff353f523fe4af3b428fb7b33036
parentda7bf677b4c5c10ded6f63d7000190f88b1cfa3e (diff)
downloadceph-d67793c253e14d80eea8fd82d7110cbaa888cca4.tar.gz
doc: Clarified that admin-socket is accessed from same host.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r--doc/rados/operations/monitoring.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/rados/operations/monitoring.rst b/doc/rados/operations/monitoring.rst
index 4bce61ee695..36570e3452a 100644
--- a/doc/rados/operations/monitoring.rst
+++ b/doc/rados/operations/monitoring.rst
@@ -190,8 +190,9 @@ 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::
+By default, Ceph sockets reside under ``/var/run/ceph``. To access a daemon
+via the admin socket, login to the host running the daemon and use the
+following command::
ceph --admin-daemon /var/run/ceph/{socket-name}
@@ -202,5 +203,10 @@ To view the available admin socket commands, execute the following command::
The admin socket command enables you to show and set your configuration at
runtime. See `Viewing a Configuration at Runtime`_ for details.
+Additionally, you can set configuration values at runtime directly (i.e., the
+admin socket bypasses the monitor, unlike ``ceph {daemon-type} tell {id}
+injectargs``, which relies on the monitor but doesn't require you to login
+directly to the host in question ).
+
.. _Viewing a Configuration at Runtime: ../../configuration/ceph-conf#ceph-runtime-config