Welcome! Log In Create A New Profile

Advanced

Check just one backend, node down in all

Posted by Andrea 
Andrea
Check just one backend, node down in all
August 04, 2017 09:40PM
Hello,
I have an haproxy configuration with 2 frontend (http and https) pointing
to two different backends (http and https), but having exactly the same
nodes.

As it seems I can’t configure an healthy check on https, I’d like to
consider down even on https the node that fails the check on http.

Is it possible to do it in some way?

Thanks!
Andrea
Willy Tarreau
Re: Check just one backend, node down in all
August 04, 2017 09:50PM
Hello Andrea,

On Fri, Aug 04, 2017 at 09:33:00PM +0200, Andrea wrote:
> Hello,
> I have an haproxy configuration with 2 frontend (http and https) pointing
> to two different backends (http and https), but having exactly the same
> nodes.
>
> As it seems I can't configure an healthy check on https, I'd like to
> consider down even on https the node that fails the check on http.
>
> Is it possible to do it in some way?

Yes, take a look at the "track" server keyword. It's made exactly for this.

Regards,
Willy
Sorry, only registered users may post in this forum.

Click here to login