← Back to Knowledge

Proxmox

Remove a Node from a Proxmox Cluster

Updated

The pvecm delnode command removes a node from the cluster configuration. Run it on a node that will remain in the cluster.

Before you start

  • Move all VMs and LXC containers to another node.
  • Check for replication jobs, HA settings, or Ceph services that use the node.
  • Shut down the node you want to remove and keep it off.
  • Make sure the remaining cluster has quorum. A two-node cluster without a QDevice needs extra steps. If you use a QDevice, remove its configuration before removing the node.

Remove the node

List the cluster nodes:

pvecm nodes

Find the correct node name, then run:

pvecm delnode NODE_NAME

Replace NODE_NAME with the name of the node. For example:

pvecm delnode pve-04

This removes pve-04 from the cluster configuration. It does not erase its disks or turn it into a standalone server.

Check the cluster

Run:

pvecm status

Check that the remaining nodes are present and the cluster has quorum.

Do not reconnect the removed node with its old cluster configuration. Proxmox recommends a fresh installation before adding it to a cluster again.

Sources

The instructions in this article have been checked against the official Proxmox VE documentation:

GitHub
LinkedIn
X
youtube