Rate This Document
Findability
Accuracy
Completeness
Readability

Adding Ceph OSDs with the Same Drive Topology as Existing OSDs

Ansible uses the group_vars/osds.yml file to configure OSDs.

Prerequisites

  1. A Ceph cluster deployed using Ansible is running properly.
  2. You have the root permission on the new nodes.
  3. A node that has the same number of data drives as other OSD nodes in the cluster is available.

Procedure

  1. Copy the add-osd.yml file in the /ceph-ansible/infrastructure-playbooks/ directory to the home directory.
    1
    cp ./infrastructure-playbooks/add-osd.yml ./add-osd.yml
    
  2. Add an OSD node name to the [osds] section in the hosts file of the cluster.

  3. Ensure that Ansible can connect to the node.
    1
    ansible all -i hosts -m ping
    
  4. Run the playbook.
    1
    ansible-playbook -i host add-osd.yml