Hi
On Tue, 2008-12-09 at 09:16 +0100, Kun Richárd wrote:
> We tried a heartbeat+ldirectord combo with SH scheduling, but all of the
> connections gone to the same realserver.
> We have one VIP address and two realservers, and we want to balance the
> connections between the machines, with this: one session to one server,
> routing by the client IP address.
Well, it should work like this, so...
> Our ldirectord.cf:
> virtual = xxx.xxx.xxx.xxx:80
> real = 192.168.30.10:80 masq 10
> real = 192.168.30.11:80 masq 10
> fallback = 192.168.30.12:8008 masq 10
> service = http
> scheduler = sh
> quiescent = no
> protocol = tcp
> request = "test.html"
> receive = "OK"
> checktype = negotiate
Looks sane enough.
Is the problem observed with "real" traffic, or in testing? How many
client IP addresses are there?
Can you give us the output from the following when you observe this,
please?
ipvsadm -Ln
ipvsadm -Lnc | head -10
Graeme
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|