
Ceph Ansible has tons of awesome capabilities, one of them is the possibility to plug on ane existing cluster that was not deployed with it. In this article, I will go through the take over procedure.
The procedure is rather simple. If the cluster was deployed with the following project there won’t be any issue:
- Ceph Deploy
- Puppet Ceph
- Chef Ceph
- Any other deployment tool that relies on ceph-disk
The procedure comes as fellow:
- Install Ansible and add your monitors and osds hosts in it. For more detailed information you can read the Ceph Ansible Wiki
- Set
generate_fsid: falseingroup_vars - Get your current cluster fsid with
ceph fsidand setcluster_fsidaccordingly ingroup_vars - Run the playbook called:
take-over-existing-cluster.ymllike thisansible-playbook take-over-existing-cluster.yml. - Eventually run Ceph Ansible to validate everything by doing:
ansible-playbook site.yml.
Now we can enjoy the power of Ceph Ansible :)