I have two machines built and the FUSE software installed and configured to talk to an external MySQL DB. However, when I start them, they appear to run in an active/passive configuration. What I see on the broker that comes up first is:
NFO DefaultDatabaseLocker - Attempting to acquire the exclusive lock to become the Master broker
INFO DefaultDatabaseLocker - Becoming the master on dataSource: org.apache.commons.dbcp.BasicDataSource@aa0877
And the other broker just hangs at:
INFO JDBCPersistenceAdapter - Database driver recognized: \[mysql-ab\_jdbc\_driver\]
If I kill the first, then the second broker will proceed to register itself as the master broker. Is this expected? Do you have further configuration settings?
The ActiveMQ master/slave functionality is not active/active; it's active/passive. What you're describing is exactly the way that the shared database style of master/slave configuration is meant to work. Please see the JDBC master/slave documentation and the pure master/slave documentation for more details.