-
-
Save omerkarabacak/f844404bbc05afbccf5a266c046a873d to your computer and use it in GitHub Desktop.
Revisions
-
ianchen06 revised this gist
Jun 26, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # source: https://forum.proxmox.com/threads/removing-deleting-a-created-cluster.18887/ #/bin/sh # stop service systemctl stop pvestatd.service -
ianchen06 renamed this gist
Jun 26, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ #/bin/sh # stop service systemctl stop pvestatd.service systemctl stop pvedaemon.service -
ianchen06 created this gist
Jun 26, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # stop service systemctl stop pvestatd.service systemctl stop pvedaemon.service systemctl stop pve-cluster.service systemctl stop corosync systemctl stop pve-cluster # edit through sqlite, check, delete, verify $ sqlite3 /var/lib/pve-cluster/config.db sqlite> select * from tree where name = 'corosync.conf'; 254327|0|254329|0|1480944811|8|corosync.conf|totem { version: 2 [...] sqlite> delete from tree where name = 'corosync.conf'; sqlite> select * from tree where name = 'corosync.conf'; sqlite> .quit # #Remove directories pmxcfs -l rm /etc/pve/corosync.conf rm /etc/corosync/* rm /var/lib/corosync/* rm -rf /etc/pve/nodes/*