*not* just another blog ;)

Remove a node from Proxmox 5

- Posted in Quick Tip by with comments

I have a Proxmox cluster set up using a few dedicated servers on the same network. I have decided to downsize my cluster and remove 2 of the nodes, leaving only 2 behind.

Normally, to remove a node from Proxmox it's a simple matter of shutting down the node to be removed and then on one of the Proxmox cluster members, removing it like this:

pvecm nodes

That will list the nodes in the cluster

pvecm delnode <nodename>

Which will remove it from the cluster.

However, when I went to do that I was given an error:

cluster not ready - no quorum?

Ruh roh! A simple fix is to let Proxmox know that there are only 2 servers left in the cluster, therefore the number of "votes" the quorum needs to do things will be set.

pvecm expected 2

Then try pvecm delnode again:

pvecm delnode testnode3

The output you will see if succesful will be similar to this:

Killing node 3

To remove them from the web UI, we need to delete the folders like this:

rm -rf /etc/pve/nodes/nodename

And we're done :)