I have a 4 node cluster and removed one today. Ceph took 4+ hours to sync up but now shows a health warning and still shows the node that was removed as a monitor.
How do I get this cleaned up? Everything is running ok, so far.
No I forgot about it before I ran the command. Thanks I will go through the steps.
Now I am unable to destroy the OSD disks via the gui.
This is what I did to get the monitor portion cleaned up.
First, make sure that you have a quorum of monitors in your Ceph cluster. This means that you should have at least two monitors remaining after you remove the one you want to remove.
SSH into the Proxmox node where the monitor you want to remove is running.
Run the following command to determine the ID of the monitor:
ceph mon stat
The output will show you the ID of each monitor in the cluster, as well as its hostname and IP address. Make note of the ID of the monitor you want to remove.
Run the following command to remove the monitor:
ceph mon remove <monitor-id>
Replace <monitor-id> with the ID of the monitor you want to remove. In my case Node-D.
The monitor should now be removed from the cluster. You may need to restart the Ceph daemon on the Proxmox node where the monitor was running for the changes to take effect.
Finally, verify that the monitor has been removed by running the following command:
ceph mon stat
This should show you a list of the remaining monitors in the cluster, and the monitor you removed should not be included.
Replace <osd-id> with the ID of the OSD you want to remove.
The OSD should now be removed from the cluster. You may need to restart the Ceph daemon on the Proxmox node where the OSD was running for the changes to take effect.
Finally, verify that the OSD has been removed by running the following command:
ceph osd tree
This should show you a list of the remaining OSDs in the cluster, and the OSD you removed should not be included.
This last step appears to be a time issue. It is now rebalancing again. Note that in my case all of my vm's and ct's are off line, even if the GUI has them running..
I did have to remove the server from /etc/ceph/ceph.conf. (Make a backup first! cp /etc/ceph/ceph.conf /etc/ceph/ceph.conf.bak)
I will update when the resync is finished in a couple of hours.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.