[SOLVED] Accidentally deleted corosync configs

ninjabes

Active Member
Dec 13, 2018
14
3
43
45
I have accidentally deleted all corosync configs/files on one node of my cluster. Is there an easy way to get that node back into the cluster? I have already tried to copy /etc/corosync/* from another node but without success.

Thanks in advance!
 
Last edited:
Hi,

Does the `/etc/pve/corosync.conf` is still exist on the deleted corosync node?

May you also tell us what exactly you deleted?
 
Hi,

Does the `/etc/pve/corosync.conf` is still exist on the deleted corosync node?

May you also tell us what exactly you deleted?
No, its no there anymore. I can only find a `/etc/pve/corosync.conf.bak`. The .bak file has all nodes included that should be in the cluster.

I wanted to delete a node from the cluster but I ssh'd into the wrong one. :rolleyes: I used the following commands:

Bash:
472   systemctl stop pve-cluster 
473   systemctl stop corosync 
474   pmxcfs -l 
475   rm /etc/pve/corosync.conf 
476   rm /etc/corosync/* 
477   rm -rf /etc/corosync/* 
478   killall pmxcfs 
479   systemctl start pve-cluster
 
What if the node I have deleted was the first node of the cluster? Does this have any implications?

I wanted to remove the node from the cluster but currently its not working properly. The remaining cluster is complaining about quorum.
Code:
cluster not ready - no quorum?