[OT] Re: Website failover

This is a discussion on [OT] Re: Website failover within the Bind Users forums, part of the DNS and Related Forums category; On Wed, 2004-07-21 at 10:18, Willem Kossen wrote: > >"John" <john.vanLit@ratio-...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-21-2004
Ketil Froyn
 
Posts: n/a
Default [OT] Re: Website failover

On Wed, 2004-07-21 at 10:18, Willem Kossen wrote:
> >"John" <john.vanLit@ratio-it.nl> wrote in message

> news:faa10916.0407200315.71aeb3f6@posting.google.c om...
> >all,
> >How can I configure DNS so
> >that a www request always goes to the primary server A but when server
> >A is offline the same request goes automatically to server B?

>
> use one or more linux hosts with iptables as frontend (have dns point to
> them). the linux iptables will than redirect (DNAT) the traffic on port 80
> to your server A. You run a script that will ping server A every couple of
> seconds. If a few pings fail, you will simply update the iptables rule to
> redirect to server B from the script. You also have the script send you an
> email telling you server A is down.


Instead of making this yourself, avoid all the basic pitfalls and use
something that already exists:

http://www.ultramonkey.org/

Ketil Froyn
ketil@froyn.name
http://ketil.froyn.name/


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0