You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by grishezz <gr...@gmail.com> on 2016/12/01 14:51:57 UTC
Re: H/A colocated replication environment not working as expected
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 or 1.5?
I would love to see a working example of the scenario I described above in
an integration test for example...
--
View this message in context: http://activemq.2283324.n4.nabble.com/H-A-colocated-replication-environment-not-working-as-expected-tp4719539p4719668.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: H/A colocated replication environment not working as expected
Posted by andytaylor <an...@gmail.com>.
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, grishezz [via ActiveMQ] <
ml-node+s2283324n4719679h29@n4.nabble.com> wrote:
> 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, waiting
> live to fail before it gets active
> 19:02:06,920 INFO [org.apache.activemq.artemis.core.server] AMQ221024:
> Backup server ActiveMQServerImpl::serverUUID=63157c62-b58c-11e6-ace0-b8a720524153
> is synchronized with live-server.
> 19:02:06,929 INFO [org.apache.activemq.artemis.core.server] AMQ221031:
> backup announced
>
> server1:
> =====
> 19:02:07,076 INFO [org.apache.activemq.artemis.core.server] AMQ221109:
> Apache ActiveMQ Artemis Backup Server version 1.5.0 [null] started, waiting
> live to fail before it gets active
> 19:02:08,015 INFO [org.apache.activemq.artemis.core.server] AMQ221024:
> Backup server ActiveMQServerImpl::serverUUID=60b03b78-b58c-11e6-937d-b8a720524153
> is synchronized with live-server.
> 19:02:08,022 INFO [org.apache.activemq.artemis.core.server] AMQ221031:
> backup announced
> ...
> 19:04:51,883 WARN [org.apache.activemq.artemis.core.client] AMQ212037:
> Connection failure has been detected: AMQ119015: The connection was
> disconnected because of server shutdown [code=DISCONNECTED]
> 19:04:51,885 WARN [org.apache.activemq.artemis.core.server] AMQ222095:
> Connection failed with failedOver=false
> 19:04:51,954 WARN [org.apache.activemq.artemis.core.server] AMQ222095:
> Connection failed with failedOver=false
> 19:04:51,961 INFO [org.apache.activemq.artemis.core.server] AMQ221029:
> stopped bridge sf.my-cluster.60b03b78-b58c-11e6-937d-b8a720524153
> 19:04:51,982 INFO [org.apache.activemq.artemis.core.server] AMQ221037:
> ActiveMQServerImpl::serverUUID=60b03b78-b58c-11e6-937d-b8a720524153 to
> become 'live'
> 19:04:51,983 WARN [org.apache.activemq.artemis.core.client] AMQ212037:
> Connection failure has been detected: AMQ119015: The connection was
> disconnected because of server shutdown [code=DISCONNECTED]
> ...
> 19:04:52,127 INFO [org.apache.activemq.artemis.core.server] Scaled down
> 0 messages total.
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/H-A-colocated-
> replication-environment-not-working-as-expected-tp4719539p4719679.html
> To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805h35@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341805&code=YW5keS50YXlsczY3QGdtYWlsLmNvbXwyMzQxODA1fC05MDE1NDk1MzM=>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://activemq.2283324.n4.nabble.com/H-A-colocated-replication-environment-not-working-as-expected-tp4719539p4719683.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: H/A colocated replication environment not working as expected
Posted by grishezz <gr...@gmail.com>.
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, waiting
live to fail before it gets active
19:02:06,920 INFO [org.apache.activemq.artemis.core.server] AMQ221024:
Backup server
ActiveMQServerImpl::serverUUID=63157c62-b58c-11e6-ace0-b8a720524153 is
synchronized with live-server.
19:02:06,929 INFO [org.apache.activemq.artemis.core.server] AMQ221031:
backup announced
server1:
=====
19:02:07,076 INFO [org.apache.activemq.artemis.core.server] AMQ221109:
Apache ActiveMQ Artemis Backup Server version 1.5.0 [null] started, waiting
live to fail before it gets active
19:02:08,015 INFO [org.apache.activemq.artemis.core.server] AMQ221024:
Backup server
ActiveMQServerImpl::serverUUID=60b03b78-b58c-11e6-937d-b8a720524153 is
synchronized with live-server.
19:02:08,022 INFO [org.apache.activemq.artemis.core.server] AMQ221031:
backup announced
...
19:04:51,883 WARN [org.apache.activemq.artemis.core.client] AMQ212037:
Connection failure has been detected: AMQ119015: The connection was
disconnected because of server shutdown [code=DISCONNECTED]
19:04:51,885 WARN [org.apache.activemq.artemis.core.server] AMQ222095:
Connection failed with failedOver=false
19:04:51,954 WARN [org.apache.activemq.artemis.core.server] AMQ222095:
Connection failed with failedOver=false
19:04:51,961 INFO [org.apache.activemq.artemis.core.server] AMQ221029:
stopped bridge sf.my-cluster.60b03b78-b58c-11e6-937d-b8a720524153
19:04:51,982 INFO [org.apache.activemq.artemis.core.server] AMQ221037:
ActiveMQServerImpl::serverUUID=60b03b78-b58c-11e6-937d-b8a720524153 to
become 'live'
19:04:51,983 WARN [org.apache.activemq.artemis.core.client] AMQ212037:
Connection failure has been detected: AMQ119015: The connection was
disconnected because of server shutdown [code=DISCONNECTED]
...
19:04:52,127 INFO [org.apache.activemq.artemis.core.server] Scaled down 0
messages total.
--
View this message in context: http://activemq.2283324.n4.nabble.com/H-A-colocated-replication-environment-not-working-as-expected-tp4719539p4719679.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: H/A colocated replication environment not working as expected
Posted by andytaylor <an...@gmail.com>.
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+s2283324n4719668h88@n4.nabble.com> wrote:
> 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 or
> 1.5?
>
> I would love to see a working example of the scenario I described above in
> an integration test for example...
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/H-A-colocated-
> replication-environment-not-working-as-expected-tp4719539p4719668.html
> To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805h35@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341805&code=YW5keS50YXlsczY3QGdtYWlsLmNvbXwyMzQxODA1fC05MDE1NDk1MzM=>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://activemq.2283324.n4.nabble.com/H-A-colocated-replication-environment-not-working-as-expected-tp4719539p4719674.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.