Hello, I have two production servers which house large drive arrays storing digitized music for our webradio. They are used in a 'failover' configuration so that if one goes down the other remains available. New music is added all of the time to this library and it is a pain to have to add it to both machines as the files are large (.wav). I am thinking to setup rsync to keep the drives sync'd. My only question is whether it is possible to have rsync doing its thing while these files are being accessed for use? ie. real-time sync. Thanks, Chris -- Chris Nighswonger Network & Systems Director Foundations Bible College & Seminary www.foundations.edu www.fbcradio.org
On Thu 22 Feb 2007, Chris Nighswonger wrote:> I have two production servers which house large drive arrays storing > digitized music for our webradio. They are used in a 'failover' > configuration so that if one goes down the other remains available. > New music is added all of the time to this library and it is a pain to > have to add it to both machines as the files are large (.wav). I am > thinking to setup rsync to keep the drives sync'd. My only question is > whether it is possible to have rsync doing its thing while these files > are being accessed for use? ie. real-time sync.That depends on your operating system. Windows generally objects to files being opened more than once; linux/unix systems won't have a problem. Paul Slootman
Not too much of a problem. You can use my open files on Windows RSync solution recently posted to this list. This will allow you to copy open files from the master to your two slaves. But if the file is open on the slaves then of course you can't copy over it. But then would you be overwriting existing music files? You could get a program to scan for open files on the slaves and then make a list then exclude these files from being copied over until a later date. Or Rsync will produce a list of error files it didn't copy over and you can use this list to retry at a later date. ie ten minutes later. Not too hard I would have though. :-) -- Stuart Halliday This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/