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

How it works...

Since ceph-medic performs checks against the entire cluster it needs to know the nodes that exist in your cluster as well as have password-less SSH access to the nodes in your cluster. If your cluster is deployed via ceph-ansible then your nodes are already configured and this will not be required, if not, then you will need to point ceph-medic towards an inventory file and SSH config file. The syntax for the ceph-medic command is as follows:

        # ceph-medic --inventory /path/to/hosts         --ssh-config /path/to/ssh_config check

The inventory file is a typical Ansible inventory file and can be created in the current working directory where the ceph-medic check is run. The file must be called hosts and the following standard host ...

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