---------- Forwarded message ----------
From: Raj Ganguly <[email protected]>
Date: Thu, Jan 21, 2010 at 8:24 PM
Subject: Re: [Pound Mailing List] Source ip-Hashing method in load
balancing.
To: [email protected]


Thanks for the info.Is it possible to keep the TTL value as infinite.I mean
the load balancing need to be done only on basis of Client IP I don't want
any dependency with TTL value.

Secondly what is the logic for ip-hasing here as I tried to send request
through different ip addresses like 10.146.163.72 and 10.146.161.143 but
both of them go routed through same Backend (10.146.163.30). Expected result
was it should be routed through different backend.

I have given below the configuration.Any help would be very much
appreciated.


User        "daemon"
Group       "daemon"
#Daemon 0
#LogFacility -
LogLevel 2
ListenHTTP
            Address 10.146.163.31
            Port    80

            Service
                BackEnd
                    Address 10.146.163.30
                    Port    81
                End

                Session
                Type    IP
                TTL   300
                End
            End

            Service
                BackEnd
                    Address 10.146.175.136
                    Port    82
                End

                Session
                Type    IP
                TTL    300
                End
            End

        End

Thanks,
-R


On Mon, Jan 18, 2010 at 10:35 PM, Albert <[email protected]> wrote:

> Yes, out of the "Session" types is IP.  This will hash an IP into a
> specific backend for the however long the TTL (time to live) is setup for
> the session.  Here's a sample (it goes within Service definition block):
>
> #ip-binding for session for 5 minutes
> Session
>       Type    IP
>       TTL     300
> End
>
> Raj Ganguly wrote:
>
>> Hi All,
>> Is it possible to have source ip-hashing method for load balancing in
>> pound
>> load balancer server.
>> My requirement is to a VIP with four instances of listening port.When a
>> request comes from a client (different ip-addresses is possible) it should
>> be routed to any one of the instance. Even for subsequent requests from
>> the
>> same client it should be propagated to the same instance listening port.
>> If I am not clear let me know.
>> Thanks in advance.
>> -R
>>
>>
>> --
>> To unsubscribe send an email with subject unsubscribe to [email protected].
>> Please contact [email protected] for questions.
>>
>>
>>
>
>
> --
> To unsubscribe send an email with subject unsubscribe to [email protected].
> Please contact [email protected] for questions.
>


--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to