LVS-DR director connecting to itself...

Helgi Hrafn Gunnarsson helgi.gunnarsson at futurice.fi
Fri Nov 3 13:57:22 GMT 2006


Hi.

I need a client on the director because the web server that uses the database is hosted on V3, and V3 is also the director. Thus I presumable need V3 to connect to V3.

I'm not sure we're understanding each other here. It's so obvious to me why I need V3 to connect to V3 that your last question frankly confuses me. What would you suggest other than connecting to the VIP from V3, when I need V3 to talk to the databases through LVS?

Kind regards,
Helgi Hrafn Gunnarsson
helgi.gunnarsson at futurice.fi

On Fri, 3 Nov 2006 05:37:55 -0800 (PST)
Joseph Mack NA3T <jmack at wm7d.net> wrote:

> On Fri, 3 Nov 2006, Helgi Hrafn Gunnarsson wrote:
> 
> > Hello, all.
> >
> > I have a problem that I'm having a terrible time addressing.
> >
> > I have the following setup.
> >
> > V1: MySQL server
> > V2: MySQL server
> > V3: Web server
> > V4: Web server
> 
> How do they fit into the LVS?
> 
> > The MySQL servers are replicated, meaning they contain the 
> > same information. I've successfully set up an LVS on V3
> 
> LVS director?
> 
> > that connects to V1 and V2 according to which one of them 
> > is up. The VIP on V3 can be reached from V4 and from that 
> > point of view, everything is great. The problem is that it 
> > cannot be reached from V3 itself, which is what I 
> > desperately need.
> 
> why?
> 
> > This is a major problem because V4 is going to be the backup LVS server when V3 goes down.
> 
> on failover can you shift the VIP from one machine to the 
> other and run ipvsadm on the new director?
> 
> As to your other questions: I can't tell that you need a 
> client on the director yet.
> 
> Joe
> 
> -- 
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant map
> generator at http://www.wm7d.net/azproj.shtml
> Homepage http://www.austintek.com/ It's GNU/Linux!
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list