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 -

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

2016-11-29 Thread Justin Bertram
Sorry for the confusion. The option is only available for shared-storage. The fail-over semantics for replication don't use that parameter. Carry on. Justin - Original Message - From: "grishezz" To: users@activemq.apache.org Sent: Tuesday, November 29, 2016

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

2016-11-29 Thread andytaylor
you need to make sure that a backup is created colocated with server1 and that it scales down. On 29 November 2016 at 22:09, Justin Bertram-2 [via ActiveMQ] < ml-node+s2283324n471959...@n4.nabble.com> wrote: > Sorry for the confusion. The option is only > available for shared-storage. The

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:

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

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

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
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

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

2016-11-29 Thread Justin Bertram
One more quick point... Stopping a server gracefully (e.g. using CTRL-C) will not trigger fail-over unless is true. In general I recommend using a method like 'kill -9 ' to test fail-over. Justin - Original Message - From: "andytaylor" To: