Take a look at 'non-stick' and or 'on-marked-up shutdown-backup-sessions' they might help with your issue.

Another option could be to remove the backup server from your config, and serve the static page with 'errorfile 503 /etc/haproxy/errorfiles/503sorry.http'.

Dennis Jacobfeuerborn schreef op 29-9-2014 4:23:
Hi,
I just noticed something unexpected in a setup. After introducing backup
server it seems that my session sticks to the backup server even when
the live servers are back online.
Is there something special that needs to be done to tell haproxy that as
soon as a live server is back online it should send everyone to these
server(s) again instead of keeping them on the backup servers (which in
my case is just a static mainenance page)?

Regards,
   Dennis



Reply via email to