Bobcares

Quick Steps to Remove Ceph Node in Proxmox

by | May 12, 2024

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:

proxmox remove ceph node

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.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF