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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.