Re: HA Cluster from Standalone Artemis

2019-06-22 Thread Justin Bertram
> So, it looks like what I would like to do is setup two live servers sharing the same journal directory. Maybe it is not possible. As you suspect, it is not possible for two live servers to share the same journal. A live and a backup can share the same journal folder, but both brokers should *not

Re: HA Cluster from Standalone Artemis

2019-06-22 Thread Justin Bertram
> with the cluster connections, discovery and broadcast groups configured, the session state will be shared between all the nodes, correct? That's not correct. Clients maintain connections, sessions, etc. with an individual node in the cluster. That cluster node does not replication this state to

Re: HA Cluster from Standalone Artemis

2019-05-14 Thread Felipe Fraga
Hello again, I am experiencing with the configuration and I see now I still had some misconceptions. I see now that: - ha-policy is all about live and backup groups - cluster-connections is all about linking those groups together So, it looks like what I would like to do is setup two live server

Re: HA Cluster from Standalone Artemis

2019-05-14 Thread Felipe Fraga
Thanks again for the reply. So, after your explanation, I think I understood it better and will definitely try that. Question now in my mind is: with the cluster connections, discovery and broadcast groups configured, the session state will be shared between all the nodes, correct? That being sai

Re: HA Cluster from Standalone Artemis

2019-05-14 Thread Justin Bertram
> I guess what I would really want is to have 2 live servers sharing the same > storage on the filesystem and if my load balancer tries a server that is > killed for some reason it then sends the same requests to the other server > and it works transparently, but I recognise that is not the Artemis

Re: HA Cluster from Standalone Artemis

2019-05-14 Thread Felipe Fraga
Hello and thanks for your reply, I guess what I would really want is to have 2 live servers sharing the same storage on the filesystem and if my load balancer tries a server that is killed for some reason it then sends the same requests to the other server and it works transparently, but I recogni

Re: HA Cluster from Standalone Artemis

2019-05-10 Thread Justin Bertram
What kind of "high availability" do you want? High availability (i.e. HA) in ActiveMQ Artemis is provided by a pair of brokers - one live and one backup. If all your brokers are configured as live and you have no backup brokers then you won't technically have HA functionality. If you have two broke