karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simafengyun1984 <yifeng....@citi.com>
Subject Please help to fix karaf cluster issue
Date Thu, 09 Jan 2014 07:54:06 GMT
Hi JB, 

I used karaf cellar 2.2.2 to construct my karaf cluster.
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-party 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 the 3 nodes. 
in this case, the third-party 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. 
* Question1: Do you know any solution of keepping only one instance for a 
bundle  in cluster in the same time?*

*Question2:  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"?*
I used cellar to build 2 nodes cluster. 
*

*Question3: I have 2 nodes, one in IP 192.168.1.50, the other in IP
192.169.0.50. But they can't see each other and can't be connected to the
same group.  Apparently the 2 IP are not in the same net segment. does it
caused by the IP which are not in the same net segment.*




--
View this message in context: http://karaf.922171.n3.nabble.com/Please-help-to-fix-karaf-cluster-issue-tp4030950.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Mime
View raw message