Rate This Document
Findability
Accuracy
Completeness
Readability

Adding Ceph MON Nodes

Prerequisites

  1. A Ceph cluster deployed using Ansible is running properly.
  2. You have the root permission on the new nodes.

Procedure

  1. Add an MON node name to the [mons] section in the hosts file of the cluster.

  2. Ensure that Ansible can connect to the node.
    1
    ansible all -i hosts -m ping
    
  3. Run the playbook.
    • Method 1:

      Switch to the home directory of Ansible and run the site.yml playbook.

      1
      ansible-playbook -i hosts site.yml
      
    • Method 2:

      Copy infrastructure-playbook/add-mon.yml to the home directory and run the playbook.

      1
      2
      cp infrastructure-playbook/add-mon.yml add-mon.yml
      ansible-playbook -i hosts add-mon.yml