We will use the following commands for configuring Ceph Metrics in ceph-node1:
- 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
- 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 ...