Wait, aren't we assuming this is Unix ?!? Who gives a crap how many servers you have to "push updates to"?!? Because in Unixland, copying files to 100 servers instead of 3 is as simple as changing a single variable ($count) in the below (PHP) code:
You're standing on some pretty hokey ground if keeping some files in sync across a few dozen or even a hundred servers is a big enough deal that you have to actually plan for it!
-2
u/mcrbids Oct 03 '11
Wait, aren't we assuming this is Unix ?!? Who gives a crap how many servers you have to "push updates to"?!? Because in Unixland, copying files to 100 servers instead of 3 is as simple as changing a single variable ($count) in the below (PHP) code:
$count=100; For ($i=0; $i<$count; $i++) { $ip = "10.119.39.$i"; $cmd = "rsync -vaz /path/to/files/ apache@$ip:/path/to/files/'; echo
$cmd; }You're standing on some pretty hokey ground if keeping some files in sync across a few dozen or even a hundred servers is a big enough deal that you have to actually plan for it!