Question about maintaining files on distributed nodes
I have set up this configuration, and to get started I cloned one 512 to another. But as updates happen over the course of time – to the file system and the database – how do I make sure that each linode gets updated? Is it possible to push updates to the first one and have that automagically pushed to the second?
I'd appreciate any advice on maintaining file systems for distributed nodes.
By the way, I have a dev, stage, live environment established, I'm just concerned about the live site being propagated in multiple places.
I'm running a LAMP (PHP-MySQL) stack on Debian 6.
Thanks.
3 Replies
inotifywait
It was created just for that use
You can also use some kind of VCS and deploy the files from it.