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 to do it...

We will use the following commands for configuring Ceph Metrics in ceph-node1:

  1. In this book, ceph-ansible virtual machine is ceph-node1. Perform the following steps in ceph-node1. This will install repositories which include the cephmetrics packages and its dependencies.
        sudo su -        mkdir ~/cephmetrics        curl -L -o /etc/yum.repos.d/cephmetrics.repo         http://download.ceph.com/cephmetrics/rpm-                                     master/el7/cephmetrics.repo        yum install cephmetrics-ansible -y
  1. Edit the inventory file.

You need to modify /etc/ansible/hosts to add Ceph Metrics node and in this book, we are using ceph-node1 as Ceph Metrics node.  If you are running ansible-playbook on a host mentioned in the inventory file, you will need to append ansible_connection=local ...

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