Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LVS Linux Virtual server Question

Status
Not open for further replies.

sco21

Technical User
May 20, 2002
67
GR
I am trying to setup a virtual server with two real-servers and a load balancer, but I am having some problems.
example: I want to share http traffic to the real-servers.


internet
|
|
Load balancer - Linux Director
|
|
A
192.168.0.1
|
|
-----------------------------
|B real-servers C |
192.168.0.10 192.168.0.20


*All nodes and the load balancer runs Zeus-Linux with kernel 2.6.2rc2 with ipvs enabled.

Nodes Setup

*All nodes are known by /etc/hosts to each other

*And the default route for the real-servers is the Load-balancer

*I have enabled ip_forwarding to all nodes

*As scheduler I use round robin

Load Balancer
ipvsadm -A -t 192.168.0.1:80 -s rr
ipvsadm -a -t 192.168.0.1:80 -r 192.168.0.10:80 -m
ipvsadm -a -t 192.168.0.1:80 -r 192.168.0.20:80 -m


I didn't find any good documentation about this...

so.. when a recuest comes from the internet to the load balancer the load balancer sends it to a real server. But... the packets comes back to the load balacer and stop there. The client which requested the page from the internet can't see nothing. I believe that the load balancer doesn't rewrite the destination of the packet.

Does anyone have a tip about that or have found a usable configuration or documentation?



Thanks





=-=-=-=-=-=-=-=-=-=-=-=
Unix Systems Engineer
=-=-=-=-=-=-=-=-=-=-=-=
 
Hi,

I am trying to do the same thing. Did you ever get an answer or get any further with this process?

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top