From 49c23221607d00d8414b86a767a8339e6616bbe8 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Fri, 19 Dec 2014 15:51:49 +0100 Subject: [PATCH] doc: Instead of using admin socket, use 'ceph daemon' command. --- doc/rados/configuration/ceph-conf.rst | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/doc/rados/configuration/ceph-conf.rst b/doc/rados/configuration/ceph-conf.rst index c2f88d4d644e2..661ac90553ebd 100644 --- a/doc/rados/configuration/ceph-conf.rst +++ b/doc/rados/configuration/ceph-conf.rst @@ -447,17 +447,11 @@ Viewing a Configuration at Runtime If your Ceph Storage Cluster is running, and you would like to see the configuration settings from a running daemon, execute the following:: - ceph --admin-daemon {/path/to/admin/socket} config show | less - -The default path for the admin socket for each daemon is:: + ceph daemon {daemon-type}.{id} config show | less - /var/run/ceph/$cluster-$name.asok - -At real time, the metavariables will evaluate to the actual cluster name and -daemon name. For example, if the cluster name is ``ceph`` (it is by default) -and you want to retrieve the configuration for ``osd.0``, use the following:: +If you are on a machine where osd.0 is running, the command would be:: - ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show | less + ceph daemon osd.0 config show | less Running Multiple Clusters -- 2.39.5