LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Syncing servers

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Syncing servers
From: Stuart Fox <stuart@xxxxxxxxxxx>
Date: Thu, 19 Jul 2001 18:58:38 +0100
Zachariah Mully wrote:
> 
> Hello all-
>         I am having a debate with one of my software developers about how to
> most efficiently sync content between realservers in an LVS system.
>         The situation is this... Our content production software that we'll be
> putting into active use soon will enable our marketing folks to insert
> the advertising into our newsletters without the tech and launch teams
> getting involved (this isn't necessarily a good thing, but I'm willing
> to remain open minded ;). This will require that the images they put
> into newsletters be synced between all the webservers... The problem
> though is that the web/app servers running this software are
> load-balanced so I'll never know which server the images are being
> copied to.
>         Obviously loading the images into the database backend and then out to
> the servers would be one method, but the software guys are convinced
> that there is a way to do it with rsync. I've looked over the
> documentation for rsync and I don't see anyway to set up cron jobs on
> the servers to run an rsync job that will look at the other servers
> content, compare it and then either upload or download content to that
> server. Perhaps I am missing an obvious way of doing this, so can anyone
> give me some advice as to the best way of pursuing this problem?
> 
> Thanks again!
> 
> Zack
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

Hi, several ideas spring to mind

1, nfs mount one directory for upload and server the
   images from there.
2, Write a small perl/bash script to monitor both upload
   directories remotely then rsync the differences when
   detected.

Stuart

Attachment: stuart.vcf
Description: Card for Stuart Fox

<Prev in Thread] Current Thread [Next in Thread>