]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update config-key->config in mgr module docs 21442/head
authorJohn Spray <john.spray@redhat.com>
Mon, 16 Apr 2018 21:30:18 +0000 (17:30 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 23 Apr 2018 14:14:31 +0000 (10:14 -0400)
Signed-off-by: John Spray <john.spray@redhat.com>
doc/mgr/balancer.rst
doc/mgr/dashboard.rst
doc/mgr/influx.rst
doc/mgr/localpool.rst
doc/mgr/restful.rst

index 191c45593be8a23d8287a307d0d4d693958a4d26..fd8a8ced698c802ba1c7fe387a92c981f8d45c05 100644 (file)
@@ -50,7 +50,7 @@ such that the percentage of PGs that are misplaced (i.e., that need to
 be moved) is below a threshold of (by default) 5%.  The
 ``max_misplaced`` threshold can be adjusted with::
 
-  ceph config-key set mgr/balancer/max_misplaced .07   # 7%
+  ceph config set mgr mgr/balancer/max_misplaced .07   # 7%
 
 
 Modes
index fca5e8e161a27baec9361f80f5b92a84d62f6411..50acef13b17e137e403f9bc0e71d40828633d83c 100644 (file)
@@ -104,8 +104,8 @@ Since each ``ceph-mgr`` hosts its own instance of dashboard, it may
 also be necessary to configure them separately. The hostname and port
 can be changed via the configuration key facility::
 
-  $ ceph config-key set mgr/dashboard/$name/server_addr $IP
-  $ ceph config-key set mgr/dashboard/$name/server_port $PORT
+  $ ceph config set mgr mgr/dashboard/$name/server_addr $IP
+  $ ceph config set mgr mgr/dashboard/$name/server_port $PORT
 
 where ``$name`` is the ID of the ceph-mgr who is hosting this
 dashboard web app.
@@ -113,8 +113,8 @@ dashboard web app.
 These settings can also be configured cluster-wide and not manager
 specific.  For example,::
 
-  $ ceph config-key set mgr/dashboard/server_addr $IP
-  $ ceph config-key set mgr/dashboard/server_port $PORT
+  $ ceph config set mgr mgr/dashboard/server_addr $IP
+  $ ceph config set mgr mgr/dashboard/server_port $PORT
 
 If the port is not configured, the web app will bind to port ``7000``.
 If the address it not configured, the web app will bind to ``::``,
@@ -200,6 +200,6 @@ to use hyperlinks that include your prefix, you can set the
 
 ::
 
-  ceph config-key set mgr/dashboard/url_prefix $PREFIX
+  ceph config set mgr mgr/dashboard/url_prefix $PREFIX
 
 so you can access the dashboard at ``http://$IP:$PORT/$PREFIX/``.
index 066c958a0e727e581bc595d13e0e3a906be5b330..c9a58a831f4add1c025e169183934dac80f90fb3 100644 (file)
@@ -36,7 +36,7 @@ Set configuration values using the following command:
 
 ::
 
-    ceph config-key set mgr/influx/<key> <value>
+    ceph config set mgr mgr/influx/<key> <value>
 
 
 The most important settings are ``hostname``, ``username`` and ``password``.  
@@ -44,9 +44,9 @@ For example, a typical configuration might look like this:
 
 ::
 
-    ceph config-key set mgr/influx/hostname influx.mydomain.com
-    ceph config-key set mgr/influx/username admin123
-    ceph config-key set mgr/influx/password p4ssw0rd
+    ceph config set mgr mgr/influx/hostname influx.mydomain.com
+    ceph config set mgr mgr/influx/username admin123
+    ceph config set mgr mgr/influx/password p4ssw0rd
     
 Additional optional configuration settings are:
 
index 5779b7cf175b7b992861668e559f1aeed21f636f..b31ed6049fc9a312adce2c7c0ce5a682aa5d7824 100644 (file)
@@ -31,5 +31,5 @@ The *localpool* module understands the following options:
 These options are set via the config-key interface.  For example, to
 change the replication level to 2x with only 64 PGs, ::
 
-  ceph config-key set mgr/localpool/num_rep 2
-  ceph config-key set mgr/localpool/pg_num 64
+  ceph config set mgr mgr/localpool/num_rep 2
+  ceph config set mgr mgr/localpool/pg_num 64
index 5ffb16fedb0794544335230044a272edb582bb88..ccd550f6eae9ad8cd2a641e82d8708e16fa73e46 100644 (file)
@@ -40,15 +40,15 @@ can be generated with a command similar to::
 The ``restful.crt`` should then be signed by your organization's CA
 (certificate authority).  Once that is done, you can set it with::
 
-  ceph config-key set mgr/restful/$name/crt -i restful.crt
-  ceph config-key set mgr/restful/$name/key -i restful.key
+  ceph config set mgr mgr/restful/$name/crt -i restful.crt
+  ceph config set mgr mgr/restful/$name/key -i restful.key
 
 where ``$name`` is the name of the ``ceph-mgr`` instance (usually the
 hostname). If all manager instances are to share the same certificate,
 you can leave off the ``$name`` portion::
 
-  ceph config-key set mgr/restful/crt -i restful.crt
-  ceph config-key set mgr/restful/key -i restful.key
+  ceph config set mgr mgr/restful/crt -i restful.crt
+  ceph config set mgr mgr/restful/key -i restful.key
 
 
 Configuring IP and port
@@ -62,16 +62,16 @@ Since each ``ceph-mgr`` hosts its own instance of *restful*, it may
 also be necessary to configure them separately. The IP and port
 can be changed via the configuration key facility::
 
-  ceph config-key set mgr/restful/$name/server_addr $IP
-  ceph config-key set mgr/restful/$name/server_port $PORT
+  ceph config set mgr mgr/restful/$name/server_addr $IP
+  ceph config set mgr mgr/restful/$name/server_port $PORT
 
 where ``$name`` is the ID of the ceph-mgr daemon (usually the hostname).
 
 These settings can also be configured cluster-wide and not manager
 specific.  For example,::
 
-  ceph config-key set mgr/restful/server_addr $IP
-  ceph config-key set mgr/restful/server_port $PORT
+  ceph config set mgr mgr/restful/server_addr $IP
+  ceph config set mgr mgr/restful/server_port $PORT
 
 If the port is not configured, *restful* will bind to port ``8003``.
 If the address it not configured, the *restful* will bind to ``::``,