Last active
July 9, 2016 02:20
-
-
Save AlexisDucastel/cd16a023a26c907eff2f to your computer and use it in GitHub Desktop.
Proxmox cluster delete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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