I have a sollution which confronts the problem in a totally different way.
Given the time and resources, what you can do is connect both servers to a NAS switch, mapping them the same storage.
It's a possible solution, but:
1. The NAS is still a single point of failure. 2. They are talking about having a server at a different location, so they'll need to replicate the NAS as well.
We would like to do this with our current hardware at this stage, we already have RAID1 on both servers so I would just like to keep the arrays identical.
Right now we will stick to having both servers at the same location, my question was about changing the IP address dynamically if something happens if we ever decide to setup a backup server on another location.
My suggestion for a general direction to investigate:
1. Check rsync more closely - as far as I remember from using it, it is actually a very efficient program in CPU, memory, and network usage.
Yes, but I'm not sure that running it every 10 minutes is a good idea, especially if you have many files and some of them are being changed while rsync is running.
I found out about a kernel module named "enbd" which is supposed to do RAID over network somehow, but I would like to hear about the experience of others before I start to play with it.
2. What about using a content-management (CM) solution which manages
your site instead of handling files "manualy"? Keeping track of your
files through a CM software will enable it to copy over every file
when it's updated, and it can also sort-of track changes and versions.
I can't recall a particular software for this, maybe you can start
by looking for WebDAV implementations (e.g. Apache's WebDAV module).
I'm not sure. Basically we're storing all the data in our database and only use the filesystem for files - image files, flash files, website root directories etc.
All the files must be accessible by apache (it is serving the images directly, we don't read them in our application) .
Sagi
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]