You have used ceph-ansible to set up your cluster, and you can use the same ceph-ansible virtual machine to install cephmetrics to take advantage of the inventory file—/etc/ansible/hosts.
Installing and configuring Ceph Metrics with the Grafana dashboard
How to do it...
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-
...