We can easily remove the ceph node in Proxmox with these steps in this article. At Bobcares, we assist our customers with several Proxmox queries on a daily basis as part of our Proxmox Support.
How to Remove the Ceph Node in Proxmox?
We must run the below set of statements in order to delete the ceph node in Proxmox:
1. Login to the Proxmox Web GUI.
2. Click on any of the PVE nodes.
3. From the right side panel, go to Ceph -> Pools record items under Name.
4. Go to Ceph -> CephFS and record the existing cephFS names.
5. Click on Datacenter from left hand side menu.
6. From the right side, click on Storage.
7. Remove all the entries we saw under CephFS and Pools in steps 3 and 4.
8. From the right side panel, Click on the master node, go to Ceph -> CephFS, and then stop and destroy all Metadata services.
9. Select on the master node from the right-hand side panel. Go to Ceph -> OSD. Mark all OSDs as Out.
10. From the right-hand menu, right-click on one of the PVE nodes’ names, then click on >_ Shell to go to the terminal.
11. Mark OSD down.
ceph osd down
12. Click on the master node from the right-hand side panel. Go to Ceph > OSD. Tap on the OSD to be deleted. Click on the More button in the top right corner, then click on Destroy.
13. To remove the Ceph configuration file, use the following command from the terminal.
rm /etc/ceph/ceph.conf
14. To disable the Ceph monitor service, run the following command on each PVE node:
systemctl stop ceph-mon@
15. Disable the Ceph monitor service and run the following command on each node:
systemctl disable ceph-mon@
16. Now, delete ceph config file from all nodes:
rm -r /etc/pve/ceph.conf rm -r /etc/ceph rm -rf /var/lib/ceph
17. Reload all the PVE nodes.
18. To clear leftover Ceph settings and services, use the following code on each node:
pveceph purge
19. Clear the OSD disks from each OSD nodes, so that we can use those disks later:
# Remove the lvm signature from the disk # Note: Change the drive letter (sdx) accordingly fdisk /dev/sdx
20. Then Enter d, Press Enter key, Enter w, Press Enter key:
rm -r /dev/ceph-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
21. Reboot PVE host.
22. We can also delete all ceph packages if desired using the code:
apt purge ceph-mon ceph-osd ceph-mgr ceph-mds
[Need to know more? Click here to reach us.]
Conclusion
To sum up, our Support team went over the steps to remove Ceph node from Proxmox.
var google_conversion_label = "owonCMyG5nEQ0aD71QM";
0 Comments