LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problem with HTTP_HOST - do I need L7 switching?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, Horms <horms@xxxxxxxxxxxx>
Subject: Re: Problem with HTTP_HOST - do I need L7 switching?
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Thu, 25 Sep 2003 06:42:00 -0400
Horms wrote:
> 
>
> > What appears to be happening is that the client hits the VIP (on the active
> > director), and the director passes the hit through to the appropriate
> > realserver with, apparently, an HTTP Host: header of the VIP. Port 80
> > apache on the realserver sees this Host: header, and as a result, the
> > RewriteRules would appear to redirect the hit to port 8008 on the VIP

> Hi Guy,
> 
> I suspect that your analysis of the behaviour is correct.

Apparently Horms understands the problem, but I don't.

If the rewriting sends the packet to VIP:8008 when the application is 
running on a single server (ie non-LVS setup) and something is listening
for these packets, then why doesn't the realserver in the LVS situation
have something listening on VIP:8008?

Joe
-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>