[ 
https://issues.apache.org/jira/browse/ARTEMIS-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176674#comment-16176674
 ] 

Boris Godunov commented on ARTEMIS-1427:
----------------------------------------

i tried to post to Active MQ user group, but my attempts failed. This the 
problem that I tried to post:
I have to restart my 2 broker cluster on a daily basis due to the following 
sequence of events:
-----------------------------------------------------------------------------------------------
master
04:51:14,501    AMQ212037: Connection failure has been detected: AMQ119014: Did 
not receive data from /10.202.147.99:58739 within the 60,000ms connection TTL. 
The connection will now be closed. [code=CONNECTION_TIMEDOUT]
04:51:14,510    AMQ222092: Connection to the backup node failed, removing 
replication now: 
ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT 
message=AMQ119014: Did not receive data from /10.202.147.99:58739 within the 
60,000ms connection TTL. The connection will now be closed.]
04:51:24,517    AMQ212041: Timed out waiting for netty channel to close
04:51:24,517    AMQ212037: Connection failure has been detected: AMQ119014: Did 
not receive data from /10.202.147.99:58738 within the 60,000ms connection TTL. 
The connection will now be closed. [code=CONNECTION_TIMEDOUT]
-----------------------------------------------------------------------------------------------
slave
04:51:42,306    
AMQ212037: Connection failure has been detected: AMQ119011: Did not receive 
data from server for 
org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection@1c54a4bc[local=
 /10.202.147.99:58738, remote=nj09mhf0681/10.202.147.99:41410] 
[code=CONNECTION_TIMEDOUT]
04:51:42,316    
AMQ212037: Connection failure has been detected: AMQ119011: Did not receive 
data from server for 
org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection@65ace922[local=
 /10.202.147.99:58739, remote=nj09mhf0681/10.202.147.99:41410] 
[code=CONNECTION_TIMEDOUT]
04:51:46,955    AMQ221037: 
ActiveMQServerImpl::serverUUID=7ffa29a0-7c48-11e7-9784-e83935127b09 to become 
'live'
04:51:59,360    AMQ221014: 40% loaded
04:52:01,854    AMQ221014: 81% loaded
04:52:03,037    AMQ222028: Could not find page cache for page PagePositionImpl 
[pageNr=8, messageNr=-1, recordID=8662153341] removing it from the journal
04:52:03,051    AMQ222028: Could not find page cache for page PagePositionImpl 
[pageNr=13, messageNr=-1, recordID=8662204094] removing it from the journal
04:52:03,208    AMQ221003: Deploying queue jms.queue.DLQ
04:52:03,281    AMQ221003: Deploying queue jms.queue.ExpiryQueue
04:52:03,827    AMQ212034: There are more than one servers on the network 
broadcasting the same node id.
-----------------------------------------------------------------------------------------------
master
04:52:03,827    AMQ212034: There are more than one servers on the network 
broadcasting the same node id.
-----------------------------------------------------------------------------------------------
slave
04:52:03,910    AMQ221007: Server is now live
04:52:04,003    AMQ221020: Started Acceptor at nj09mhf0681:41411 for protocols 
[CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
04:52:11,949    AMQ212034: There are more than one servers on the network 
broadcasting the same node id.
-----------------------------------------------------------------------------------------------
I understand that at some point master (now live) loses slave and closes 
connection to it.
Slave (backup now) in turn detects that master is not present and becomes live. 
Now both brokers are live and never recover to normal until restart.
How can I avois this? Will appreciate any help.
Thank you.

> Warning messages in broker logs upon restarting "master" broker.
> ----------------------------------------------------------------
>
>                 Key: ARTEMIS-1427
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1427
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.5.3
>         Environment: Linux 2.6.18-419.el5 #1 SMP Wed Feb 22 22:40:57 EST 2017 
> x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Boris Godunov
>
> I have 2 brokers, one is master and another one is slave. When i stop master, 
> slave becomes live and everything looks fine. But when i start master back 
> up, the logs of both brokers are flooded with the following warning messages:
> 13:54:24,106 WARN  [org.apache.activemq.artemis.core.client] AMQ212034: There 
> are more than one servers on the network broadcasting the same node id. You 
> will see this message exactly once (per node) if a node is restarted, in 
> which case it can be safely ignored. But if it is logged continuousl
> y it means you really do have more than one node on the same network active 
> concurrently with the same node id. This could occur if you have a backup 
> node active at the same time as its live node. 
> nodeID=ef2c7a0d-9e24-11e7-8dd6-e83935127c4c



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to