BIG MISTAKE: deleted host from cluster and booted

mgiammarco

Renowned Member
Feb 18, 2010
165
10
83
Hello,
I have made the worst mistake: I deleted a server from the cluster and removed it.
Unfortunately its boot disk finished in the new server and by mistake I booted from it.
Now I get only "cannot initialize CMAP service".
What can I do?
Please help me!
Mario
 
I have seen in corosync.conf that bindnetaddr is the address of server deleted. I have changed it with a real cluster ip and situation is improved.
 
I was able to recover the cluster.
The very strange thing is that I had to put again in the totem configuration as bindnetaddr the address of server that does not exist anymore.
I would like to ask: in a case like this are there some backups? How can I rollback?
Thanks again,
Mario
 
man corosync.conf
bindnetaddr
This specifies the network address the corosync executive should bind to.

bindnetaddr should be an IP address configured on the system, or a network address.

For example, if the local interface is 192.168.5.92 with netmask 255.255.255.0, you
should set bindnetaddr to 192.168.5.92 or 192.168.5.0. If the local interface is
192.168.5.92 with netmask 255.255.255.192, set bindnetaddr to 192.168.5.92 or
192.168.5.64, and so forth.
We have two corosync.conf files, the replicated one is under /etc/pve/corosync.conf, this one is copied to /etc/corosync.conf as pmxcfs relies on it. Depends on which one you edited, it could be that you only edited the local not the cluster wide version.