O'Reilly logo

Ceph Cookbook by Karan Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring Ceph clusters

In this recipe, we will learn commands that are used to monitor the overall Ceph cluster.

How to do it…

Here is how we go about monitoring the Ceph cluster. The steps are explained topic-wise as follows.

Checking the cluster's health

To check the health of your cluster, use the ceph command followed by health as the command option:

# ceph health

The output of this command would be divided into several sections separated by a semicolon:

Checking the cluster's health

The first section of the output shows that your cluster is in the warning state, HEALTH_WARN, as 64 placement groups (PGs) are degraded. The second section represents that 1408 PGs are not clean, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required