]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
take over an existing cluster with ceph ansible
authorSébastien Han <seb@redhat.com>
Sun, 1 May 2016 14:46:28 +0000 (16:46 +0200)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 14 Jul 2016 17:54:03 +0000 (12:54 -0500)
commitabba2f0b3826b5a1be1afe5018739f92d5fd6299
tree7fc4070471546c1bbe4d4cebf700fa967682b61a
parent8b57e075c9bccc2b9a66ba76704ff48ea8d3fa75
take over an existing cluster with ceph ansible

Introducing a playbook helper to control a ceph cluster that was not
deployed with ceph ansible.
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:

1. Install Ansible and add your monitors and osds hosts in it. For more
detailed information you can read the Ceph Ansible Wiki
2. Set  generate_fsid: false in group_vars
3. Get your current cluster fsid with ceph fsid and set cluster_fsid
accordingly in group_vars
4. Run the playbook called: take-over-existing-cluster.yml like this
ansible-playbook take-over-existing-cluster.yml.
5. Eventually run Ceph Ansible to validate everything by doing:
ansible-playbook site.yml.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 764eebf9e91e6116a07c6993ee189c088893fa89)

Resolves rhbz#1356687
take-over-existing-cluster.yml [new file with mode: 0644]