You probably need to start here:
https://docs.ceph.com/en/latest/man/8/monmaptool/
It's used to recover from a MON failure [1].
But may I ask why you want to recover the cloned cluster? Wouldn't it
be easier to just bootstrap a new one and wipe everything? Anyway, the
monmaptool can help you create a new monmap with the correct
IPs/hostnames so you can start MON services with new IPs.
[1]
https://docs.ceph.com/en/quincy/rados/troubleshooting/troubleshooting-mon/#recovering-a-monitor-s-broken-monmap
Zitat von Ahmed Bessaidi <ahmed.bessaidi@xxxxxxxxxx>:
Hello Robert,
I changed ceph.conf and all the files containing IPs or hostname.
How can I change the mon map inside the MON DB ?
Best Regards,
Ahmed.
-----Original Message-----
From: Robert Sander <r.sander@xxxxxxxxxxxxxxxxxxx>
Sent: mardi 27 septembre 2022 08:28
To: ceph-users@xxxxxxx
Subject: Re: Ceph Cluster clone
[EXTERNAL EMAIL]
On 26.09.22 21:27, Dhairya Parmar wrote:
Can you provide some more information on this? Can you show exactly
what error you get while trying to start the cluster?
I fixed the IP/hostname part, but I cannot get the cloned cluster to
start (Monitors issues).
That means that you changed the IP addresses of the cloned hosts?
You cannot just change IP addresses, you have to rollout new MONs on
the new IPs first. The MON IP is recorded in the mon map.
I.e. you would have to manually edit the mon map inside the MON DB
before being able to start the cluster. And you have to edit
ceph.conf.
The new cluster then still has the old cluster fsid which may or may
not be an issue if you ever need to couple both clusters for
replication.
Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin
https://www.heinlein-support.de
Tel: 030 / 405051-43
Fax: 030 / 405051-19
Amtsgericht Berlin-Charlottenburg - HRB 220009 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an
email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx