How to remove osd/mng/mon when one machine is out the cluster ?

Matheus Tonon

New Member
Dec 11, 2019
1
0
1
26
Hi,

I'm testing proxmox, and I need to know, how to remove osd/mng/mon when one machine is out the cluster.

Exemple, I have 4 machines, I removed one using of the command "pvecm delete exemple",but the configurations(OSDs,
mom and mng) of removed machine stay in cluster. How to delete this configurations ?
 
Exemple, I have 4 machines, I removed one using of the command "pvecm delete exemple",but the configurations(OSDs,
mom and mng) of removed machine stay in cluster. How to delete this configurations ?
Best remove the services before the node is removed from the cluster. To do it afterwards, is a little bit tricky.

Code:
ceph mon remove <mon-id>
ceph osd rm <osd-id>
ceph osd crush rm <osd-id>
Run the commands on one of the nodes in the cluster. It should remove the entries from the cluster. Last but not least, remove any entry regarding the removed node in /etc/pve/ceph.conf.