Vhtforums
AI Assistant
Remove a Proxmox no...
 
Notifications
Clear all

Remove a Proxmox node from a Cluster and one that is stuck

1 Posts
1 Users
0 Reactions
1,570 Views
Brandon Lee
Posts: 690
Admin
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@brandon-lee)
Member
Joined: 16 years ago
[#507]

If you work with Proxmox clusters long enough, you will likely have a cluster that you need to remove a node from. This is a fairly easy process using the right commands. First, check the status of your cluster with the command:

pvecm status

This will show you the current status of your Proxmox cluster. Then to remove the selected node, you run the following command:

pvecm delnode <nodename>

 

deleting a proxmox node

However, you may have times when you run this command, it says it worked, but you still see the node listed in the Proxmox web UI. When this happens check the directory located here to see if there is a directory still showing for the deleted node:

ls /etc/pve/nodes
listing the cluster directory

If you see the deleted Proxmox cluster node listed here, then you can delete the folder representing the node:

rm -rf /etc/pve/nodes/<nodename>
removing the directory for the node

Check the web UI to make sure the node is gone.

checking the proxmox web ui to make sure it is gone