Adding an MDS node to the Ceph configuration file

As in the monitors, let's add MDS node details to the /etc/ceph/ceph.conf file from ceph-node1 using Ansible:

  1. On ceph-node1 in the /usr/share/ceph-ansible/group_vars directory, edit the ceph_conf_overrides section of the all.yml to reflect the MDS nodes details. As with the monitors, please be careful with the formatting of the file or the running of the playbook will fail with a formatting error:
  1. Save the updated all.yml file and re-run the playbook from the /usr/share/ceph-ansible directory:
 # ansible-playbook site.yml
  1. Validate that the Ceph configuration file updated the MDS node in the cluster by viewing the /etc/ceph/ceph.conf file:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset