When you first start Fuse ESB Enterprise a lock file is created at the root of the installation directory. You can set up a master/slave system whereby if the master instance fails, the lock is passed to a slave instance that resides on the same host machine.
To configure a lock file failover deployment, edit the
etc/system.properties file on both the master and the slave
installation to include the properties in
Example 25.
Example 25. Lock File Failover Configuration
karaf.lock=true
karaf.lock.class=org.apache.karaf.main.SimpleFileLock
karaf.lock.dir=PathToLockFileDirectory
karaf.lock.delay=10000karaf.lock—specifies whether the lock file is written.
karaf.lock.class—specifies the Java class implementing the lock. For a simple file lock it should always be
org.apache.karaf.main.SimpleFileLock.karaf.lock.dir—specifies the directory into which the lock file is written. This must be the same for both the master and the slave installation.
karaf.lock.delay—specifies, in milliseconds, the delay between attempts to reaquire the lock.








