What is the best way to recover (automatically when possible) if a Raspberry Domoticz system crashes? Is any strategy documented for these cases.
I need to implement such because all (light) switches and controls in my house will be dependent on a running Domoticz system. If this system fails I need to be able to switch over to a hot or cold standby environment which contains the same configuration. It must be able to also cover for the Z-Wave network.
Any documentation, suggestions, tips and examples are welcome. Thx.
High Availability (DR) strategy?
Moderators: leecollings, remb0
-
- Posts: 13
- Joined: Thursday 09 May 2019 18:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
High Availability (DR) strategy?
Raspberry PI 3 &4; Hue Bridge * 2; Zwave devices: FGD212 * 22, FGS222 * 4, FGSD002 * 3, FGMS002 * 5, Qubino ZMNHXD 3 Phase meter * 3 ; P1 smart meter; Foscam camera *2; Solaredge inverter and solarpanels * 2, NIBE 1255-06 PC heat pump
- Antori91
- Posts: 136
- Joined: Sunday 12 February 2017 17:12
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: High Availability (DR) strategy?
I did that for the same reasons. Notice all my environment is mainly MQTT based.
https://www.domoticz.com/forum/viewtopi ... 38&t=24088
https://www.domoticz.com/forum/viewtopi ... 38&t=24088
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: High Availability (DR) strategy?
I believe you need to virtualize your environment.
I have a 3 node Proxmox system with daily automatic backups of Domoticz.
If the physical host fails, all i have to do is move the usb devices to another host and spin up the Domoticz VM.
If I screw up my Domoticz VM, I can restore it from a backup in less than 3 minutes.
I have a 3 node Proxmox system with daily automatic backups of Domoticz.
If the physical host fails, all i have to do is move the usb devices to another host and spin up the Domoticz VM.
If I screw up my Domoticz VM, I can restore it from a backup in less than 3 minutes.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
Who is online
Users browsing this forum: No registered users and 1 guest