[lvs-users] LVS configuration using pirahna

L.S. Keijser leon at linux.nl
Wed Mar 28 04:47:29 BST 2012


On Tue, 2012-03-27 at 07:43 +0000, Reet Vyas wrote:
> Hi
> 
> request is going to one real server not to both real server . Please suggest
> TCP  122.166.233.136:80 wlc
>   -> 192.168.3.2:80               Masq    1      0          0
>   -> 192.168.3.3:80               Masq    2      0          0


A request always goes to 1 realserver, not both. Second, you have set 2
different weights to your realservers. Therefor, if the 192.168.3.3
server (weight 2) has finished handling the 'request' and there is no
longer an active connection, LVS will then route the next one to the
same realserver.

(I didn't follow the rest of this thread, so I could be wrong. This just
seems obvious by a first glance)


Léon





More information about the lvs-users mailing list