LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Using LVS for servers on same subnet with real serverslistening on d

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Using LVS for servers on same subnet with real serverslistening on different ports
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 6 Nov 2003 10:22:36 +0900
On Wed, Nov 05, 2003 at 07:06:46PM +0100, Bruno Vincent wrote:
> Hi,
> 
> i have just read this thread and i must confess i get really scared: I 
> actually defined an architecture i have to implement now and i am 
> wondering wether everything i designed is wrong!
> 
> I want to use a LVS-NAT director that load balances HTTP requests 
> between two web server instances that are hosted on the same physical 
> machine (which is a Solaris one). So i want to balance between RIP:80 
> and RIP:8080. As far as i can read, it just cannot work.

If you use LVS-NAT then this should be possible.

> Maybe i have a solution: if i set up a virtual IP on my realserver and 
> then load balance between Real_Server_Real_IP and Real_Server_Virtual_IP 
> do you think it can work ??

If you have one real servers with two different IP addresses RIP1 and
RIP2 then that should work.

However, I am left wondering, why you want to load balance
between two processes running on the same physical machine.

-- 
Horms -> No Email. No Life.
<Prev in Thread] Current Thread [Next in Thread>