LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-09-2010, 11:40 AM   #1
Genjix
Member
 
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Rep: Reputation: 15
Distributed rsync over mesh network


A bunch of hosts all connected to each other.

I'd like to have a directory where a group of hosts can dump files and all access, synchronising with each other their changes automatically and transparent to the user.

How can I have it so that rsync updates both ways?

* host A asks host B for a list of files, modification dates, checksums
* then applies the rules to select which files it will fetch from B
--> if A owns the file then do not get modifications from B
--> files differ, then select newer file
* then fetches them
* and so on for each host...

Any ideas?

Last edited by Genjix; 07-09-2010 at 12:16 PM.
 
Old 07-09-2010, 12:23 PM   #2
samsonite
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Rep: Reputation: 1
Are these going to be user modified files? if so how will they be modifying the files?

If an 'application' or script is going to be modifying the files you are going to have to check timestamp when opening the file for editing, and then compare the timestamp before saving to see if it has changed. If so then save a local copy then rsync.

That's the best i could come up with right now. Hope it helps.
 
  


Reply

Tags
distributed, hosts, network, rsync, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh network issue(Batman): Cant bind interface address already in use melato Linux - Networking 2 09-09-2009 04:19 PM
Distributed software raid over network dru0pa Linux - Server 4 07-28-2009 06:43 PM
LXer: Setting up a Linux-based Open-Mesh Network, Part 1 LXer Syndicated Linux News 0 05-27-2009 06:40 AM
Where can I find 802.11s mesh network source code? leon.zcom Linux - Software 2 12-23-2008 05:04 PM
Free SIP distributed network dlublink Linux - Networking 2 01-29-2006 10:32 AM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration