LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] acess to loadbalanced services from the director

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] acess to loadbalanced services from the director
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Fri, 04 Apr 2008 12:25:45 +0100
Hi

On Fri, 2008-04-04 at 08:12 +0200, Burkels, Rob wrote:
> The problem is, that i would like to connect to a virtual service from
> the lvs router itself.

This is very difficult to do successfully, since LVS grabs the packets
as they traverse the input side of netfilter. Packets sourced on the
director never touch that, because they're locally generated, so they
try to connect to a non-functioning local port (since LVS doesn't bind
an app to VIP:VPORT on the director).

There are moves afoot to refactor LVS to sit in a different part of the
netfilter chains, but this will take a long time to complete since the
implications for interaction with netfilter are huge.

Anyway: have your looked at the HOWTO?

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-DR.html#director_as_client_in_LVS-DR

Graeme



<Prev in Thread] Current Thread [Next in Thread>