You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Charles W Buege <cb...@moreycorp.com> on 2014/01/28 19:57:43 UTC

[users@httpd] Single vs Dual Reverse Proxy

All - 

I've gotten Apache working with a single Reverse Proxy to both of my web 
servers (much thanks go to Yehuda for your assistance!!), but I'm trying 
to take this to a next step.

Attached, you will find an image with my current reverse proxy setup and 
then what I'd like to move to next. 

My biggest concern is that with a single reverse proxy that I still have a 
single point of failure for external access to the site.  What I'd like to 
do is setup two servers with, I'm guessing here, High Availability between 
each other so I can eliminate the single point of failure/allow me to do 
maintenance as I need to.

Anyone have any suggestions as to how I'd want to proceed with this?  I'm 
starting by reading this article (
http://www.howtoforge.com/high_availability_heartbeat_centos) to see if 
this will get me what I need, but if anyone has any suggestions as to 
another article/reference I should look at for this, I'm all ears.  I'm 
also a little concerned as this article is from 2007 and I'm thinking 
there may be a better/different way for me to accomplish what I am trying 
to do.

If anyone wants me to upload any of the config files I am using to look 
at, just tell me what files you want to see and I'll post them.

Thanks in advance,
Charles








This e-mail, including attachments, may contain information that is 
confidential and/or proprietary, and may only be used by the person to 
whom this email is addressed. If the recipient of this e-mail is not the 
intended recipient or an authorized agent, the reader is hereby notified 
that any dissemination, distribution, or copying of this e-mail is 
prohibited. If this e-mail has been delivered to you in error, please 
notify the sender by replying to this message and deleting this e-mail 
immediately.


Re: [users@httpd] Single vs Dual Reverse Proxy

Posted by Tom Evans <te...@googlemail.com>.
On Tue, Jan 28, 2014 at 6:57 PM, Charles W Buege <cb...@moreycorp.com> wrote:
> All -
>
> I've gotten Apache working with a single Reverse Proxy to both of my web
> servers (much thanks go to Yehuda for your assistance!!), but I'm trying to
> take this to a next step.
>
> Attached, you will find an image with my current reverse proxy setup and
> then what I'd like to move to next.
>
> My biggest concern is that with a single reverse proxy that I still have a
> single point of failure for external access to the site.  What I'd like to
> do is setup two servers with, I'm guessing here, High Availability between
> each other so I can eliminate the single point of failure/allow me to do
> maintenance as I need to.
>
> Anyone have any suggestions as to how I'd want to proceed with this?  I'm
> starting by reading this article
> (http://www.howtoforge.com/high_availability_heartbeat_centos) to see if
> this will get me what I need, but if anyone has any suggestions as to
> another article/reference I should look at for this, I'm all ears.  I'm also
> a little concerned as this article is from 2007 and I'm thinking there may
> be a better/different way for me to accomplish what I am trying to do.

At $JOB we use FreeBSD as our reverse proxy servers, on each box
Apache listens on a pair of HA IP provided by CARP (BSD implementation
of VRRP). In normal configuration, proxy1 has the HA address ha1 and
proxy2 has the HA address ha2, if we bring down proxy1
(administratively or physically), then proxy2 takes over ha1 and vice
versa.

Incoming requests are round-robin routed to each of the HA addresses
by the routers. I think this uses PF, but I don't get too involved
there.

All of this is orthogonal to apache, which is simply listening to the
IPs we've told it to. The OS makes them HA and handles fail over,
apache just has to serve requests when it receives them.

If you are constrained to Linux, I'm sure it has equivalent VRRP-style
and PF-style features.

Cheers

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Single vs Dual Reverse Proxy

Posted by Marco van Putten <ma...@tudelft.nl>.
Hi Charles,


> Anyone have any suggestions as to how I'd want to proceed with this?
>   I'm starting by reading this article
> (http://www.howtoforge.com/high_availability_heartbeat_centos) to see if
> this will get me what I need, but if anyone has any suggestions as to
> another article/reference I should look at for this, I'm all ears.  I'm
> also a little concerned as this article is from 2007 and I'm thinking
> there may be a better/different way for me to accomplish what I am
> trying to do.


That is a bit outdated indeed. You could go with Pacemaker from 
http://clusterlabs.org/ as a cluster solution.

The learning curve can be rather steep but they have quickstarts for 
several distributions and everything is very well documented. Look for 
"Clusters from Scratch" for example.


Bye,
Marco.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org