LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Hopping to VIP on other real servers

To: jake buchholz <jake@xxxxxxxxxx>
Subject: Re: Hopping to VIP on other real servers
Cc: Linux Virtual Server <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Pablo Alsina <palsina@xxxxxxxxxxx>
Date: Wed, 15 Mar 2000 16:35:54 +0300 (GMT-3)
Have you tried with a pure transparent proxy as for example the TPROXY or
TCP proxy program? I'm using it to move data packets from the public IP of
a service (at the border fw) to a server inside my network having a
private IP.

You shold attach an instance of the proxy program to the VIP:3309 at each
realserver, instructing it to move packets to the real server hosting
your MySQL database.

Good luck,
        Pablo

On Wed, 15 Mar 2000, jake buchholz wrote:

> On Tue, Mar 14, 2000 at 08:57:48PM -0800, Stephen Zander wrote:
> > >>>>> "jake" == jake buchholz <jake@xxxxxxxxxx> writes:
> >     jake> I need to find some way to forward/tunnel/? virtual-ip:3309
> >     jake> off the web and shell real-servers over to the appropriate
> >     jake> mysql real-server where it can be properly serviced...
> > 
> > In a situation with only a single mysql box, static routes on the
> > web/shell real-boxen pointing the mysql virtual-ip to the mysql box
> > real-ip would do.
> > In a situation with multiple mysql boxen, the static routes on the
> > shell/web boxen would point the mysql virtual-ip to the redirector.
> 
> Hm...  I tried a route off the local box back at the redirector with...
> 
> route add -host <VIP> gateway <LVS-PRIV-IP> dev eth1
> 
> ...and...
> 
> route add -net <VIPs-NET> netmask <VIPs-NM> gateway <LVS-PRIV-IP> dev eth1
> 
> But the <VIP> on lo:0 is still grabbing my attempts to connect to
> <VIP>:3309...
> 
> 
> -- 
> Jake Buchholz, Senior Systems Administrator     :           /~\
> ExecPC (a Voyager.net company, NASDAQ: VOYN)    :    ASCII  \ /  Against
> Voyager.net Hosting Solutions Lead R&D Engineer :   Ribbon   X   HTML
> GnuPG (PGP5/6) and PGP 2.6.2 pub keys available : Campaign  / \  Mail
> 
> 




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