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

2016-12-01 Thread andytaylor
Can you make sue your messages are persistent. If they are try turning scaledown off and see if there are any messages in the journal when the back up comes live. If you are still having problems send me you're configuration and I will have a look tomorrow Andy On 1 December 2016 at 17:07, grishe

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 andytaylor
couple of questions 1. do you see logs in each broker saying that a backup server has been started and announced? 2. when you kill the server1 do you see logs in server2 saying that failure has been detected? On 1 December 2016 at 14:51, grishezz [via ActiveMQ] < ml-node+s2283324n4719668...@n4.

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 andytaylor
take a look at https://github.com/apache/activemq-artemis/tree/master/examples/features/ha/colocated-failover-scale-down On 30 November 2016 at 08:53, grishezz [via ActiveMQ] < ml-node+s2283324n4719600...@n4.nabble.com> wrote: > Well, I see data files are indeed created under the server1 colocate

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 andytaylor
dden email] <http:///user/SendEmail.jtp?type=node&node=4719591&i=1> > Sent: Tuesday, November 29, 2016 4:01:55 PM > Subject: Re: H/A colocated replication environment not working as expected > > I only saw the option available for shared-storage. > Can I somehow turn it on f

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

2016-11-29 Thread Justin Bertram
PM Subject: Re: H/A colocated replication environment not working as expected 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-

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 Justin Bertram
he.org Sent: Tuesday, November 29, 2016 8:47:36 AM Subject: Re: H/A colocated replication environment not working as expected server0 is backed up by the backup server that is colocated with server1, not server1 itself. Server2 can either be configured to start as an actual live or scaledown to the

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

2016-11-29 Thread andytaylor
server0 is backed up by the backup server that is colocated with server1, not server1 itself. Server2 can either be configured to start as an actual live or scaledown to the live server, if the latter is configured you should see the message in server1, if not they will be in the backup started on

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 andytaylor
Then I would expect to see 100 messages at the broker you sent to and none on the other live broker On 29 November 2016 at 12:34, grishezz [via ActiveMQ] < ml-node+s2283324n4719543...@n4.nabble.com> wrote: > In this scenario message load balancing is disabled. > > -- >

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.

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

2016-11-29 Thread andytaylor
Im not 100% sure of your topology, however leaving backups out of it I would expect to see 50 messages on server0 and 50 on server1 if you have load balancing enabled. On 29 November 2016 at 09:26, grishezz [via ActiveMQ] < ml-node+s2283324n4719539...@n4.nabble.com> wrote: > Hello, > > I am tryin