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

TCP-check IP second network card

$
0
0

Hi,

I have three clustered servers with two network connections; one network card runs HTTPS, and the database data flows through the second network card. The network is isolated, with no internet connection and no data exchange between the two networks. The HAProxy server has the second network card, so it can communicate with the network carrying the database data.

This is a section of the configuration.

listen Apps
        bind *:443
        maxconn 2400
        fullconn 2400
        option httpchk HEAD /
        balance roundrobin

        compression algo gzip
        compression type text/css text/html text/javascript application/javascript text/plain text/xml application/json

        option tcp-check
        What should I write there?


        server BackEnd-01 192.168.0.1:8156 check maxconn 800 weight 1 fall 1 rise 3
        server BackEnd-02 192.168.0.2:8156 check maxconn 800 weight 1 fall 1 rise 3
        server BackEnd-03 192.168.0.3:8156 check maxconn 800 weight 1 fall 1 rise 3

The network of the second network card is 192.168.254.0/24

Thank you

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>