Antipas
10-04-2003, 03:05 PM
Mirrored servers
Hello everyone,
I am trying to accomplish 100% uptime or as close as I can get for my Apache web, qmail mail server. Currently we have co located box’s running FreeBSD on two different networks. I would like to have them running everything the exact same. For several reasons, one is to speed up peak hour efficiency and reliability. Another reason is to keep the sites up and running if there is a network or hardware problem. What I do not know is how or where to even start.
DaHOST
10-04-2003, 03:39 PM
I was having these thoughts as well with my Freebsd boxes but the only thing I could think of was this.
1) Have two colocated boxes.
2) Using rsync to from the secondary box to mirror the first box.
3) Using multiple nameservers (Using Roundrobin) to distribute the load to both servers.
I'm not sure if this will work but I will try when I have some time unless anyone else has a better idea.
Antipas
10-04-2003, 05:10 PM
Ok so the easy part is using mirroring the data.
rsync secondary box to mirror the first box. Using rsync, ssh and cp to backup http://rustyparts.com/scripts.php
Mirroring Databases – mysql database replication http://www.mysql.com/doc/en/Replication_HOWTO.html
Email backups can be done by adding 2 MX records incase the first one is down it goes to the 2nd one
The hard part. The DNS “Failover & Load Balancing”
ultraDNS that offer automatic routing if a server goes down the problem here is I have about 200 domains is I am hosting would be a expensive solution.
http://www.zoneedit.com more cost effective. (Failover & Load Balancing - monitoring, failover and load balancing services for web servers) still would be a substantial cost for 200 domains
Is there a DNS solution without having to use a third party DNS server? Using multiple nameservers (Using Roundrobin) to distribute the load to both servers. I have read this has some downfall’s. how would the round robin know if server a was down and not to send client’s to it?
Some good threads.
http://www.webhostingtalk.com/showthread.php?s=&threadid=182088&highlight=Mirrored+servers
http://www.webhostingtalk.com/showthread.php?s=&threadid=153030&highlight=Mirrored+servers
http://www.webhostingtalk.com/showthread.php?s=&threadid=15899&highlight=Mirrored+servers