HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   2 DNS servers to create high avialability - yes I know this was asked before... (http://www.howtoforge.com/forums/showthread.php?t=30634)

yurtboy1 26th January 2009 03:22

2 DNS servers to create high avialability - yes I know this was asked before...
 
I just want to clear it up and ask again.
I know there are HA options but they seem a little too much for just having two servers.
One idea I wanted to get some feedback on is this.

s1 192.168.0.254

s2 192.168.0.253

they both serve up web pages
s1 does mail
both do mysql

both are a dns server as well.
If www.example.com is hosting on s1 then the secondary dns would be s2
If s1 goes down then s2 would pick up the dns request but instead of saying www.example.com = 192.168.0.254
it would say
www.example.com = 192.168.0.253

Or if needed s2 would have virtual ip's waiting to go on if needed ie
eth0:0 192.168.0.254 so it would even be more seemless.

Of course there is work to sync
s1 <--> s2
mysql
apache
email

But that is on the easier side.

As far as email goes if s1 goes down then s2 would take over the requests and have a fully synced folder layout of emails as well as users and passwords (though this may be harder unless we can just copy the /etc/passwd and shadow file over?

s1 is running ispconfig but we figure the if s2 takes over it can work w/o ispconfig for a bit ie no new users, databases, etc allowed to be added till s1 is back up and data synced back over.

Alright any feedback would be great

falko 26th January 2009 14:12

You can use rsync to sync folders and files (see http://www.howtoforge.com/mirroring_with_rsync ) and MySQL replication for the databases:
http://www.howtoforge.com/mysql5_mas...on_debian_etch
http://www.howtoforge.com/mysql_database_replication


All times are GMT +2. The time now is 13:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.