Skip to content
Snippets Groups Projects
Commit eba347f8 authored by Alberto Colla's avatar Alberto Colla
Browse files

Update restore-ceph-from-mon-disaster.rst

parent 4ccb70eb
No related branches found
No related tags found
No related merge requests found
Ceph: restore cluster after loosing all ceph-mon's Ceph: restore cluster after losing all ceph-mon's
================================================ ================================================
Here we will describe how to restore a Ceph cluster after a disaster where all ceph-mon's are lost. Of course we assume that the data on the OSD devices are preserved! Here we will describe how to restore a Ceph cluster after a disaster where all ceph-mon's are lost. We obviously assume that the data on the OSD devices are preserved!
The procedure refers to a Ceph cluster created with Juju. The procedure refers to a Ceph cluster created with Juju.
Suppose that you have lost (or removed by mistake) all ceph-mon's. We start recreating them, i.e. we have three new ceph-mon units. Suppose that you have lost (or removed by mistake) all ceph-mon's. We start recreating them, i.e. we have three new ceph-mon units, unfortunately the new mon's do not know anything of the OSD's.
Stop all OSDs Stop all OSDs
...@@ -32,6 +32,7 @@ Rebuild OSD mon map ...@@ -32,6 +32,7 @@ Rebuild OSD mon map
On the juju client machine, rebuild old mon map using existing OSDs with the following script, which will save result to ./mon-store:: On the juju client machine, rebuild old mon map using existing OSDs with the following script, which will save result to ./mon-store::
:doc:`restore-osd.sh <../../images/restore-osd.sh>`
* create keyring with following from new MONs: (this is my example [3]) * create keyring with following from new MONs: (this is my example [3])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment