]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/release/nautilus: proscribe minimum hammer tunables and straw2 on upgrade
authorSage Weil <sage@redhat.com>
Fri, 12 Apr 2019 21:41:38 +0000 (16:41 -0500)
committerSage Weil <sage@redhat.com>
Fri, 12 Apr 2019 22:26:56 +0000 (17:26 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
doc/rados/operations/balancer.rst
doc/releases/nautilus.rst

index 120e29041fe153f5461454ddff23036cc1df0f3e..930ef0d8c2053b5c5af1b8e293f897796dc982d9 100644 (file)
@@ -1,3 +1,6 @@
+
+.. _balancer:
+
 Balancer
 ========
 
index 760e88d2baa44d99b956c3151f34bb3ef0fe5c53..fd5fd3d495f3e3c092bf7f76bb4770c53ad8fb11 100644 (file)
@@ -319,6 +319,28 @@ Instructions
 
 #. Verify the cluster is healthy with ``ceph health``.
 
+   If your CRUSH tunables are older than Hammer, Ceph will now issue a
+   health warning.  If you see a health alert to that effect, you can
+   revert this change with::
+
+     ceph config set mon mon_crush_min_required_version firefly
+
+   If Ceph does not complain, however, then we recommend you also
+   switch any existing CRUSH buckets to straw2, which was added back
+   in the Hammer release.  If you have any 'straw' buckets, this will
+   result in a modest amount of data movement, but generally nothing
+   too severe.::
+
+     ceph osd getcrushmap -o backup-crushmap
+     ceph osd crush set-all-straw-buckets-to-straw2
+
+   If there are problems, you can easily revert with::
+
+     ceph osd setcrushmap -i backup-crushmap
+
+   Moving to 'straw2' buckets will unlock a few recent features, like
+   the `crush-compat` :ref:`balancer <balancer>` mode added back in Luminous.
+
 #. To enable the new :ref:`v2 network protocol <msgr2>`, issue the
    following command::