[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-virtual-server
Subject: Re: [lvs-users] local load balancing (director = realserver)?
From: Tomasz Chmielewski <mangoo () wpkg ! org>
Date: 2010-05-19 6:11:25
Message-ID: 4BF3810D.5040009 () wpkg ! org
[Download RAW message or body]
Am 19.05.2010 03:03, Simon Horman wrote:
>> Now, I would like to connect from any of the to machines to either
>> realserver_1 or realserver_2 ("round robin"):
>>
>> realserver_1$ telnet address 25
>> 220 realserver_1 ESMTP ...
>>
>> realserver_1$ telnet address 25
>> 220 realserver_2 ESMTP ...
>>
>>
>> realserver_2$ telnet address 25
>> 220 realserver_1 ESMTP ...
>>
>> realserver_2$ telnet address 25
>> 220 realserver_2 ESMTP ...
>>
>>
>> Can I do it with LVS?
>
> Yes, typically this can be done using LVS-DR.
> Be careful about the way you manage the VIP - it will likely
> need to be on lo on the director and ethX on the other machine.
> And also be careful to handle the arp problem.
>
> http://www.ultramonkey.org/3/topologies/sl-ha-lb-eg.html
I tried to set this up with LVS-DR, but then:
$ telnet address 25
always connects to the localhost (i.e., lo:0, as the address is local).
Which may not be that surprising?
Unless there's something I missed and it should just work?
--
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic