Hi Jose, On Sun, Oct 20, 2013 at 09:45:44AM -0300, Jose Olcese wrote: > One more question: is there any suggested procedure for adding backend > servers into a peers frontend? I see the problem of timing between adding a > backend server into one peer and later adding into the others. Shoud I > first add the server disabled into all peers and then enable? Will the > stickyness be "honored" even in disabled servers?
What can work is to add them with a weight of zero first. They won't be elected by the load balancing algorithm but will accept persistant connections based on cookies and/or stick-tables. But if your application is really stateless, maybe it's not worth bothering with this. If a client is switched to another haproxy wihch does not know the server's ID, it will simply be rebalanced, be assigned a valid ID and will stick to this ID on other peers. I don't know if this is an acceptable scenario however. Regards, Willy

