First of all congratulations for having a great open source community. So by using the backup keyword, we can configure the HAProxy to shift to the backup server (or servers) in case all the primary servers are down. But I couldn’t find a config example where I have 2 backends with 2 backups:
server1 126.96.36.199:8080 check
server1 188.8.131.52:8080 check backup
server1 184.108.40.206:8080 check
server1 220.127.116.11:8080 check backup
I want to shift to 18.104.22.168 in case 22.214.171.124 is down. Also I want to shift to 126.96.36.199 in case 188.8.131.52 is down. Configuration manual says (and in my testing) the HAProxy only shifts to the backup servers once both 184.108.40.206 and 220.127.116.11 are down. Is there anyway I can configure the backup servers separately for each server? I my description is clear.
Thank you very much.