LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] SH scheduling question

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] SH scheduling question
From: Kun Richárd <kun.richard@xxxxxxxxx>
Date: Tue, 9 Dec 2008 09:16:45 +0100
Hi,

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.

I read the manuals and the relevant parts of LVS-Howto, but I found the
"fwmark solution" only. Any other idea to bring it work?

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


--
Udv,
 Ricsi
 kun.richard@xxxxxxxxx


_______________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>