Return-Path: X-Original-To: apmail-karaf-user-archive@minotaur.apache.org Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B061B10E05 for ; Wed, 8 Jan 2014 02:52:36 +0000 (UTC) Received: (qmail 83228 invoked by uid 500); 8 Jan 2014 02:52:36 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 83061 invoked by uid 500); 8 Jan 2014 02:52:35 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 83053 invoked by uid 99); 8 Jan 2014 02:52:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 02:52:35 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of yifeng.guo@citi.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 02:52:31 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1W0jFZ-000789-U0 for user@karaf.apache.org; Tue, 07 Jan 2014 18:52:09 -0800 Date: Tue, 7 Jan 2014 18:52:09 -0800 (PST) From: simafengyun1984 To: user@karaf.apache.org Message-ID: <1389149529919-4030928.post@n3.nabble.com> In-Reply-To: <52CC114D.8030402@nanthrax.net> References: <1389095593445-4030916.post@n3.nabble.com> <1389102207260-4030920.post@n3.nabble.com> <52CC114D.8030402@nanthrax.net> Subject: Re: How to use karaf cluster[Urgent] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org yes, I meant using karaf cellar to construct cluster. Which benefit it can provide because I didn't find the benefit from the cluster. Please see my below anlaysis recently I tried to construct a cellar cluster in my local. I had 3 nodes in the cluster. 3 kinds of bundles ,as below * 1. third-part bundles(ex: spring-dm bundle) deployed in the node1 2. my customized camel component bundles deployed in the node2 3. my application bundles deployed in the node3* when the 3 node joined in the same group, it seems all the bundles in one node will be copy to other nodes and each of the bundles will have 3 instances in 3 nodes. in this case, the third-part bundles and custmized camel component bundles are fine. but for my application bundle which is used to listening to the JMS topic and process jms message. Apparently each JMS message will be process in 3 times. *Do you know any solution of keepping only one instance for a bundle in cluster in the same time?* another question: I run command " start bundleID" in one node. and the bundle will be started in other nodes. *So what's the difference between command "start" and "cluster:bundle-start"?* -- View this message in context: http://karaf.922171.n3.nabble.com/How-to-use-karaf-cluster-Urgent-tp4030916p4030928.html Sent from the Karaf - User mailing list archive at Nabble.com.