O'Reilly logo

Learning Ceph - Second Edition by Karan Singh, Vaibhav Bhembre, Anthony D'Atri

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

MON status

We can retrieve basic information about all MONs in the cluster by running the ceph utility's mon stat subcommand. If our clusters contains MONs that are down or unavailable and thus have been temporarily kicked out of quorum, this command will alert us to the situation so that we can address it.

root@ceph-client0:~# ceph mon state1: 1 mons at {ceph-mon0=192.168.42.10:6789/0}, election epoch 5, quorum 0 ceph-mon0

Inf we need detailed information about the state of the entire cluster MON map, we can use the mon dump subcommand.

root@ceph-client0:~# ceph mon dumpdumped monmap epoch 1epoch 1fsid e6d4e4ab-f59f-470d-bb76-511deebc8de3last_changed 2017-09-10 20:20:16.458985created 2017-09-10 20:20:16.4589850: 192.168.42.10:6789/0 mon.ceph-mon0 ...

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