@AMAUSER wrote:
Hello,
I’m novice in HAPROXY, i’am using 1.8 V
bellow my roundrobin configuration :=========================
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
stats timeout 30s
user haproxy
group haproxy
daemondefaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
errorfile 400 /etc/haproxy/errors/400.http
errorfile 403 /etc/haproxy/errors/403.http
errorfile 408 /etc/haproxy/errors/408.http
errorfile 500 /etc/haproxy/errors/500.http
errorfile 502 /etc/haproxy/errors/502.http
errorfile 503 /etc/haproxy/errors/503.http
errorfile 504 /etc/haproxy/errors/504.http
option forwardfor
option http-server-closefrontend Loadbalancer_Prod
bind *:80
mode http
default_backend Nodes_Prodbackend Nodes_Prod
mode http
balance roundrobin
option forwardfor
server SERVER1 x.x.x.x:port1 check
server SERVER2 x.x.x.x:port2 checkfrontend Loadbalancer_Test
bind *:8080
mode http
default_backend Nodes_Testbackend Nodes_Test
mode http
balance roundrobin
option forwardfor
server SERVER1 x.x.x.x:port1 check
server SERVER2 x.x.x.x:port2 checklisten stats
bind *:88
mode http
stats enable
stats uri /stats
stats realm HAProxy\ Statistics
stats auth admin:admin=============================
The problem is when i use my Haproxy’s link one time and i see at stats i found that my proxy send tow requests at time for both servers 1 & 2 not in turns as should be in roundrobin modeDid you have any solution for me ?
Thanks
Posts: 1
Participants: 1