On Fri, Jul 4, 2014 at 12:53 PM, Baptiste <[email protected]> wrote:

> >     stick-table type string len 12 size 32m expire 7d peers mypeers store
> > server_id
> >     stick on hdr(host)
> >
>
> Last question (hopefully):

Please feel free to question.


> do you need ALL the requests for one Host
> header to be routed to the same server?
>
Yes, it is absolutely necessary. This is only reason we are using sticky
tables.

Do you need them to failover in the mean time?
>
If one backend server fails, we need all of them to failover to second
available server and stay there unless server fails. This is why we are
using default-server on-marked-down shutdown-sessions (suggested by Willy
on mailing list).

If one haproxy fails, we would want all of them to use same backend server,
this will also be required if we start using DNS load balancing between
haproxy servers.

I'm trying to figure out if there is no other way to achieve what
> you're doing with your stick table, to avoid using a peers section.
>
> Baptiste
>

Reply via email to