<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Based on the suggestions, first, I tried rsync – it sort of works, but it’s a lot of work to do the integration with cron, etc.; and there’s some subtle stuff with scheduling that I ran into (you really need
to have some randomization in the times when it runs, or you wind up running two rsyncs at the same time).<br>
<br>
I tried syncthing, also based on suggestions – it works great. Trivial install, so far (”apt-get install syncthing”) . I was hoping I’d be able to stay out of GUI-land (i.e. I’d rather do configuration changes with ssh than vnc, and, when replicating it to
new machines, it’s more controllable if it’s a script, and I can use pdsh, for instance), but trying to figure out the somewhat complex xml config files – GUI did make it easy, so there we are. Worst comes to worst, I’ll fire up the GUI on each one in sequence.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">But so far, it seems work fine. I was concerned about resources, but for the small number of files I’m working with (dozens, not thousands) the time required to do the hashing, etc. is tiny (as in <0.1% CPU)<br>
<br>
There is a tricky aspect to syncthing – having to do with the timestamps on the files, and whether your computer comes up with the “right time” (RPi do not have a battery backed up real time clock, so it has to “get time” from NTP, and I’ve not got my in-house
NTP server running, yet)<br>
<br>
I seriously looked at glusterfs – which looks very cool, and is sort of the next level of seamlessness – But it seemed a bit heavyweight for this application. I may still look into it, though – I’ve got some ideas which might benefit from that almost “multiported,
redundant storage” view.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Jim Lux<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">SunRISE Project Manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jet Propulsion Lab<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+1(818)354-2075 (office)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+1(818)395-2714 (cell)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>