O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

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 PGs

OSDs store PGs and each PG contains objects. The overall health of a cluster depends majorly on PGs. The cluster will remain in a HEALTH_OK status only if all the PGs are on the status, active+clean. If your Ceph cluster is not healthy, then there are chances that the PGs are not active+clean. Placement groups can exhibit multiple states and even combinations of states. The following are some states that a PG can be:

  • Creating: The PG is being created.
  • Peering: The process of bringing all of the OSDs that store PGs into agreement about the state of all objects including their metadata in that PG.
  • Active: Once the peering operation is completed, Ceph lists the PG as active. Under the active state, the data in the PG data is ...

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