Web Hosting Talk







View Full Version : Best Way to Create Redundancy


janderfox
07-25-2002, 11:25 PM
I've got two crucial servers, each located at a different datacenter, that I will have resolving to one domain. I will need a carbon copy of each server's hard drive on the other server at any given time. Meaning, each server is an instant backup of the other server; the hard drives on each server mirror each other at all times.

What's the best way to accomplish this?

Thanks,

--JCA Justin

empoweri
07-26-2002, 12:31 AM
As long as the content is static (not DB driven) and the content doesn't update that often, it is pretty easy.

Use rsync:
http://samba.anu.edu.au/rsync/

Ahmad
07-26-2002, 02:34 AM
Originally posted by janderfox
I've got two crucial servers, each located at a different datacenter, that I will have resolving to one domain. I will need a carbon copy of each server's hard drive on the other server at any given time. Meaning, each server is an instant backup of the other server; the hard drives on each server mirror each other at all times.

What's the best way to accomplish this?

Thanks,

--JCA Justin

This depends on your application, but it is not it's usually done. Access logs for example doesn't have to be copied.

If it is a database application, you might wanna check your database system for "replication". It is is a feature that allows you to do that. Then all you need to copy from a machine to the other is the data in the database. All the other files are just system files and programs that are copied manually when they are changed.

janderfox
07-26-2002, 08:51 AM
Thanks to the both of you.

Well, the information is dynamic, not static, using MySQL. Does MySQL have the replication feature avaliable?

Thanks,

--JCA Justin

markcastle
07-26-2002, 08:57 AM
On Win2k - Try Octopus (think it is called Replistor) from Legato - Bit pricey but does a good job and is industrial strength.

Ahmad
07-26-2002, 10:11 AM
Try this link:

http://www.mysql.com/doc/R/e/Replication_FAQ.html

I haven't read this page or used replication before, so might also want to search the manual for more about replication.

apollo
07-26-2002, 12:59 PM
Make sure you use rsync over SSH!