Book Image

Mastering Proxmox

By : Wasim Ahmed
Book Image

Mastering Proxmox

By: Wasim Ahmed

Overview of this book

Table of Contents (17 chapters)
Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Learning Ceph's CRUSH map


A CRUSH map is the heart of Ceph's storage system. The algorithm of CRUSH dictates how data is stored and retrieved through the Ceph cluster. The topic of CRUSH alone is worthy of an entire book, but here, it is sufficient to understand that learning to manipulate CRUSH provides administrator an upper hand in storage management. It is only by manipulating CRUSH that we can set up a multitiered Ceph cluster to store virtual machines based on performance requirements.

Using CRUSH, we can move OSD from one node to another or even move an entire node to a different location without causing major disruption in the storage service. A CRUSH map is not readily available in the Ceph admin directory. We have to use CRUSH commands to extract, edit, and inject a CRUSH map back into a Ceph cluster. Basically, it is a five-step process:

  1. Extract the CRUSH map.

  2. Decompile it.

  3. Edit the map.

  4. Compile it.

  5. Inject the map back into the cluster.

Let's look into a CRUSH map by first extracting...