Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am working on putting together a cluster for openx and had a question with regard to clustered file systems vs rsync.

Here is my current setup:

-2 workhorse boxes load balanced to serve and count ads (using the "distributed statistics" methodology) These servers would have their own databases that are migrated to the master database every 10 minutes.

-An Admin/Gui box Connected directly to the "master" database (just for pulling reports, trafficking, etc)

-A Database box that will be housing the databases

Once I get the servers running on the cluster, if I decided to upload a banner to the "admin" box, it only exist on the admin box only. This could cause problems when the cluster tries to pull the image. To get around this, I have thought about rsyncing the "images" directories (every 10 minutes or just setup a cluster based file system to house all of the images.

Which would be better? And is there another option that I haven't thought about?

Thanks!

I am following the methodology written here: http://blog.openx.org/10/serving-billions-of-ads-using-openx/

share|improve this question

1 Answer 1

If your data change often (I think so) and 2 servers is enough, you should combine a distributed file system (OCFS2, GFS) with DRBD. If not, you can use rsync + incron when most of your data is static. If you want to add more servers, build a shared storage is another option.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.