@void_in wrote:
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 1.1.1.1:8080 check
server1 2.2.2.2:8080 check backup
server1 3.3.3.3:8080 check
server1 4.4.4.4:8080 check backupI want to shift to 2.2.2.2 in case 1.1.1.1 is down. Also I want to shift to 4.4.4.4 in case 3.3.3.3 is down. Configuration manual says (and in my testing) the HAProxy only shifts to the backup servers once both 1.1.1.1 and 3.3.3.3 are down. Is there anyway I can configure the backup servers separately for each server? I my description is clear.
Thank you very much.
Posts: 3
Participants: 2