LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS & Apache ReverseProxy (mod_proxy) on one machine

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS & Apache ReverseProxy (mod_proxy) on one machine
From: Marco Lorig <mlorig@xxxxxx>
Date: Thu, 17 Nov 2005 19:04:32 +0100
Hi,

we tried to setup lvs + apache mod_proxy on one machine but this doesn´t 
actually work.

Setup:

external network: 10.0.0.0/24
internal network: 10.0.1.0/24

                                                      LVS-Director-Server
[ client ] -ext. network--> [ (IPVS:80) --> (apache mod_proxy)] --int. 
network--> [ Realserver ]

The LVS-Director is listening on Port 80 of the externel network interface.

-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.0.0.100:www lc
-> 10.0.1.100:81 Local 1 0 0
-> 10.0.1.100:82 Local 1 0 0
-> 10.0.1.100:83 Local 1 0 0
-> 10.0.1.100:84 Local 1 0 0

The Apache webserver is listening on the internal network interface port 
81,82,83,84 (virtual hosts).

The connection can´t be established. I see InAct(incoming) Connections but the 
reverse-proxy engine doesn´t get any packets. It looks like that the ipvs 
doesn´t forward the packet to a local destination.

Is there any way to realize this kind of setup?

regards

Marco Lorig
nach oben -  nächste Nachricht
Impressum - WEB.DE GmbH - Presse - Werbung - Jobs

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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