Re: ActiveMQ clustering using NFSv4

2019-08-20 Thread Arshkr
Hi Tim, For NFS, I will create a cluster for that later, or I will use another alternative is add a new LUN on ESXi and create a logical NFS share for all three brokers to mount for KahaDB. Would you mind check out my activemq.xml file and help me point out possible error(s) I have? Thank you,

Re: ActiveMQ clustering using NFSv4

2019-08-15 Thread Tim Bain
So... You have three ActiveMQ nodes that are capable of failing over in the case of a problem with the current master broker. That's great. But your NFS server is a single point of failure, and if it goes down, all three ActiveMQ servers are useless. You might want to figure out how to make your

Re: ActiveMQ clustering using NFSv4

2019-08-15 Thread Arshkr
Hi Tim, I think I got it works. Here is my note, in case any newbie like me have some idea where to start from :-) Here is what I did for 3 ActiveMQ servers, and 1 NFS file server: - Set up an NFS share server on windows 2018, and create a shared folder name "activemqdata". Instruction on how

Re: ActiveMQ clustering using NFSv4

2019-08-13 Thread Tim Bain
Phu, You can use any shared filesystem for storing the data, but to act as the shared lock, the filesystem must support specific lock operations. NFSv4 supports those options. NFSv3 and before does not. Other filesystems may or may not, though your experiment makes it sound like ESXi may not.

Re: ActiveMQ clustering using NFSv4

2019-08-12 Thread Arshkr
Hi Tim, Thank you for your reply. Yes, I have read this document before, and master/slave concept is clear to me. My big question is on NFS shared file system where ActiveMQ is writing data on. I have only one option for this setup is to use NFS shared file system for the data directory. I don't

Re: ActiveMQ clustering using NFSv4

2019-08-12 Thread Arshkr
Hi François, Yes, shared NFS file store will be a place for KahaBD directory between the brokers. According to ActiveMQ, it supports NFS version 4.x; which implies that I need to configure an additional server running NFS so the three VM brokers can share a data directory over network. If I

Re: ActiveMQ clustering using NFSv4

2019-08-08 Thread Tim Bain
Have you read the official documentation at https://activemq.apache.org/shared-file-system-master-slave? Does it answer your questions? If not, if you post specific questions about specific things you don't understand to this list, hopefully we can help you work through anything that's not clear.

Re: ActiveMQ clustering using NFSv4

2019-08-08 Thread Francois Papon
Hi, Are you using NFS to share the KahaBD directory between the brokers? regards, François fpa...@apache.org Le 08/08/2019 à 09:02, Arshkr a écrit : > Hello, > > I'm a newbie to ActiveMQ; I try to configure 2 or 3 VM ActiveMQ nodes > working as Master/slave using NFSv4. I'm reading lots of

ActiveMQ clustering using NFSv4

2019-08-08 Thread Arshkr
Hello, I'm a newbie to ActiveMQ; I try to configure 2 or 3 VM ActiveMQ nodes working as Master/slave using NFSv4. I'm reading lots of document, but it seems I'm more confused about the vast information it offers. If you don't mind, could you please recommend me a straightforward document of how