Hi,
you can track a server status.
IE:
backend be_app
hash-type consistent
option httpchk /ping
balance uri
server xxx 172.16.0.30:80 check
server yyy 172.16.0.33:80 check
backend be_home
balance roundrobin
server xxx 172.16.0.30:80 track be_app/xxx
server yyy 172.16.0.33:80 track be_app/yyy
that way, a single health check is performed and if the check in
backend be_app fails, then all the tracking servers fails as well.
cheers
On Mon, Dec 10, 2012 at 2:08 PM, Arnall <[email protected]> wrote:
> Hello,
>
> in my configuration i have some servers in several backend, i would like to
> know if it's mandatory to do the server check in every backend, or if one
> check is enough for all the backend.( if a server is down in one backend
> it's automatically down in every backend...).
>
> example:
> backend be_app
> hash-type consistent
> option httpchk /ping
> balance uri
> server xxx 172.16.0.30:80 check
> server yyy 172.16.0.33:80 check
>
> backend be_home
> balance roundrobin
> server xxx 172.16.0.30:80
> server yyy 172.16.0.33:80
>
>
> Thanks !
> Arnaud.
>