Re: Artemis with JGroups server discovery (live+backup)

2017-09-25 Thread grishezz
Thanks! that was indeed my mistake. (btw, the documentation doesn't include any such examples, nor does the code examples project) I have now configured the clients with this url: jgroups://active_broadcast_channel?file=WEB-INF/conf/test-jgroups-jdbc_ping.xml&refreshTimeout=3&discoveryInitial

Artemis with JGroups server discovery (live+backup)

2017-09-25 Thread grishezz
I am trying to establish the following setup: (a) 2 servers running aretmis brokers: 1 live servers + 1 backup servers (b) server discovery via JGroups with a jdbc_ping (c) clients (producers & consumers) are running on both servers in a process separate from the process running the brokers (d) ev

Re: H/A colocated replication environment not working as expected

2016-12-01 Thread grishezz
You can see the entire logs, as well as the configuration I used in the first post in this thread, I am also copying the relevant parts here: server0: = 19:02:06,104 INFO [org.apache.activemq.artemis.core.server] AMQ221109: Apache ActiveMQ Artemis Backup Server version 1.5.0 [null] started, w

Re: H/A colocated replication environment not working as expected

2016-12-01 Thread grishezz
I did. This example is for shared-storage. My scenario is not fit for shared-storage. Honestly, I am beginning to doubt if it even works at all (perhaps a bug was introduced into the network-based replication mechanism at some point?). Are there any live systems actually using it with either 1.4 o

Re: H/A colocated replication environment not working as expected

2016-11-30 Thread grishezz
Well, I see data files are indeed created under the server1 colocated backup. And the configuration above includes a clause. Other than that, I am not sure what does it mean to "make sure" - can I look at some information/properties via the jmx interface? As you can see in the attached logs, it s

Re: H/A colocated replication environment not working as expected

2016-11-29 Thread grishezz
I only saw the option available for shared-storage. Can I somehow turn it on for replicated-colocated topology? -- View this message in context: http://activemq.2283324.n4.nabble.com/H-A-colocated-replication-environment-not-working-as-expected-tp4719539p4719590.html Sent from the ActiveMQ - U

Re: H/A colocated replication environment not working as expected

2016-11-29 Thread grishezz
What would be server2 in the topology I described? What configuration / which actions do I need to take to make the messages stored on server1 (i.e. the backup server colocated with server1) be available for consumption? -- View this message in context: http://activemq.2283324.n4.nabble.com/H-A

Re: H/A colocated replication environment not working as expected

2016-11-29 Thread grishezz
Right. But now I kill server0 (with all 100 messages) before any messages were consumed. My expectation is for these messages to "migrate" to the other live server (server1), so that they could be consumed from there. I am saying "migrate", but really at this moment server0 is already dead, so wh

Re: H/A colocated replication environment not working as expected

2016-11-29 Thread grishezz
In this scenario message load balancing is disabled. -- View this message in context: http://activemq.2283324.n4.nabble.com/H-A-colocated-replication-environment-not-working-as-expected-tp4719539p4719543.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

H/A colocated replication environment not working as expected

2016-11-29 Thread grishezz
Hello, I am trying to set-up the following environment and have ran into difficulties: H/A cluster of 2 servers: server0 & server1 replication=colocated master/slave, and message-load-balancing=OFF. Running the following scenario: 1) start server0 2) start server1 3) start consumer0 (connected