LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Please confirm or debunk my suspicions (LVS DR)

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Please confirm or debunk my suspicions (LVS DR)
From: "Danner, Russ" <DannerR@xxxxxxxx>
Date: Tue, 9 Aug 2005 12:58:41 -0400
I Think so :)

I think I need 2 LVS configurations because I will not be able to have the
two apache clusters listen for both A & B.com (different clients.) However,
I wanted to make sure I couldn't use the same load balancing infrastructure
(2 LVS Servers rather then 4.)

I understand that if I virtual host on apache I only need one LVS pair.

Thanks!
-R
 

-----Original Message-----
From: Joseph Mack NA3T [mailto:jmack@xxxxxxxx] 
Sent: Tuesday, August 09, 2005 12:53 PM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: Please confirm or debunk my suspicions (LVS DR)

On Tue, 9 Aug 2005, Danner, Russ wrote:

> With LVS using Direct Routing.....
>
> The real boxes must be exact copies of each other.

must contain the same files.

> In other words if I have
> two websites A.com and B.com (Not virtually hosted on apache but two
> separate clusters of apache real boxes) and I want to load balance them I
> need 2 LVS servers (or server pairs for redundancy).

hmm.

You have a site A.com. You put the contents of A.com onto 
several realservers and you balance the realservers with an 
LVS director. You can do the same thing with B.com with a 
separate LVS cluster. You can also run both A.com and B.com 
on a single LVS cluster by adding rules for the two sites 
with ipvsadm. You also need apache on the realservers to 
listen for both A.com and B.com and know where the two 
different sets of files are.

> Is this correct?

possibly. Did I answer the question you were asking?

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!

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