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: "John Barrett" <jbarrett@xxxxxx>
Date: Wed, 5 Nov 2003 13:46:47 -0500
----- Original Message ----- 
From: "Bruno Vincent" <bruno.vincent@xxxxxxxxx>
To: "LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 05, 2003 1:06 PM
Subject: Re: Using LVS for servers on same subnet with real serverslistening
on different ports


> 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.

Not that way -- alias 2 new ip addresses, use one for each server instance,
both on port 80, then the VIP will balance out the load to the 2 alias
addresses

>
> 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 ??
>
> Many thanks,
>
> Bruno
>
> Horms wrote:
> > On Wed, Oct 15, 2003 at 06:06:02PM +1000, Alan Knipmeyer wrote:
> >
> >>Hello fellow LVS users,
> >>
> >>Is there a way to do setup iptables/FW Mark/ to do PAT on a listening
> >>node ?
> >>
> >>I.E. VIP:80 ---> RIP:8080 . The VIP and RIP are on the same network
> >>segment with route-able addresses.
> >>
> >>I`ve checked out the docs/mailing lists, but havn't seen something which
> >>directly fits my situation.
> >
> >
> > Hi Al,
> >
> > LVS itself cannot do this. But it should be possible to
> > modify the port using some iptables rules that work in conjunction
> > with LVS.
> >
> > Here are some ideas Matthew Crocker had on this.
> >
> >
http://marc.theaimsgroup.com/?l=linux-virtual-server&m=106503863816901&w=2
> >
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

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