Hi
We are using rsync to sync a directory containing images on some webservers.
I'm after some advice on whether the method I've implemented is appropriate.
I have the rsync daemon running on the master web server (where the images are placed/updated by content managers). The command "rsync --daemon" is in rc.local to start the rsync daemon when the server starts.
On the client webservers, I have added a cron job to the crontab file as follows:
Code:
*/2 * * * * rsync -rqt -<options> <user>@<server>::<path> /<target>/<directory>
Is this sensible? Content managers want the images copied over to the other web servers within 2 minutes.
I should say that these web servers are on the same LAN.