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...

Deploying an MDS server through ceph-ansible is quite easy, let's review the steps on how this is done:

  1. Using Ansible from ceph-node1, we will deploy and configure MDS on ceph-node2. On our Ansible configuration node ceph-node1, add a new section [mdss] to the /etc/ansible/hosts file:
  2. Navigate to the Ansible configuration directory on ceph-node1, /usr/share/ceph-ansible:
        root@ceph-node1 # cd /usr/share/ceph-ansible
  1. Run the Ansible playbook to deploy the MDS on ceph-node2:
         # ansible-playbook site.yml
  1. Once the playbook completes successfully, you can validate that the MDS is up and active, that we have created two pools, ...

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