Quantcast
Viewing all articles
Browse latest Browse all 4752

Haproxy balance roundrobin

@veniciusgp wrote:

Dear Friends,

I have a doubt

My backend has only 2 servers (vmp103 and vmp104)

You can perform the balancing as follows:

2 requests for vmp103 and 2 requests for VMP104

By the settings the balancemaneto is being done as follows:

1 request for vmp103 and 1 request for vmp104

Is it possible to balance 2 to 2 instead of 1 to 1?

Follows my settings

global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user root
group root
daemon

defaults
log global
option dontlognull
mode http
option httplog
stats uri /stats
timeout connect 5000
timeout client 50000
timeout server 50000

frontend http_front
bind *:8089
default_backend http_back

backend http_back
balance roundrobin
option httpchk GET /intacesso/intstatus.do?perfil=HTTP_APROVREQ
server vmp103 10.50.50.103:8080 check
server vmp104 10.50.50.104:8080 check

Best Regards

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4752

Trending Articles



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