activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Fraga <>
Subject Shared store vs Replication with Colocated and Scale Down
Date Mon, 27 May 2019 12:24:52 GMT
Hello all,

I have some Apache Artemis running on identical docker containers and I am
trying to setup HA using modified configuration from the examples:



Seems almost ok to me, because when a master shutdowns normally (usually
because of low usage), its backup on another server will activate with the
shutdown server messages.

Problem here is that with shared-store I will have to create a unique
journal directory for each container on a shared docker volume. I believe
this will start leaving ghost directories in my volume that I don't know if
they are being used by a server or not.

So, thinking about replication, I believe that after a normal shutdown, the
journal directory associated with the shutdown server can be safely
deleted. Now If I try to configure it to use replication instead of
shared-store, the configuration is invalid because master doesn't have
failover-on-shutdown on replication. But I thinks that is not ok to me,
because in this case after a server scale down, any messages that were
being processed by it will be lost.

Can I get this behaviour with replication?

Thanks again.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message