summaryrefslogtreecommitdiffstats
path: root/doc/cephadm/operations.rst
diff options
context:
space:
mode:
authorSebastian Wagner <sebastian.wagner@suse.com>2020-05-05 16:38:49 +0200
committerSebastian Wagner <sebastian.wagner@suse.com>2020-05-06 18:06:27 +0200
commit1256457a15eba7c6668f72a5f8743852e4f030ae (patch)
tree59ad9417736f48c24cc8f345608fcb8d76b4d0f7 /doc/cephadm/operations.rst
parentMerge pull request #34899 from smanjara/wip-dynamic-resharding (diff)
downloadceph-1256457a15eba7c6668f72a5f8743852e4f030ae.tar.xz
ceph-1256457a15eba7c6668f72a5f8743852e4f030ae.zip
doc/cephadm: add section about setting config settings
Fixes: https://tracker.ceph.com/issues/44284 Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Diffstat (limited to 'doc/cephadm/operations.rst')
-rw-r--r--doc/cephadm/operations.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst
index 59e2f2965f3..7768b1ff4a6 100644
--- a/doc/cephadm/operations.rst
+++ b/doc/cephadm/operations.rst
@@ -254,3 +254,23 @@ You can remove a broken host from management with::
You can disable this health warning with::
ceph config set mgr mgr/cephadm/warn_on_failed_host_check false
+
+/etc/ceph/ceph.conf
+===================
+
+Cephadm uses a minimized ``ceph.conf`` that only contains
+a minimal set of information to connect to the Ceph cluster.
+
+To update the configuration settings, use::
+
+ ceph config set ...
+
+
+To set up an initial configuration before calling
+`bootstrap`, create an initial ``ceph.conf`` file. For example::
+
+ cat <<EOF > /etc/ceph/ceph.conf
+ [global]
+ osd crush chooseleaf type = 0
+ EOF
+ cephadm bootstrap -c /root/ceph.conf ...