]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/rados/operations/crush-map-edits: including recompile and set crushmapo instructions
authorRodrigo Severo <rodrigo@fabricadeideias.com>
Mon, 30 Dec 2019 21:13:25 +0000 (18:13 -0300)
committerRodrigo Severo <rodrigo@fabricadeideias.com>
Mon, 30 Dec 2019 21:13:25 +0000 (18:13 -0300)
Including missing recompile and set crushmap sections in crush-map-edits

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
doc/rados/operations/crush-map-edits.rst

index b6870511aec48a0c543d0bfc10197c488f540e5e..6b75cd24507a4d14e656d579b0932a270fd77ac6 100644 (file)
@@ -52,6 +52,25 @@ To decompile a CRUSH map, execute the following::
 
        crushtool -d {compiled-crushmap-filename} -o {decompiled-crushmap-filename}
 
+.. _compilecrushmap:
+
+Recompile a CRUSH Map
+---------------------
+
+To compile a CRUSH map, execute the following::
+
+       crushtool -c {decompiled-crushmap-filename} -o {compiled-crushmap-filename}
+
+.. _setcrushmap:
+
+Set the CRUSH Map
+-----------------
+
+To set the CRUSH map for your cluster, execute the following::
+
+       ceph osd setcrushmap -i {compiled-crushmap-filename}
+
+Ceph will load (-i) a compiled CRUSH map from the filename you specified.
 
 Sections
 --------