I have a node in my cluster that somehow ended up with the wrong spelling in /etc/corosync/corosync.conf. I have tried changing the file itself, but clearly it gets regenerated at some point. The node entry looks like this:
As you can see, the ring0_addr entry is wrong. Now on that node, whenever cororsync restarts, the node complains that there isn't a quorum, and the other nodes think it has dropped out of the cluster. If I change the file manually and restart corosync, then the node comes up.
How do I permanently fix that entry so I don't have to manually work around this problem whenever corosync restarts on that node (like when the corosync-pve package updates)? And I'd rather not have to reinstall the node with a different name.
Code:
nodelist {
node {
name: bagh
nodeid: 2
quorum_votes: 1
ring0_addr: baugh-corosync
}
As you can see, the ring0_addr entry is wrong. Now on that node, whenever cororsync restarts, the node complains that there isn't a quorum, and the other nodes think it has dropped out of the cluster. If I change the file manually and restart corosync, then the node comes up.
How do I permanently fix that entry so I don't have to manually work around this problem whenever corosync restarts on that node (like when the corosync-pve package updates)? And I'd rather not have to reinstall the node with a different name.