karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simafengyun1984 <yifeng....@citi.com>
Subject Re: How to use karaf cluster[Urgent]
Date Wed, 08 Jan 2014 02:52:09 GMT
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.

View raw message