Gateway Backup
-
Let's say I have a raspberry pi running as my gateway, and it's running as mqtt client gateway.
Lets also say i have a second pi configured the same way. Is there anything that would prevent me from, in the event of pi1 dying, just powering on pi2 and everything continuing to work?
-
Let's say I have a raspberry pi running as my gateway, and it's running as mqtt client gateway.
Lets also say i have a second pi configured the same way. Is there anything that would prevent me from, in the event of pi1 dying, just powering on pi2 and everything continuing to work?
-
This is good news. I think I could create a failover scenario to have a backup gateway in the same fashion I did with failover openhab.
-
This will work. You could even automate it with a heartbeat cluster. :D
-
That's what I did with my openhab setup. This could help my "single point of failure" phobia lol
-
especially the synchronisation of the database would be interesting.
-
@gohan how i did my openhab failover?
http://crankycoder.net/2015/11/13/home-automation-move-part-1/
http://crankycoder.net/2015/11/15/home-automation-move-part-2/
http://crankycoder.net/2016/01/24/openhab-crashing-with-z-wave-fix-it-fix-it-fix-it-fix-it/Hope that helps :)
Will have to do another one if i do the multiple mysensors gateways :)
-
especially the synchronisation of the database would be interesting.
@Jan-Gatzke I haven't messed with the pi gateway yet, but I am thinking maybe doing something like drbd (disk replication)