On Sat, 19 Feb 2022 at 16:15, Carlos Renato <[email protected]> wrote:
>
> Hi Lukas,
>
> Thanks for the reply and willingness to help.
>
> I did a test and it didn't work. I dropped the server2 interface and only 
> server1 was UP.
> Traffic continues to exit through the main bakend. My wish is that the 
> traffic is directed to the backup server.

Did haproxy recognize server2 was down?

With thgis configuration the backup keyword needs to be removed from
serverBKP (because the rule is implemented with a use_backend
directive), this was wrong in my earlier config.


Lukas

Reply via email to