[Cialug] dual web servers

Josh More jmore at starmind.org
Tue Oct 25 08:04:17 CDT 2011


Yes.  The failover time will be the TTL of the domain + the TTE of the local
and network caches (whichever combination is largest).

Generally, it'll be a random number between 15 min and 4 hours.

-Josh

On Tue, Oct 25, 2011 at 8:02 AM, Dave Hala Jr <dave at 58ghz.net> wrote:

>
> 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
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20111025/4908c18d/attachment-0001.html>


More information about the Cialug mailing list