Interesting idea. Can a docker swarm work for a hardware device? I've
always thought of them as responding to HTTP requests.

I have not tried a thumb drive. My original intention was to try different
drive configurations, but I need the SD card to die first and free up the
instrument and RPi. After 3 years, I'm still waiting....

-tk

On Mon, Nov 13, 2017 at 7:26 PM, Robert Mantel <[email protected]> wrote:

> Great stuff Tom, I had to abandon my Pi as it was starting to get flakey
> and locking the database.  I totally ported it to my freenas box in a VM
> for now, but my goal is to get 2 more Pi 3's and create a docker swarm with
> all three nodes as master nodes.  That way if I loose one, it stays up and
> I can replace the bad card without interruption.  We're going to be
> building an off grid house so this will be the brains of the house
> (including the weather and home automation) so it's going to have to be as
> bulletproof as possible.  I may connect an SSD to it just for extra storage
> but keeping the power consumption small will be the key.
>
> Have you tried using USB thumb drives?  I think there is a way to run the
> OS from them so that the SD card gets minimal reads/writes because they do
> not have any real mechanisms to balance writes across the media like some
> thumb drives and SSD's do.
>
> On Saturday, 4 November 2017 09:17:40 UTC-4, Tom Keffer wrote:
>>
>> ​I've now had an Sandisk Extreme Plus SD card running on a Raspberry Pi
>> B+ for nearly 3 years straight without a problem.
>>
>> http://www.threefools.org/weewx/status/index.html
>>
>> And, today marks one year of continuous uptime for weewx in this test!
>>
>> There are two conclusions to making these cards work:
>>
>>    - Get a good one. I know it seem ironic to spend $30 on storage for a
>>    $35 computer, but it makes a big difference.
>>    - Use an Uninterruptible Power Supply (UPS). It doesn't have to be a
>>    very big one, but expect to spend another $50.
>>
>> So your $35 computer, once it's kitted out with a power supply, WiFi
>> adapter, UPS, and memory card, is more like a $150 computer.
>>
>> But, the good news is that it's not necessary to buy a hard drive.
>>
>> Incidentally, in the one year that weewx has been up, it's memory usage
>> has grown from VIRT 49.7MB to 52.7MB, RES from 32MB to 39MB. It has used
>> almost 1136 hours of CPU time, for an average duty cycle of about 13%.
>>
>> -tk
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to