How to remove a Node from a Proxmox VE Cluster.

Here you will learn the steps to cleanly remove a Proxmox node from a cluster and run it again as a single node.

Introductory words to remove a Proxmox Node from Cluster

Creating a Proxmox cluster is done quickly and some files are created in the process. But what if you want to remove a node from a cluster and run it cleanly without reinstalling.

The biggest problem is to remove the created files which identify a cluster and to start the corresponding Proxmox services again.

Just follow this quick guide and nothing worse will happen to your system.

systemctl pve-cluster stop
systemctl stop Corosync

pmxcfs -l

rm /etc/pve/corosync . conf
rm -r /etc/corosync /*

killall pmxcfs
systemctl start pve-cluster

pvecm delnode <oldnode-name>

rm /var/lib/corosync/*

Possibly the command to remove the node fails. Then you can set the expected cluster nodes to 1 and repeat the node removal command. This command is sent to the node that is not to be removed.

pvecm expected 1
pvecm delnode <oldnode-name>
rm /var/lib/corosync/*