[Gllug] Single IP, HTTP accelerator fronting multiple webservers

Daniel P. Berrange dan at berrange.com
Thu Feb 23 20:27:29 UTC 2006


On Thu, Feb 23, 2006 at 07:45:56PM +0000, Richard Jones wrote:
> On Thu, Feb 23, 2006 at 07:20:45PM +0000, Daniel P. Berrange wrote:
> >  eg mod_caucho apache plugin for load balancing / failover.
> > 
> >     /--> resin app server 1  -\
> >   Db                           apache -> squid -> internet
> >     \--> resin app server 2  -/
> > 
> >  eg RH Cluster Suite doing load balancing / failover
> > 
> >     /--> tomcat app server 1 ->  apache -> squid  -\
> >   Db                                                LVS =-> internet
> >     \--> tomcat app server 2 ->  apache -> squid  -/
> > 
> >  eg Network switch for load balancing
> > 
> >     /--> tomcat app server 1 ->  apache -> squid  -\
> >   Db                                                --> internet
> >     \--> tomcat app server 2 ->  apache -> squid  -/
> 
> If I'm not mistaken these are all serving single websites, right?  We
> need to redirect based on the Host: header so that each of our servers
> is serving a distinct website.

Yes & no - we had virtual hosting based on Host: header done natively
in our app server. I imagine you could do the same think in apache
though - there are various ways SQUID deals with host headers - in 
our case we forced it to pass-through to the apache server with no
munging, but I think it can do some form of dispatching itself too.

> PS. Hope you're having fun in Boston :-)

Yeah, going well, although the occasional days when its a mere 0 F are 
quite shocking!

Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060223/95b11cd2/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list