 BranoI hate VogonsPremium,MVM join:2002-06-25 Burlington, ON kudos:3 Reviews:
·Bell Fibe
| reply to Matt
Re: Rsync assistance or right tool for the job? Upon your explanation of the size of your environment and other circumstances you are facing and preferences you have I see no reason why no use rsync. It'll get the job done.
However, speaking about best practices I would suggest a manual approach to the sync of config files. Typically in clustered scenario you'd put user/app data on shared storage between cluster nodes, but not config files. Those I'd suggest to keep separate and sync them manually (you can still have rsync do it, but don't run it via cron, run it manually).
Imagine this scenario: You need to do a config change to the web server farm. 1) Remove one node from the cluster (flip production to the remaining node). 2) Update config on the one removed node and validate thoroughly. 3) Flip production to this one updated node and remove the other node from production. 4) Let it run for a period of time until you're completely satisfied that your config update is correct and not causing any issues. If anything goes bad you can just flip back to the other (old) node and troubleshoot your updated config. 5) Once you've tested the updated node and are confident about the changes manually rsync the changes to the off-line node and bring it alive. |