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 44A48200CF0 for ; Thu, 7 Sep 2017 14:51:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 438881609B8; Thu, 7 Sep 2017 12:51:04 +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 6321F1609A7 for ; Thu, 7 Sep 2017 14:51:03 +0200 (CEST) Received: (qmail 68123 invoked by uid 500); 7 Sep 2017 12:50:56 -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 68112 invoked by uid 99); 7 Sep 2017 12:50:56 -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; Thu, 07 Sep 2017 12:50:56 +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 C0FE6C48F1 for ; Thu, 7 Sep 2017 12:50:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.796 X-Spam-Level: *** X-Spam-Status: No, score=3.796 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=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, URIBL_BLOCKED=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 oCaO-75A5ExZ for ; Thu, 7 Sep 2017 12:50:49 +0000 (UTC) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7FC345FC99 for ; Thu, 7 Sep 2017 12:50:49 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id x190so42202834oix.3 for ; Thu, 07 Sep 2017 05:50:49 -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=Fv7GiGA1JPPqbr8NkzsgMySRcNtbQz3P1vkj2ljCzKY=; b=PagUn/BuaWW6vRsTKWivCGfFmwHRZWEuKIImQPvMcaZ4tCKg/M6oWBhyqsC/9PWCWP CeKmL2xlU3VqX7/AJ5f7FU1H7n1jlM4w/XoIGbVJyElGLIx6MHbvt5WyvK0ivdiPqAiC ax62PXI92Wa95lIiE17evwe7coEJEUg3vfbb3FFYEd++BY9BAWwG3T9lrZn0sYfJAvHP 1OrdRvh9GV99qqXSMiZY5G1fvm0virjndEhTdRGOSoLXfLfw5QXIiETpo+5skxAAQsmv 6tN8J+HhFZ+7zbEjHZWXuzMWf8eX5TebLb6sz6OOJ58fZW/Wcg5ZFMrtbKqeMNDXPYLE IAzQ== X-Gm-Message-State: AHPjjUhG96VvmmyjeNIdIvewCfkDz2iVDZ1j/OIJ+S8h09jsOsb9F4C3 OSbq+O+dzan4pRRkOvJ2pGzRFWvK4vdcTAE= X-Google-Smtp-Source: ADKCNb6p6oUS7xMJFjBxEtfI67fvcZimexFhJLmS0GvpTIU4eTTJUtygtYTnG7zJIdbpZQYWNr0BYFNYVmI0rp8+KTQ= X-Received: by 10.202.177.4 with SMTP id a4mr2946103oif.267.1504788648694; Thu, 07 Sep 2017 05:50:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.85.214 with HTTP; Thu, 7 Sep 2017 05:50:48 -0700 (PDT) In-Reply-To: References: <1504517355395-0.post@n4.nabble.com> From: Justin Bertram Date: Thu, 7 Sep 2017 07:50:48 -0500 Message-ID: Subject: Re: Artemis HA cluster with replication and two slaves results in broken/none backup To: users@activemq.apache.org Content-Type: multipart/alternative; boundary="001a113cd3fcde2664055898e8bf" archived-at: Thu, 07 Sep 2017 12:51:04 -0000 --001a113cd3fcde2664055898e8bf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I believe this has already been filed in JIRA [1]. Justin [1] https://issues.apache.org/jira/browse/ARTEMIS-1285 On Wed, Sep 6, 2017 at 10:43 PM, Clebert Suconic wrote: > I am not so sure multiple backup would work with shared nothing. > I have seen that working with shared storage. > > We could work with you on that. I'm not sure what would take thought. > > On Mon, Sep 4, 2017 at 5:29 AM martk <123martin@web.de> wrote: > > > Hi everyone, > > > > I am using Artemis 2.2.0 and HA with replication and three brokers: one > > master and two slaves (the configuration extracts, named > > master/slave1/slave2, are below). > > > > Running the following scenario I am not sure if it is a bug or works as > > designed: > > > > 1) start master > > 2) start slave1 (logging =E2=80=9C=E2=80=A6AMQ221031: backup announced= =E2=80=9D) > > 3) start slave2 (logging =E2=80=9C=E2=80=A6waiting live to fail before = it gets active=E2=80=9D) > > 4) kill slave1 > > > > The master recognize the failure and shows =E2=80=9CAMQ222092: Connecti= on to the > > backup node failed, removing replication now=E2=80=9D in his log. I wou= ld assume > > slave2 to become automatically the backup of the master but it does > > nothing. > > > > To manually solve this behavior I have tested two alternatives (without > > restarting the master or having a downtime): > > A) restart slave2 (yes, not slave1) and then it becomes the backup of t= he > > master > > B) restart slave1 and everything is as before the failure > > > > Regarding A the current behavior seems to be a bug. Or is there any > > configuration to set? > > > > > > > > *Extract of master-config* > > > > > > > > > > true > > > > > > > > > > > > tcp://192.168.0.10:61616 > > > > name=3D"netty-backup-connector-slave1">tcp://192.168.0.11:61616 > > > > name=3D"netty-backup-connector-slave2">tcp://192.168.0.12:61616 > > > > > > > > > tcp://0.0.0.0:61616 > > > > > > > > > > netty-connector > > > > netty-backup-connector-slave1 > > netty-backup-connector-slave2 > > > > > > > > > > > > *Extract of slave1-config* > > > > > > > > > > false > > > > > > > > > > > > > name=3D"netty-live-connector">tcp://192.168.0.10:61616 > > tcp://192.168.0.11:61616 > > > > name=3D"netty-backup-connector-slave2">tcp://192.168.0.12:61616 > > > > > > > > > tcp://0.0.0.0:61616 > > > > > > > > > > netty-connector > > > > netty-live-connector > > netty-backup-connector-slave2 > > > > > > > > > > > > *Extract of slave2-config* > > > > > > > > > > false > > > > > > > > > > > > > name=3D"netty-live-connector">tcp://192.168.0.10:61616 > > > name=3D"netty-backup-connector-slave1">tcp://192.168.0.11:61616 > > > tcp://192.168.0.12:61616 > > > > > > > > > tcp://0.0.0.0:61616 > > > > > > > > > > netty-connector > > > > netty-live-connector > > netty-backup-connector-slave1 > > > > > > > > > > > > > > > > > > -- > > Sent from: > > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html > > > -- > Clebert Suconic > --001a113cd3fcde2664055898e8bf--