Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
Great help! Thank you for your time! Much appreciated! From: David Coulson To: Hermes Flying Cc: Baptiste ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 11:13 PM Subject: Re: HAproxy and detect split-brain (network failures)

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
? Should I look into it? *From:* David Coulson *To:* Hermes Flying *Cc:* Baptiste ; "haproxy@formilux.org" *Sent:* Thursday, November 29, 2012 11:04 PM *Subject:* Re: HAproxy and detect split-brain (network failures) Again, you need to talk to the pacemaker people for actual

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
>primary? >How does the ping help? >  > > >From: David Coulson mailto:da...@davidcoulson.net >To: Hermes Flying mailto:flyingher...@yahoo.com >Cc: Baptiste mailto:bed...@gmail.com; mailto:haproxy@formilux.org >mailto:haproxy@formilux.org >Sent: Thursday, Novembe

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
quot;haproxy@formilux.org" *Sent:* Thursday, November 29, 2012 10:26 PM *Subject:* Re: HAproxy and detect split-brain (network failures) On 11/29/12 3:11 PM, Hermes Flying wrote: I see now! One last question since you are using Pacemaker. Do you recommend it for splitbrain so that I

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
e other is down due to network failure of the communcation link So how does this work for your system? From: Owen MArinas To: haproxy@formilux.org Sent: Thursday, November 29, 2012 10:40 PM Subject: Re: HAproxy and detect split-brain (network failures) we ha

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
27;t and it is just their communication link that failed? Won't both become primary? How does the ping help?   From: David Coulson To: Hermes Flying Cc: Baptiste ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 10:26 PM Subject: Re:

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Owen MArinas
we have exactly that setup with heartbeat, and 2 floating IPs. Working in production for 3 years now Owen On 29/11/2012 3:26 PM, David Coulson wrote: On 11/29/12 3:11 PM, Hermes Flying wrote: I see now! One last question since you are using Pacemaker. Do you recommend it for splitbrain so

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
On 11/29/12 3:11 PM, Hermes Flying wrote: I see now! One last question since you are using Pacemaker. Do you recommend it for splitbrain so that I look into that direction? Any two node cluster has risk of split brain. if you implement fencing/STONITH, you are in a better place. If you have

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
and HAProxy2 in my described deployment From: David Coulson To: Hermes Flying Cc: Baptiste ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 9:29 PM Subject: Re: HAproxy and detect split-brain (network failures) Both haproxy instance

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
nt what can I do? *From:* David Coulson *To:* Hermes Flying *Cc:* Baptiste ; "haproxy@formilux.org" *Sent:* Thursday, November 29, 2012 9:12 PM *Subject:* Re: HAproxy and detect split-brain (network failures) Again, you are mixing everything up. HAProxy has it's own confi

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
on To: Hermes Flying Cc: Baptiste ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 9:12 PM Subject: Re: HAproxy and detect split-brain (network failures) Again, you are mixing everything up. HAProxy has it's own configuration - It defines what nodes your port 80 tra

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
in distributing the load to all the nodes. *From:* David Coulson *To:* Hermes Flying *Cc:* Baptiste ; "haproxy@formilux.org" *Sent:* Thursday, November 29, 2012 8:57 PM *Subject:* Re: HAproxy and detect split-brain (network failures) You can do that, but haproxy doesn't hav

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
ubject: Re: HAproxy and detect split-brain (network failures) You can do that, but haproxy doesn't have anything to do with the failover process, other than you run an instance of haproxy on one server, and another instance on your backup system. As I said, neither of the haproxy instanc

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Robert Snyder
ails? I remember >> reading this. Is this wrong? >> >> From: David Coulson >> To: Hermes Flying >> Cc: Baptiste ; "haproxy@formilux.org" >> >> Sent: Thursday, November 29, 2012 8:39 PM >> Subject: Re: HAproxy and detect split-brain (netwo

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
manual for this somewhere? *From:* David Coulson mailto:da...@davidcoulson.net *To:* Hermes Flying mailto:flyingher...@yahoo.com *Cc:* Baptiste mailto:bed...@gmail.com; mailto:haproxy@formilux.org mailto:haproxy@formilux.org *Sent:* Thursday, November 29, 2012 8:21 PM *Subject:* Re: HAproxy and

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
From: David Coulson To: Hermes Flying Cc: Baptiste ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 8:39 PM Subject: Re: HAproxy and detect split-brain (network failures) You are mixing two totally different things together. 1) HAProxy will do periodic health checks of

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
mes Flying *Cc:* Baptiste ; "haproxy@formilux.org" *Sent:* Thursday, November 29, 2012 8:21 PM *Subject:* Re: HAproxy and detect split-brain (network failures) HAProxy only does primary and backup in terms of active backend systems - You can have a pool of primary that it routes across

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
manual for this somewhere? From: David Coulson To: Hermes Flying Cc: Baptiste ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 8:21 PM Subject: Re: HAproxy and detect split-brain (network failures) HAProxy only does primary and backup in te

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
: Hermes Flying ; "haproxy@formilux.org" Sent: Thursday, November 29, 2012 3:13 PM Subject: Re: HAproxy and detect split-brain (network failures) Hi, We use Keepalived http://www.keepalived.org/index.html to manage the Virtual IP address management between our two physical HAproxy s

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread David Coulson
of HAProxy's primary/backup "protocol" ? *From:* Baptiste *To:* Hermes Flying *Cc:* "haproxy@formilux.org" *Sent:* Thursday, November 29, 2012 3:02 PM *Subject:* Re: HAproxy and detect split-brain (network failures) Hi, This is not HAProxy's role, this is the t

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Hermes Flying
s Flying Cc: "haproxy@formilux.org" Sent: Thursday, November 29, 2012 3:02 PM Subject: Re: HAproxy and detect split-brain (network failures) Hi, This is not HAProxy's role, this is the tool you use to ensure high availability to do that. I could see a way where HAProxy can

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Robert Snyder
Hi, We use Keepalived http://www.keepalived.org/index.html to manage the Virtual IP address management between our two physical HAproxy servers. It maintains heartbeat between the servers, and in the event of failure passes ensures that the VIPs are migrated and the service is brought up. Also

Re: HAproxy and detect split-brain (network failures)

2012-11-29 Thread Baptiste
Hi, This is not HAProxy's role, this is the tool you use to ensure high availability to do that. I could see a way where HAProxy can report one interface failing, maybe this could help you to detect if you're in a split brain situation. cheers On Thu, Nov 29, 2012 at 11:51 AM, Hermes Flying