Separate a node without re-installing
Stop Cluster Services
Firstly, stop all the cluster services.
$ systemctl stop pve-cluster
$ systemctl stop corosync
Reset PMXCFS Status
PMXCFS: Proxmox Cluster File System
- Start the cluster filesystem in local mode:
$ pmxcfs -l
- Delete the corosync config files.
$ rm /etc/pve/corosync.conf
$ rm /etc/corosync/*
- Start the filesystem as a normal service.
$ killall pmxcfs
$ systemctl start pve-cluster
Remove Cluster Configuration Files
After killing all PMXCFS processes you must remove any remaining cluster config files for a proper re-join.
$ rm /var/lib/corosync/*
$ rm -r /etc/pve/nodes/NAMEOFPEERNODES
You might want to remove the respective SSH Keys in the authorized_key
file from the old nodes too.
$ pvecm add $target_ring_0_address