[Keepalived-announce] keepalived 1.2.13: Round robin UDP problem
Status: Beta
Brought to you by:
acassen
|
From: Sven L. <sve...@gm...> - 2017-06-12 08:45:10
|
Hi,
I've build a setup with keepalived 1.2.13 where I want to round robin UDP
traffic. But all UDP traffic (syslog) of different sources is always send
to the same real_server.
/var/log/messages doesn't show any errors and I can see the health check
working via tcpdump.
I check where the syslog traffic is sent by doing a simple tcpdump.
I went through all the info I could find, but don't see anything wrong. I
also haven't found how to debug so that I can see why it decides to send
all different sources to the same real_server.
Thanks,
Sven.
# ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
UDP 10.11.2.111:514 rr
-> 10.11.2.103:514 Route 1 0 0
-> 10.11.2.104:514 Route 1 0 0
My config:
! Configuration File for keepalived
global_defs {
notification_email {
me...@em...
}
notification_email_from sy...@em...
smtp_server 192.168.200.1
smtp_connect_timeout 30
router_id LVS_DEVEL
}
vrrp_instance VI_1 {
state MASTER
interface eno16780032
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 2222
}
unicast_src_ip 10.11.2.103
unicast_peer {
10.11.2.104
}
virtual_ipaddress {
10.11.2.111
}
}
virtual_server 10.11.2.111 514 {
delay_loop 5
lb_algo rr
lb_kind DR
protocol UDP
real_server 10.11.2.103 514 {
TCP_CHECK {
connect_port 22
}
}
real_server 10.11.2.104 514 {
TCP_CHECK {
connect_port 22
}
}
}
|