Re: newbie questions

From: Alberto Giménez <lagimenez#gmail.com>
Date: Fri, 27 Jun 2008 20:43:55 +0200


On Wed, Jun 25, 2008 at 6:54 AM, Willy Tarreau <w#1wt.eu> wrote:
> Hi Grant,
>
> On Tue, Jun 24, 2008 at 09:17:32PM +1000, Grant Maxwell wrote:
>> Hi Folks
>>

>> My current arrangement is simple. Two mail servers behind one
>> firewall. Each mail server is mapped to a public ip address. What I
>> want to achieve is a single ip address mapped to a load balance
>> server, which distributes connections to X mail servers with HA and LB
>> functionality.
>>
>
> You can make it work in transparent mode if you patch your kernel for that.
> Thus, it will present the client's IP address to the server. However, for
> what you're trying to achieve, why don't you simply set up LVS on your
> firewalls, using source-hash as the LB algorithm ? It would do exactly
> what you're looking for : a given IP always to the same server, and no
> undesired IP translation.

Hi Willy, I think you misunderstood Grant. I think he doesn't want one IP per server, but one only VIP mapped to haproxy and let it balance connections to the backends. Why would you recommend another software for a job that haproxy makes quite well? ;)

Best regards,

-- 
Alberto Giménez
Received on 2008/06/27 20:43

This archive was generated by hypermail 2.2.0 : 2008/06/27 20:45 CEST