Hi Baptiste, On Sat, Sep 22, 2012 at 07:05:39PM +0200, Baptiste wrote: > Hi David, > > I'm sorry, but disabled still let sticked connection to a server: > According to the doc: > disabled > The "disabled" keyword starts the server in the "disabled" state. That means > that it is marked down in maintenance mode, and no connection other than the > ones allowed by persist mode will reach it. It is very well suited to setup > new servers, because normal traffic will never reach them, while it is still > possible to test the service by making use of the force-persist mechanism.
No, you're mistaken, maybe something here is confusing and I'm interested in knowing what. Is this "persist mode" that confused you ? Here the doc is referring to the "persist" keyword (now obsoleted by "option persist"), which forces sticky connections to go to their server even if the server looks down or is disabled. Otherwise the difference between maintenance and weight zero precisely is for sticky connections which don't go to the server in maintenance mode. There's a simple way to understand all this : when you have to operate on your server, first you lower its weight to zero to take it out of load balancing, you wait for some time, and only then you put it into maintenance mode in order to be able to operate without anybody other than you being able to reach it. BTW, health checks are also disabled in maintenance mode so that they don't perturbate operations. Regards, Willy

