Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Simple two server failover

$
0
0

hello,

we need to send traffic to a master server1, then when it’s check as down (http check) … only use the backup server2 ?

here is our config, do you think it’s enought ?

backend     web-site-prod
            description  web-site-prod
            option httpchk GET /login
            http-check expect rstatus (2..|3..|401)
            server  server1.tld.fr server1.tld.fr:443  check  resolvers dns_site1 init-addr none,192.168.1.200      ssl
            server  server2.tld.fr  server2.tld.fr:443  check backup resolvers dns_site1 init-addr none,10.254.254.200 ssl

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>