Using ceph-medic
Since it's inception Ceph has lacked an overall health-check tool which would easily highlight an issue inside the Ceph cluster. The ceph status
and ceph health detail
commands exist and are good for providing overall cluster health details but do not point the user in any concrete direction if there is a more complex issue. The creation of the ceph-medic
project enables running a single command to poll multiple predefined checks on a Ceph cluster. These checks range from best practice recommendations to validation of keyrings and directory ownership. The ceph-medic
project continues to develop at a fast pace and new checks are added often.
Note
At the time of writing this book, only rpm repos built for centOS 7 are supported.
How to do it...
We will use the following steps to install and use ceph-medic
:
- Install the latest RPM repo:
# wget http://download.ceph.com/ceph-medic/latest/rpm/el7/ ceph-medic.repo -O /etc/yum.repos.d/ceph-medic.repo
- Install...