[Cialug] dual web servers

Dave Hala Jr dave at 58ghz.net
Tue Oct 25 08:02:41 CDT 2011


Can I assume that by changing the DNS, you're not going to get a quick
failover (less than a couple of minutes) due mostly to windows networks
and/or pc's caching dns?

:) Dave

On Tue, 2011-10-25 at 07:55 -0500, Josh More wrote:
> The "right" way to do it involves a load balancer and will be costly.
> 
> A cheaper way to do it would be to set a script on your secondary
> server to do periodic HTTP GETs on the primary and if one fails,
> changes DNS to point to itself.  Then, if it succeeds, changes it
> back.  It's a bit of coding and a bit of delay, but it should work OK
> in most situations.
> 
> The fundamental problem here is that DNS (for some stupid reason) only
> supports priority on MX records.
> 
> -Josh
> 
> On Tue, Oct 25, 2011 at 7:53 AM, Patrick Mcgillan
> <patrick.mcgillan at gmail.com> wrote:
>         I would like to have a redundant web server in another
>         location that
>         answers when the primary doesn't. I have total control of both
>         servers
>         and they are both running Debian. I need a nudge on where to
>         look to
>         set up this redundancy, especially on the DNS redirection. I
>         am not
>         totally sure on what to ask for, other than I am sure it is
>         possible.
>         
>         Patrick
>         _______________________________________________
>         Cialug mailing list
>         Cialug at cialug.org
>         http://cialug.org/mailman/listinfo/cialug
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list