OpenLightingProject / ola

The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
https://www.openlighting.org/ola/
Other
644 stars 204 forks source link

Add a HA mode to OLA #137

Open ola-importer opened 10 years ago

ola-importer commented 10 years ago

From si...@nomis52.net on March 05, 2011 22:32:02

It would be really nice if you could run a pair of OLA instances in HA mode and have automatic failover.

Original issue: http://code.google.com/p/open-lighting/issues/detail?id=136

mlhess commented 7 years ago

I don't see why this could not be done with the normal heartbeat tools http://www.linux-ha.org/wiki/Heartbeat? Of course it won't work if you are using usb or other physically connected devices.

peternewman commented 7 years ago

Sounds good @mlhess , when can we expect a PR? :stuck_out_tongue:

mlhess commented 7 years ago

I am not sure that PR is needed. This is a config file for ha, which would depend on your configuration.

peternewman commented 7 years ago

It might be good to offer an example config file, which could possibly ship in the tarball to get people going at least.

In terms of the USB stuff, given DMX is an RS485 bus, aside from termination issues and line driving, it might be possible to have one USB-DMX interface on each machine and as long as only one drives the bus at a time...