Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D09DF200D19 for ; Fri, 6 Oct 2017 19:21:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CD21A1609E1; Fri, 6 Oct 2017 17:21:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1E83D1609D0 for ; Fri, 6 Oct 2017 19:21:22 +0200 (CEST) Received: (qmail 59615 invoked by uid 500); 6 Oct 2017 17:21:22 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 59603 invoked by uid 99); 6 Oct 2017 17:21:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2017 17:21:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0A7E6C4AC2 for ; Fri, 6 Oct 2017 17:21:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.795 X-Spam-Level: ***** X-Spam-Status: No, score=5.795 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0xCjvF572HdX for ; Fri, 6 Oct 2017 17:21:18 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 58C125F1BA for ; Fri, 6 Oct 2017 17:21:18 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id p126so30715607oih.9 for ; Fri, 06 Oct 2017 10:21:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fECKFfpC9tNQtOdlrwOcO4seF/aF8qlUMDx0RBvm4I0=; b=RwN5iYLLniWYULRNERTfxgHV1y6nIilNo8z1oDx7JoY+xqaJgHBtAyZiywHnqH4we2 jxaIUUKhz3QmwH5scqEUPuvjec0zrBRwbt3mjp8Zkwlmn7yEnQjR1fwXAlYDTekuH4vl sAR6ZyeSZFGlt8Ya4UA4otTjBK6Me1UJdv3RC1eaErhGQJRoLP3gX2BC9kG0N41lBNjH 2B3LDM4dad11qj4i6dJnf1jwQRMDSnVwu4k7w3RpiRwSbWY5LunnQaUR4dJ4ExCSk/XA cw3mgwCOSYH6DSyPmHZb/+OUVLsDbY6p2KV77t2ev4XEJ08/ZSIryx/ucTgFKVeLROY/ KgLw== X-Gm-Message-State: AMCzsaW1zUZ4CwgRKyhMm21+1pt+1+4ssIMNqI6tI/cO4JuPOTu8gsRB LRJrCzVlP1VhGSvV8UxAVKy/dOlGaDv/bplOjmj8HneS X-Google-Smtp-Source: AOwi7QARTUA195Asom1fMy8UYDrMvWEPcaOYnvZhMCIKjvc5ws/uPzqHtm/j9GmE9e7YeOYTd/U6ncTCv9qdkuBux4U= X-Received: by 10.157.7.234 with SMTP id 97mr1654527oto.289.1507310472325; Fri, 06 Oct 2017 10:21:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.139.27 with HTTP; Fri, 6 Oct 2017 10:21:11 -0700 (PDT) In-Reply-To: <1507283264168-0.post@n4.nabble.com> References: <1506098972296-0.post@n4.nabble.com> <56343299-B181-4408-BE07-BBEF48C6DA79@me.com> <1507112975601-0.post@n4.nabble.com> <1507283264168-0.post@n4.nabble.com> From: Justin Bertram Date: Fri, 6 Oct 2017 12:21:11 -0500 Message-ID: Subject: Re: 2 broker clusetr, both brokers are live To: users@activemq.apache.org Content-Type: multipart/alternative; boundary="94eb2c034a804510f5055ae41112" archived-at: Fri, 06 Oct 2017 17:21:24 -0000 --94eb2c034a804510f5055ae41112 Content-Type: text/plain; charset="UTF-8" > Please note that master and slave are on the same box. Are they in different VMs on the same physical box? In any event, this sounds like it could be a problem with your environment if 2 broker instances on the same box cannot maintain a network connection with each other. I assume this setup is just for testing as having the live and the backup on the same physical machine (even if they are in separate VMs) wouldn't provide much failure mitigation. Can you confirm? Justin On Fri, Oct 6, 2017 at 4:47 AM, boris_snp wrote: > Clebert, > > I've modified broker.xml for master and slave as follows: > > > >
jms
> artemis > 120000 > -1 > ON_DEMAND > 0 > >
>
> > and split brain still happening: > > Master 23:22:56,401: AMQ222092: Connection to the backup node failed, > removing replication now > Slave 23:24:29,380: AMQ212037: Connection failure has been detected: > AMQ119011: Did not receive data from server for > org.apache.activemq.artemis.core.remoting.impl.netty. > NettyConnection@2eb88966[local= > /11.203.148.100:47219, remote=arthost1/11.203.148.100:41410] > [code=CONNECTION_TIMEDOUT] > 23:25:17,667: AMQ221007: Server is now live > Master 23:25:19,645: AMQ212034: There are more than one servers on the > network broadcasting the same node id. > Slave 23:25:19,660: AMQ212034: There are more than one servers on the > network broadcasting the same node id. > > Please note that master and slave are on the same box. Another point, > documentation states that reconnect-attempts is "The number of times the > system will try to reconnect to a node in the cluster." > Is a backup broker considered as "node"? Does reconnect-attempts apply to > master-slave reconnection attempts? > > Will appreciate any help, > Boris > > > > > -- > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User- > f2341805.html > --94eb2c034a804510f5055ae41112--