How to do it...

Let's begin the configuration:

  1. Get the current CRUSH map and decompile it:
        # ceph osd getcrushmap -o crushmapdump        # crushtool -d crushmapdump -o crushmapdump-decompiled
  1.  Edit the crushmapdump-decompiled CRUSH map file and add the following section after the root default section:
  1.  Create the CRUSH rule by adding the following rules under the rule section of the CRUSH map, and then save and exit the file:
  1.  Compile and inject ...

Get Ceph: Designing and Implementing Scalable Storage Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.