Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B72DC2A4 for ; Mon, 25 Jun 2012 10:37:05 +0000 (UTC) Received: (qmail 20892 invoked by uid 500); 25 Jun 2012 10:37:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 20742 invoked by uid 500); 25 Jun 2012 10:37:04 -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 20704 invoked by uid 99); 25 Jun 2012 10:37:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 10:37:02 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 10:36:56 +0000 Received: by wibhm6 with SMTP id hm6so1805293wib.14 for ; Mon, 25 Jun 2012 03:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=HUshV1Br+jtz+MbdC38b0vmBiCtEyIC9sT+c5w57tno=; b=Gx184ZuQ5j7KTk0DOP6FDHNBHyCPliX3B8BEupqM8A9nzlBucE95kZa6ynvA0kOg9J 4rcie4hHuPtUFu2Sns2d1EYa/03/4+og5wx2ch/NaIG7scoqYlqvxEr3EJDbB5sf6Hz3 nUiJ9j5HxNddO2dnuVTvi7QOM+ubQQ5uSbJNSWnbmD8vtR4HVdp8yVaasOGfPHRBhBfx +KFMBWeIyvXq7ngEZayFrof+sgxhkQT/Kf/zL3FxmYf1825vEQOB6bc6RIerM4/6uht7 k1g6ZkuHMEdnwT6QQK46i37o1QwPhVBXfPtrhgrvIygJjKzYB3Kc/qwE0YB7vVSJdVWt QjXw== MIME-Version: 1.0 Received: by 10.216.227.214 with SMTP id d64mr5892027weq.93.1340620595304; Mon, 25 Jun 2012 03:36:35 -0700 (PDT) Received: by 10.194.34.104 with HTTP; Mon, 25 Jun 2012 03:36:35 -0700 (PDT) In-Reply-To: <1340379143199-4653491.post@n4.nabble.com> References: <1340363892615-4653478.post@n4.nabble.com> <1340379143199-4653491.post@n4.nabble.com> Date: Mon, 25 Jun 2012 11:36:35 +0100 Message-ID: Subject: Re: Adding nodes to Cluster without restarting From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Are you using 5.6, this looks a bit like https://issues.apache.org/jira/browse/AMQ-3706 The test case attached to that jira may provide a good starting point for a junit test case for your scenario, that could help reproduce http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org= /apache/activemq/transport/failover/FailoverComplexClusterTest.java?view=3D= markup On 22 June 2012 16:32, Pippo wrote: > Okay, > > So I was able to achieve that by configuring the third broker like this: > > / > =A0 =A0 =A0 =A0uri=3D"static:(tcp://amq1:61616,tcp://amq2:61616,tcp://amq3:61= 616)" > =A0 =A0 =A0decreaseNetworkConsumerPriority=3D"true" > =A0 =A0 =A0networkTTL=3D"1" > =A0 =A0 =A0duplex=3D"true" />* > > : > > =A0 =A0 =A0 =A0uri=3D"tcp://0.0.0.0:61616" > =A0 =A0 =A0updateClusterClients=3D"true" > =A0 =A0 =A0rebalanceClusterClients=3D"true" > =A0 =A0 =A0updateClusterClientsOnRemove=3D"true" /> > / > > When I bring up the third broker, the clients rebalance themselves among = the > several nodes. > Now, I want to update the configuration of the first two brokers. So I ta= ke > down one of them and there are times when I see that some of the clients > reports on a transport error and doesn't reconnect to the remaining broke= rs. > > Does this sound like a bug in ActiveMQ? > > Thanks. > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Addin= g-nodes-to-Cluster-without-restarting-tp4653478p4653491.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. --=20 http://fusesource.com http://blog.garytully.com