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

Matheus Tonon

New Member
Dec 11, 2019
1
0
1
25
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!