doc: update config-key->config in mgr module docs

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2018-04-16 17:30:18 -04:00
parent 5414b73800
commit 8453c0edba
5 changed files with 20 additions and 20 deletions

View 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

View 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/``.

View 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:

View 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

View 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 ``::``,