Corosync and ifdown on active network interface

jfriesse edited this page Sep 20, 2012 · 1 revision

How does ifdown of an active interface work?

The short answer is poorly.

Corosync monitors interfaces it is using looking for an event indicating the interface has been taken out of service. When it does this, it rebinds corosync to the localhost IP address. The reason it does this is some individuals want to use Corosync locally with only 1 node, and then when a network interface becomes available, form a proper cluster.

Other people want to test how split brain works and ifdown the local ip. This causes third party applications to behave erratically although corosync alone generally tolerates this well.

If you want to simulate split brain, use iptables to block the incoming and outgoing udp traffic on the port.

Finally we do have plans to address this problem so that the users of Corosync can be satisified in the two use cases defined above.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.