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

Second server-template in one backend block is not working

$
0
0

Hi!

I would like to split outgoing tcp connection via several network cards but second server-template in single backend section doesn’t seems like working. template generate servers but they are in “resolution” state. if I change order of server-template statements - only first is working correctly

backend SRV
  balance leastconn
  http-reuse aggressive
  http-check expect status 200
  option httpchk GET /health
  
  server-template SRV-B- 50-99 srv.org:8080 resolvers awsdns resolve-prefer ipv4 check inter 2s downinter 10s fall 5 weight 1 source 10.0.0.2

  server-template SRV-A- 49 srv.org:8080 resolvers awsdns resolve-prefer ipv4 check inter 2s downinter 10s fall 5 weight 1 source 10.0.0.1

tested on 3.2.2 and 3.2.4

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



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