Hi Willy,

thank you for your answer and your hint concerning 
check and track.

By the way: When will 1.6.x be out?  ;-)

Best regards
Andreas Mock


-----Ursprüngliche Nachricht-----
Von: Willy Tarreau [mailto:w...@1wt.eu] 
Gesendet: Dienstag, 10. September 2013 15:12
An: Andreas Mock
Cc: haproxy@formilux.org
Betreff: Re: Question concerning the server entity

Hi Andreas,

On Tue, Sep 10, 2013 at 09:57:48AM +0000, Andreas Mock wrote:
> Hi all,
> 
> for my understanding. When I have a declaration in HAProxy 1.5.x
> like the following:
> 
> frontend F1
>     default BE1
> 
> frontend F2
>     default BE2
> 
> backend BE1
>     server S1 IP1:Port1
>     server S2 IP2:Port2
> 
> backend BE2
>     server S1 IP1:Port1
>     server S2 IP2:Port2
> 
> 
> Is then S1 (identified by IP1:Port1) ONE entity
> or are BE1->S1 and BE2->S1 two entities and
> HAProxy does not set this both into relation?
> 
> E.g. for doing a check not for every backend/server
> combination but for a server alone.

A server is specific to the backend it's declared in. So there is no
relation between BE1/S1 and BE2/S1 even if they share the same settings.
If you want to avoid sending health checks twice, you can have one do the
checks and the other track the first one (please check for "track"
and "check" in the config manual).

Regards,
Willy



Reply via email to