Skip to content

Instantly share code, notes, and snippets.

@AlexisDucastel
Last active July 9, 2016 02:20
Show Gist options
  • Save AlexisDucastel/cd16a023a26c907eff2f to your computer and use it in GitHub Desktop.
Save AlexisDucastel/cd16a023a26c907eff2f to your computer and use it in GitHub Desktop.
Proxmox cluster delete
# First, make a backup of the cluster:
cp -a /etc/pve /root/pve_backup
# Stop cluster service:
/etc/init.d/pve-cluster stop
# Umount /etc/pve if it is mounted:
umount /etc/pve
# Stop corosync service:
/etc/init.d/cman stop
# Remove cluster configuration:
rm /etc/cluster/cluster.conf
rm -rf /var/lib/pve-cluster/*
# Start again cluster service:
/etc/init.d/pve-cluster start
# Now, you can create new cluster:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment