[lvs-users] Keepalived + ipvsadm

Bassem Mettichi mettichi at gmail.com
Fri May 31 09:39:34 BST 2019


i hope you are all so fine, i need your help concerning keepalived + ipvsadm

I have installed keepalived version keepalived-2.0.7-1.el7.x86_64 + ipvsadm
version ipvsadm-1.27-7.el7.x86_64 on Redhat 7.1, i have 4 backends: 2
backends web servers apache httpd and 2 backends freeradius.
my customers sends accounting requests and http requests, i have 2 VIPs:
one for http requests on port 80 and other VIP for accounting traffic on
port 1813.

keepalived is working good for a period of time ( 3 days, 4 days, 5 days,
..) but sometimes all http requests coming from my customers don't reach
backends, these requests are blocked on keepalived server. The problem is
that when i restart keepalived every thing works again i can see http
requests reach the backends, this happen only with http requests however
udp requests for my radius servers never stopped, this traffic is always
working and can reach the backends, i don't really understand the issue,
also i have seen that keepalived doen't send the same traffic to backends
mean 50 50 sometimes when one backend stops and came again up keepalived
doen't send trafic to this backend only if we restart it.

Attached is my keepalived.conf file, i hope someone can give a hand on this

Best Regards

More information about the lvs-users mailing list