Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Sep 05, 2011 9:27 pm 
Offline
Senior Newbie

Joined: Sat Mar 20, 2010 6:30 pm
Posts: 11
One of my client's is paranoid about the traffic they might get on their site. While I run a dozen or so clients on a single 512 linode, they have requested that I setup a new system just for them that includes a node-balancer with two 512 linodes behind it sharing the bandwidth.

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.


Top
   
 Post subject:
PostPosted: Mon Sep 05, 2011 10:10 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Use rsync to update your files from one server to another, you could set up a cron or if you use git/svn you could set up a hook.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Tue Sep 06, 2011 6:11 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
You could also use inotifywait or a similar tool to watch for changes and trigger rsync.


Top
   
 Post subject:
PostPosted: Tue Sep 06, 2011 6:45 am 
Offline
Senior Newbie

Joined: Tue Sep 06, 2011 6:21 am
Posts: 8
You can use csync2: http://oss.linbit.com/csync2/

It was created just for that use :)
You can also use some kind of VCS and deploy the files from it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group