diff options
author | Sebastian Wagner <sebastian.wagner@suse.com> | 2020-05-05 16:38:49 +0200 |
---|---|---|
committer | Sebastian Wagner <sebastian.wagner@suse.com> | 2020-05-06 18:06:27 +0200 |
commit | 1256457a15eba7c6668f72a5f8743852e4f030ae (patch) | |
tree | 59ad9417736f48c24cc8f345608fcb8d76b4d0f7 /doc/cephadm/operations.rst | |
parent | Merge pull request #34899 from smanjara/wip-dynamic-resharding (diff) | |
download | ceph-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.rst | 20 |
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 ... |