How do I edit /etc/pve/corosync.conf?

300cpilot

Active Member
Mar 24, 2019
104
4
38
Screwed up a cluster setup and want to change the ip used for the connection. Can I just edit this file to the correct ip?
Not looking forward to reloading it. This is a new cluster so nothing lost yet.
 
Thank you, just what I was looking for.
one more thing - change the IPs (i did it myself) and reboot the whole cluster. i spend hours searching for the mistake where nowhere was found. i was feed up and ready to rebuild the whole cluster, the monitors never back back alive (coulnt be recreated nor deleted). after a reboot, actually 2, the whole cluster was up and running again.
 
  • Like
Reactions: Stoiko Ivanov
cannot update corosync.conf file and also cannot create any file in pve directory. So, cannot follow instruction to copy corosync.conf in corosync.conf.new
 
cannot update corosync.conf file and also cannot create any file in pve directory. So, cannot follow instruction to copy corosync.conf in corosync.conf.new
That's because you have lost quorum so the pmxcfs filesystem mounted at /etc/pve went into read-only mode.

There are ways to override this, and one is actually referred to in the linked docs, but one can also break more things if unusre, so it would be good if you start writing more about your setup (e.g., how many nodes?) and how this happened, i.e., what was your last change done that resulted in cluster breakage?
 

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!