Hello Karaf Users, I was having a look into redundant setups for a Karaf container. What I found is this documentation [1], which describes failover configurations with locks on a file or a database.
But doesn't a lock on a single resource introduce a new single point of failure? Or am I missing something here? How can I setup a full-redundant setup without that single resource lock? Can I at all? Or will I have to roll this on my own completely? The setup I imagine is a master-slave setup like the following: - two instances run on (physically) separate machines - one is dedicated (configured as) master, the other as slave - similar to container level locking, the slave instance is on hot standby - master and slave hold an active connection (heartbeat or ping pong) - as soon as the slave doesn't see a heartbeat from the master, it assumes the master is dead and becomes (temporary) master - when the (original) master shows up again, the slave goes back to standby What do you think about such a setup? How would you realize it with Karaf and are there maybe already existing solutions for such a setup? Could I maybe realize this with some kind of child instances setup? Thanks in advance for any comments, Benjamin [1] http://karaf.apache.org/manual/latest-2.3.x/users-guide/failover.html
