[SOLVED] Accidentally deleted corosync configs

ninjabes

Active Member
Dec 13, 2018
14
3
43
44
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!