Caution Read the procedure carefully before proceeding, as it may not be what you want or need.
pvecm statusError: Corosync config '/etc/pve/corosync.conf' does not exist - is this node part of a cluster?
pvecm nodesNote the name of the node you want to remove
pvecm delnode (name of the node)
Set Node to have a quorum of 1
pvecm expected 1
systemctl stop pve-cluster
pmxcfs -l
- turn off node you want to remove
- reboot the server
rm -fv /etc/pve/cluster.conf \
/etc/pve/corosync.conf
rm -rfv /etc/pve/nodes/(name of the node)
rm -fv /etc/cluster/cluster.conf \
/etc/corosync/corosync.conf
rm -fv /var/lib/pve-cluster/.pmxcfs.lockfile
systemctl start pve-cluster
- Reboot and cluster should be gone
rm /etc/corosync/authkey