Hi,
Currently I have a very unique situation where I need to load balance DHCP ACKs
to two different real servers, my issue (and this hopefully is just a simple
configuration issue) is that when we test our ldirectord load balacner all the
DHCP ACKs go to a single "real server" if the source port is not randomized,
we solved this problem in our test lab by changing our test application to
randomize the source port if this is done then one DHCP ACK goes to one real
server, the next DHCP ACK goes to the other real server, everything is
perfectly load balanced, the problem is that in our production environment the
device which sends us the DHCP ACKs is not randomizing the ports, all the DHCP
ACKs come from the same source port 8000 so ldirectord sends all the requests
to the same "real server" (even if I send 1,000,000 DHCP ACKs in two hours)
here is a look at my config:
checktimeout=10
checkinterval=2
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=yes
virtual=lbvip01:67
real=server01:67 masq
real=server02:67 masq
protocol=udp
checktype=ping
#persistent=1
scheduler=rr
virtual=lbvip01:68
real=server01:68 masq
real=server02:68 masq
protocol=udp
checktype=ping
#persistent=1
scheduler=rr
I have tried to set and comment out the persistent setting but it doesn't seem
to make any difference.
Hopefully I am missing something.
Thanks,
Brian Carpio
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems