====== [TROUBLESHOOT] ceph-medic: usage ====== ^ Documentation ^| ^Name:| [TROUBLESHOOT] ceph-medic: the utility | ^Description:| Using this utility to perform troubleshooting | ^Modification date :| 05/06/2020| ^Owner:|dodger| ^Notify changes to:|Owner | ^Tags:|ceph, object storage | ^Scalate to:|The_fucking_bofh| ====== Official docs ====== * [[https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/troubleshooting_guide/index#installing-and-using-ceph-medic-to-diagnose-a-ceph-storage-cluster|Red Hat documentation]] * [[https://docs.ceph.com/ceph-medic/master/|Ceph.com documentation]] * [[https://github.com/ceph/ceph-medic|Github page]] ====== Installation ====== yum install ceph-medic ====== Configuration ====== ''ceph-medic'' needs an ''ansible'' style host list.\\ Here is a sample from [[http://larry.ciberterminal.net/monguitest/larry.gif|larry]]: [osds] bvmlm-osd-001.ciberterminal.net bvmlm-osd-002.ciberterminal.net bvmlm-osd-003.ciberterminal.net bvmlm-osd-004.ciberterminal.net bvmlm-osd-005.ciberterminal.net bvmlm-osd-006.ciberterminal.net bvmlm-osd-007.ciberterminal.net bvmlm-osd-008.ciberterminal.net bvmlm-osd-009.ciberterminal.net bvmlm-osd-010.ciberterminal.net bvmlm-osd-011.ciberterminal.net bvmlm-osd-012.ciberterminal.net bvmlm-osd-013.ciberterminal.net bvmlm-osd-014.ciberterminal.net bvmlm-osd-015.ciberterminal.net bvmlm-osd-016.ciberterminal.net bvmlm-osd-017.ciberterminal.net bvmlm-osd-018.ciberterminal.net bvmlm-osd-019.ciberterminal.net bvmlm-osd-020.ciberterminal.net [mons] bvmlm-osm-001.ciberterminal.net bvmlm-osm-002.ciberterminal.net bvmlm-osm-003.ciberterminal.net bvmlm-osm-004.ciberterminal.net bvmlm-osm-005.ciberterminal.net [mgrs] bvmlm-osm-001.ciberterminal.net bvmlm-osm-002.ciberterminal.net bvmlm-osm-003.ciberterminal.net bvmlm-osm-004.ciberterminal.net bvmlm-osm-005.ciberterminal.net [rgws] bvmlm-osgw-001.ciberterminal.net bvmlm-osgw-002.ciberterminal.net bvmlm-osgw-003.ciberterminal.net bvmlm-osgw-004.ciberterminal.net [mdss] bvmlm-osfs-001.ciberterminal.net bvmlm-osfs-002.ciberterminal.net bvmlm-osfs-003.ciberterminal.net bvmlm-osfs-004.ciberterminal.net ====== Usage ====== ===== Check ===== ceph-medic --inventory ceph-medic_hosts.txt check