Failover patch, check it out

Hello everyone,

My company needed a jabber failover solution, so I ended up patching Openfire to make a locking entry in a new ofFailover table. This allows two servers to share a database (by not allowing the other node to start if the first is running). This will require something along the lines of the Linux HA heartbeat service to actually monitor a shared virtual IP and bring the Openfire service up and down; this patch just makes sure two instances aren’t trying to run at the same time against the same database.

– Randall

Hi Randall,

Neat idea, I have a suggestion…

Instead of creating a new table, why not store the value in the ofProperty table. Then there would be no database changes necessary…

daryl