<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Multiple Gateways for redundancy]]></title><description><![CDATA[<p dir="auto">Hello All,<br />
For redundancy, I've configured a cluster of 3 RPi with Docker services (Domoticz, Usefull scripts, Mysensors Gateway, ...) and a replicated NFS central storage.<br />
I'm wondering if it is possible to start multiple mysensors gateways (one on each RPi machine)<br />
As a gateway use the ID 0  I think it's not possible but how do you manage redundancy ?<br />
Do I need to configure a HA cluster to start/stop the mysensors gateway?</p>
<p dir="auto">Thanks for your lights,<br />
David.</p>
]]></description><link>https://forum.mysensors.org/topic/5690/multiple-gateways-for-redundancy</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 05:16:15 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/5690.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Jan 2017 20:27:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Fri, 20 Jan 2017 15:57:37 GMT]]></title><description><![CDATA[<p dir="auto">It all depends if it is mission critical stuff, otherwise just keep a spare rpi and an arduino board pre-programmed that you can easily swap.</p>
]]></description><link>https://forum.mysensors.org/post/57736</link><guid isPermaLink="true">https://forum.mysensors.org/post/57736</guid><dc:creator><![CDATA[gohan]]></dc:creator><pubDate>Fri, 20 Jan 2017 15:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Fri, 06 Jan 2017 21:05:39 GMT]]></title><description><![CDATA[<p dir="auto">Perhaps the gateways just need to share each other the table of distributed/allocated ID and routing paths to the sensors.<br />
I'm not a developer, so perhaps it's too complicated...</p>
]]></description><link>https://forum.mysensors.org/post/56310</link><guid isPermaLink="true">https://forum.mysensors.org/post/56310</guid><dc:creator><![CDATA[David]]></dc:creator><pubDate>Fri, 06 Jan 2017 21:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Fri, 06 Jan 2017 05:27:05 GMT]]></title><description><![CDATA[<p dir="auto">A first start could be the possibility to sleep and a second command to wake the gateway via a command from the gateway. So the controller may decide which gateway is active and which gateway is not.<br />
The gateway is initialized but the routing of messages from serial/ethernet to NRF /RFM /RS485 is enabled / disabled.<br />
Maybe a simple internal message?!</p>
]]></description><link>https://forum.mysensors.org/post/56255</link><guid isPermaLink="true">https://forum.mysensors.org/post/56255</guid><dc:creator><![CDATA[TimO]]></dc:creator><pubDate>Fri, 06 Jan 2017 05:27:05 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Thu, 05 Jan 2017 20:22:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mfalkvidd" aria-label="Profile: mfalkvidd">@<bdi>mfalkvidd</bdi></a> , <a class="plugin-mentions-user plugin-mentions-a" href="/user/mihai" aria-label="Profile: Mihai">@<bdi>Mihai</bdi></a> fully agree with you, why to build a genius system that is able to do a lot of things without thinking of reliability?<br />
The problem I'm facing is, Swarm (the docker scheduler) is not able to create services with privileged access and/or device access.</p>
<p dir="auto">So I think I will use keepalived with a script that manage the start/stop of the gateway or Swarm with a Docker proxy.<br />
FYI some examples of what you can do with keepalived and scripts: <a href="https://tobrunet.ch/2013/07/keepalived-check-and-notify-scripts/" rel="nofollow ugc">https://tobrunet.ch/2013/07/keepalived-check-and-notify-scripts/</a><br />
or Docker proxy for Swarm: <a href="https://github.com/calh/docker_priv_proxy" rel="nofollow ugc">https://github.com/calh/docker_priv_proxy</a> (Not yet tested)</p>
<p dir="auto">If the devs could think about redundancy capability of the gateway for the next versions, it would be great.<br />
Anyway, MySensors is really really a good project.<br />
Regards,<br />
David.</p>
]]></description><link>https://forum.mysensors.org/post/56227</link><guid isPermaLink="true">https://forum.mysensors.org/post/56227</guid><dc:creator><![CDATA[David]]></dc:creator><pubDate>Thu, 05 Jan 2017 20:22:56 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Thu, 05 Jan 2017 09:31:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dbemowsk" aria-label="Profile: dbemowsk">@<bdi>dbemowsk</bdi></a><br />
If it is used as an alarm system, not only for intruders, but for smoke detection, water leak etc you must count on its reliability close to 100%.<br />
Also as mfalkvidd mention, you may not want to stay outside automated closed door...</p>
]]></description><link>https://forum.mysensors.org/post/56146</link><guid isPermaLink="true">https://forum.mysensors.org/post/56146</guid><dc:creator><![CDATA[Mihai]]></dc:creator><pubDate>Thu, 05 Jan 2017 09:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Thu, 05 Jan 2017 09:05:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/david" aria-label="Profile: David">@<bdi>David</bdi></a> I think it can work as long as you sure that only one Gateway is able to send and the others are mute. Kind of the same as with redundant hot standby server systems.</p>
]]></description><link>https://forum.mysensors.org/post/56141</link><guid isPermaLink="true">https://forum.mysensors.org/post/56141</guid><dc:creator><![CDATA[fleinze]]></dc:creator><pubDate>Thu, 05 Jan 2017 09:05:32 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Thu, 05 Jan 2017 06:36:15 GMT]]></title><description><![CDATA[<p dir="auto">In a fully automated home, the inhabitants would be unable to lock/unlock doors, turn on/off lights or use automated appliances. When that happens, spouse acceptance factor hits rock bottom. So in my view, that much redundancy is absolutely critical for widespread home automation.</p>
]]></description><link>https://forum.mysensors.org/post/56134</link><guid isPermaLink="true">https://forum.mysensors.org/post/56134</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Thu, 05 Jan 2017 06:36:15 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple Gateways for redundancy on Thu, 05 Jan 2017 05:34:02 GMT]]></title><description><![CDATA[<p dir="auto">Out of curiosity, why do you think you would need that much redundancy?</p>
]]></description><link>https://forum.mysensors.org/post/56130</link><guid isPermaLink="true">https://forum.mysensors.org/post/56130</guid><dc:creator><![CDATA[dbemowsk]]></dc:creator><pubDate>Thu, 05 Jan 2017 05:34:02 GMT</pubDate></item></channel></rss>