Skip to content

Instantly share code, notes, and snippets.

@hunzo
Last active April 27, 2024 08:52
Show Gist options
  • Save hunzo/4f40c324e66f02400da3da81dc7fca74 to your computer and use it in GitHub Desktop.
Save hunzo/4f40c324e66f02400da3da81dc7fca74 to your computer and use it in GitHub Desktop.
proxmox delete cluster

force delete pve-cluster

pvecm expected 1
  • stop cluster
systemctl stop pve-cluster
  • force run cluster local mode
pmxcfs -l
  • Delete all the cluster configuration files
rm -f /etc/pve/cluster.conf /etc/pve/corosync.conf
rm -f /etc/cluster/cluster.conf /etc/corosync/corosync.conf
rm /var/lib/pve-cluster/.pmxcfs.lockfile
  • stop cluster running
systemctl stop pve-cluster
  • reboot
reboot
  • delete authkey
rm /etc/corosync/authkey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment