Removing nodes from a cluster
At times, it may be necessary to remove a node from a cluster for various reasons. A n can only be removed through the CLI as of Proxmox VE 3.4.
Getting ready
Before removing a node, be sure there are no running VMs in a node. Move any VMs to a different node by following the steps in the Migrating a virtual machine recipe, shown later on in this chapter. Log in as the root to a node not being removed through SSH or the Proxmox GUI | Shell. Power off the node that needs to be removed.
Note
Proxmox highly recommends that the removed node does not power up in the same network as it is. Removing a node from cluster is a permanent process. It will delete all cluster information from the node that is being removed.
How to do it…
Use the following steps, to remove nodes from the cluster:
Run the following command from a node:
#pvecm delnode <hostname_to_be_deleted>
In our example cluster, if we want to remove the node
pmx3
, we will run the following command from either...