redundance

hello

that's how i'm trying to add redundance to my main site
i have 2 servers (server01 and server02) with the following DNS pointing to them:
ns1.server01.com -> server01
ns2.server01.com -> server01
ns1.server02.com -> server02
ns2.server02.com -> server02

i'd set the domain with the following DNS:
ns1.server01.com
ns1.server02.com

then I'd host the site on server01 and, since it's a dynamic site, i'd consider the "main" site as being on server01... on server02 i'd just have a copy of it made once a day

i'd then set both DNSs to point the domain to server01 and add a "monitor" (like nagios) to verify server01 on server02 and vice-versa
in case any of them don't respond, the DNS would be changed to their own IP until it responds

do you think it should work?

 

 

 

 

Top