[Linux-HA] 2 Nodes split brain, distant sites

2014-02-27 Thread TRIBOLET Thomas
Hello, Before starting, my first language is French so I'll try to do my best to explain my problem in English. 1) The situation : I have 2 servers on 2 distant site. I need to run openvpn with the same configuration on the 2 servers. But it must run only on one server at a time. I

Re: [Linux-HA] 2 Nodes split brain, distant sites

2014-02-27 Thread Fabian Herschel
Hi, my first idea would be to fix binnetaddr. It should be the networkaddress not the machines network address. Regards Fabian On 02/27/2014 03:42 PM, TRIBOLET Thomas wrote: Hello, Before starting, my first language is French so I'll try to do my best to explain my problem in English.

Re: [Linux-HA] 2 Nodes split brain, distant sites

2014-02-27 Thread Digimer
On 27/02/14 09:42 AM, TRIBOLET Thomas wrote: 2) My problem : When there is a network problem : Ex : a) first-node site lost internet connection ( and communication with second-node at same time due to vpn on internet connection ) b) cluster stop openvpn on first node and launch it on

Re: [Linux-HA] 2 Nodes split brain, distant sites

2014-02-27 Thread TRIBOLET Thomas
Hi, Thanks for your response. I'll try booth plugin. It's in debian repository. If it don't work I'll try making a fake fencing agent that will only restart corosync. ( It seems it fix the problem ) Thanks De : linux-ha-boun...@lists.linux-ha.org

Re: [Linux-HA] 2 Nodes split brain, distant sites

2014-02-27 Thread Digimer
For fencing to work, it must actually cut off the other node. Simply returning a fake success will cause a split-brain. On 27/02/14 12:38 PM, TRIBOLET Thomas wrote: Hi, Thanks for your response. I'll try booth plugin. It's in debian repository. If it don't work I'll try making a fake

[Linux-HA] Antw: Re: 2 Nodes split brain, distant sites

2014-02-27 Thread Ulrich Windl
Digimer li...@alteeve.ca schrieb am 27.02.2014 um 17:05 in Nachricht 530f6241.5010...@alteeve.ca: [...] reliably avoid split-brains. Unfortunately, fencing doesn't work on stretch clusters. [...] If you have a shared storage (assuming FC in indepenent cables) storage-based fencing should