LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Question on SH scheduler

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Question on SH scheduler
From: Khosrow Ebrahimpour <khosrow.ebrahimpour@xxxxxxxx>
Date: Mon, 27 Feb 2012 10:32:16 -0500
Hi Krishna,

On Monday, February 27, 2012 08:08:13 am krishna prasad wrote:
> Dear All,
>    If the director is configured with Source Hashing scheduling algorithm,
> the connections are distributed among the back end real servers through
> looking up a statically assigned hash table by their source IP addresses.
> My question here is the key for the load balancing is the source IP alone
> or source IP plus port?

I haven't used SH scheduling myself, but according to this article 
http://kb.linuxvirtualserver.org/wiki/Source_Hashing_Scheduling only the 
source IP is used.

Although I am curious why the hash wouldn't use source IP + Port. Otherwise, 
clients coming from behind a NAT or proxy will all end up on the same 
realserver.

--
Khosrow

_______________________________________________
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>