Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-08-09 Thread trevdyck
Did you consider using Amazon MQ? This is standard ActiveMQ with all the infrastructure managed for you. https://aws.amazon.com/amazon-mq/ -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-23 Thread Tom Hall
When I implemented AMQ on EFS, EFS only had optimistic locking so the pluggable locker was needed. I can no longer find reference to it, and AWS has made significant changes to EFS locking so it may not be necessary anymore. Thanks, -Tom > On Jul 21, 2018, at 6:25 AM, Tim Bain wrote: > >

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-21 Thread Tim Bain
Third reply, hopefully this is the last thing I missed. If pluggable lockers are required in order to use EFS, they would be required irrespective of which version of ActiveMQ you use. However, the EFS FAQ says that EFS supports NFS 4.1 locking semantics, which sounds to me like pluggable lockers

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-21 Thread Tim Bain
I forgot to answer your other question. That just means that you have to configure the path for the KahaDB data directory (in activemq.xml) to be a path under your EFS mount. Tim On Sat, Jul 21, 2018, 7:17 AM Tim Bain wrote: > The bug I linked to, which addresses the fact that EFS is so large

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-21 Thread Tim Bain
The bug I linked to, which addresses the fact that EFS is so large that the ActiveMQ code believes it has a negative size, was fixed in 5.15.0, so I would expect 5.14.3 not to work. But YMMV if EFS is reporting a different amount of free space today than it did when that bug was submitted. Tim

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-20 Thread avmpt
I am using a custom docker image rather than any of the ones available online. The config uses a base os image and then has the following activemq settings: --- ENV ACTIVEMQ_VERSION 5.14.3 ENV ACTIVEMQ apache-activemq-$ACTIVEMQ_VERSION ENV

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-20 Thread Tim Bain
Also look at https://issues.apache.org/jira/browse/AMQ-6441, including the discussion in the comments. Tim On Wed, Jul 18, 2018, 5:04 PM Tom Hall wrote: > There are a number of docker images for activemq, you will need to follow > the documentation for that docker image. > Make sure your

Re: Using AWS EFS as the shared file system for master/slave broker pair

2018-07-18 Thread Tom Hall
There are a number of docker images for activemq, you will need to follow the documentation for that docker image. Make sure your docker image is using the latest version of activemq. You are going to need to change the data directory to be under the efs mount, and you are going to have to

Using AWS EFS as the shared file system for master/slave broker pair

2018-07-18 Thread avmpt
I would like to use EFS as the shared file system when I set up a master/slave broker pair. What changes would I need to make to the persistence adapter to use the mounted EFS path? When I have Would I need to change it to the path where EFS is mounted? Are there any additional