Hi Justin,

I was able to test the scenario with collocated shared-store approach with
two wildfly instances which are set up as HA singleton (only one wildfly
will be active at anytime). The following is the configuration

wildfly #1 (master1 activemq + slave1 activemq)
wildfly #2 (master2 activemq + slave2 activemq)

The directories for master1 activemq are referenced by slave2 activemq and
the directories for master2 activemq are referenced by slave1 activemq.

When I start up these two wildfly instances in order, the one that was
started up earlier will be HA singleton provider, and the other will be
standby. I was able to test HA for messaging by shutting down the current HA
singleton provider while it is in the process of processing messages (the
remaining messages will be processed by the newly elected HA singleton
provider).

I was trying to do similar things with data replication provider, but found
the remaining messages were not processed by the newly elected HA singleton
provider, and seemed to be lost. I am not sure if this is doable.

Thanks,

Wayne



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/How-to-configure-colocated-backup-servers-for-data-replication-approach-tp4715415p4715445.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to