Re: Add servers without disruption

2016-03-31 Thread Cyril Bonté
Hi all, Le 31/03/2016 07:23, Baptiste a écrit : On Thu, Mar 31, 2016 at 7:00 AM, Paul Draper wrote: it's already doable in 1.6 Great. (It seems that the stats socket commands disappeared from the HTML docs in 1.6.) It has been moved into a doc/management.txt which is not (yet ?) parsed b

Re: Add servers without disruption

2016-03-30 Thread Baptiste
On Thu, Mar 31, 2016 at 7:00 AM, Paul Draper wrote: >> it's already doable in 1.6 > > > Great. (It seems that the stats socket commands disappeared from the HTML > docs in 1.6.) > It has been moved into a doc/management.txt which is not (yet ?) parsed by dconv to produce the HTML output. Baptist

Re: Add servers without disruption

2016-03-30 Thread Paul Draper
> > it's already doable in 1.6 > Great. (It seems that the stats socket commands disappeared from the HTML docs in 1.6.) Though in any case, the server state save/load alone will solve my issue rather well. On Wed, Mar 30, 2016 at 10:00 PM, Baptiste wrote: > > Is it actually possible to change

Re: Add servers without disruption

2016-03-30 Thread Baptiste
> Is it actually possible to change server IP addresses via the stats socket, > or were you just suggesting a change? it's already doable in 1.6: set server / addr I'm working on allowing to change the service port using the same command (:) but it's more complicated due to the impact on many o

RE: Add servers without disruption

2016-03-30 Thread Lukas Tribus
Hey guys, I think completely hitless reload is what the end goal should be. Config changes are not the only benefit, hitless binary upgrade would be terrific as well :) This should already work on the BSDs, only in Linux we have that race condition before close() and we may be able to mimic BSD

Re: Add servers without disruption

2016-03-30 Thread Paul Draper
> > you can perform DNS resolution at run time (from my understanding, > you don't do it now) Ah, yes, I was using 1.5 and did not know that 1.6 added this. you can save and apply server states (not the statistics) before > and after reloads, to avoid the unhealthy server effect Fantastic. We

Re: Add servers without disruption

2016-03-29 Thread Baptiste
On Tue, Mar 29, 2016 at 7:21 PM, Paul Draper wrote: > As I understand it, there seems to no way to add a server to HAProxy without > incurring significant disruption. Adding a server requires reloading > configuration. This loses all statistics, all health check information, etc. > So, for instanc

Re: Add servers without disruption

2016-03-29 Thread Paul Draper
(The example should have been s3-1.amazonaws.com.) On Tue, Mar 29, 2016 at 11:21 AM, Paul Draper wrote: > As I understand it, there seems to no way to add a server to HAProxy > without incurring significant disruption. Adding a server requires > reloading configuration. This loses all statistics

Re: Add servers without disruption

2016-03-29 Thread Chris Warren
> On 29 Mar 2016, at 18:22, Paul Draper wrote: > > As I understand it, there seems to no way to add a server to HAProxy without > incurring significant disruption. Adding a server requires reloading > configuration. This loses all statistics, all health check information, etc. > So, for inst

Add servers without disruption

2016-03-29 Thread Paul Draper
As I understand it, there seems to no way to add a server to HAProxy without incurring significant disruption. Adding a server requires reloading configuration. This loses all statistics, all health check information, etc. So, for instance, after adding a server, HAProxy will send traffic to unheal