Continuous asynch file replication in linux?
-
@DustinB3403 said in Continuous asynch file replication in linux?:
@Pete-S said in Continuous asynch file replication in linux?:
@DustinB3403 said in Continuous asynch file replication in linux?:
Isn't rsync async by design?
To ask a second question, are you looking for something that operates at the storage layer (DRBD-esk) or at the software layer like Rsync?
At the software layer I can't think of anything specific off hand.
I was thinking keeping lots of small files synced between a bunch of servers. Any one could change any file at any time with the expectation that it will show up on the other servers as soon as possible. Writes are low volume though but should be low latency and not take 10 minutes.
So all distinct standalone servers?
You're probably wanting to use Rsync.
Yes, all distinct standalone servers.
-
@Pete-S said in Continuous asynch file replication in linux?:
@DustinB3403 said in Continuous asynch file replication in linux?:
@Pete-S said in Continuous asynch file replication in linux?:
@DustinB3403 said in Continuous asynch file replication in linux?:
Isn't rsync async by design?
To ask a second question, are you looking for something that operates at the storage layer (DRBD-esk) or at the software layer like Rsync?
At the software layer I can't think of anything specific off hand.
I was thinking keeping lots of small files synced between a bunch of servers. Any one could change any file at any time with the expectation that it will show up on the other servers as soon as possible. Writes are low volume though but should be low latency and not take 10 minutes.
So all distinct standalone servers?
You're probably wanting to use Rsync.
Yes, all distinct standalone servers.
Yeah, Rsync may be the most direct approach. What I see maybe being an issue is if the second (3rd or 4th) servers say "oh new file" and start to sync that back to the original source.
I'm sure it would work fine, generally speaking.
-
Use systemd to monitor directories and files
https://www.putorius.net/systemd-path-units.htmlSyncthing
https://syncthing.net/
-
I would say:
lsyncd for user mode, simple, rsync based solution: https://github.com/axkibe/lsyncd
csync2 for multi-host synchronization with conflict detection: https://github.com/LINBIT/csync2
MARS for a kernel side solution (DRBD alternative): http://schoebel.github.io/mars/ -
@DustinB3403 said in Continuous asynch file replication in linux?:
DRBD comes to mind.
That's the standard.
-
@DustinB3403 said in Continuous asynch file replication in linux?:
Isn't rsync async by design?
Yes. Rsync can't do full sync, only async. But it's not automatic.
-
@black3dynamite said in Continuous asynch file replication in linux?:
Use systemd to monitor directories and files
https://www.putorius.net/systemd-path-units.htmlSyncthing
https://syncthing.net/
This is probably the best option.
-
@scottalanmiller
Is it for asynchronous replication? I know it is for synchronous. -
@dave_c said in Continuous asynch file replication in linux?:
@scottalanmiller
Is it for asynchronous replication? I know it is for synchronous.Which tool?
-
@scottalanmiller said in Continuous asynch file replication in linux?:
@dave_c said in Continuous asynch file replication in linux?:
@scottalanmiller
Is it for asynchronous replication? I know it is for synchronous.Which tool?
DRBD as the standard asynchronous replication option for Linux -
@dave_c said in Continuous asynch file replication in linux?:
@scottalanmiller said in Continuous asynch file replication in linux?:
@dave_c said in Continuous asynch file replication in linux?:
@scottalanmiller
Is it for asynchronous replication? I know it is for synchronous.Which tool?
DRBD as the standard asynchronous replication option for LinuxDRBD is both sync and async. Most uses of it are async.
-
@scottalanmiller
Thanks for the clarification