Hi Xilai,
after checking in the code, in 2.2.3, the timeout handling is not fully
fixed.
So I think that you raise the timeout.
I advice you:
- to check if you don't have Windows firewall/firewall blocking the
multicast/hazelcast messages
- to switch in static host definition in the
etc/org.apache.karaf.cellar.instance.cfg and etc/hazelcast.xml
I raised:
https://issues.apache.org/jira/browse/KARAF-1194
I will fix this issue for Cellar 2.2.4.
Regards
JB
On 02/10/2012 03:14 AM, XiLai Dai wrote:
Hi, JB,
The Cellar version is 2.2.3.
features:addurl
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.3/xml/features
features:install cellar
I've made nothing change to the cellar configuration files in the etc/, keep
the default value in the etc/ org.apache.karaf.cellar.instance.cfg :
multicastEnabled=true
multicastGroup=224.2.2.3
multicastPort=54327
multicastTimeoutSeconds=2
so the discovery type should be multicast.
I've tested with a system ping (Win 7), the replies is quickly at most about
hundreds milliseconds. But the replies from Cellar ping are constantly about 10
seconds.
Thanks
Xilai
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]]
Sent: Thursday, February 09, 2012 6:25 PM
To: [email protected]
Subject: Re: About cluster:node-ping command in Cellar
Hi Xilai,
Some questions:
- Which Cellar version ?
- Which kind of discover used (static, unicast/multicast) ?
If you do a system ping, what kind of latency do you have ?
I tried on my VM without problem.
Regards
JB
On 02/09/2012 10:52 AM, XiLai Dai wrote:
Hi,
When I try to run cluster:node-ping command with Karaf + Cellar cluster env, it
always give a reply with about 10 seconds delay time if the target node is on
the other machine.
karaf@trun> cluster:node-ping 192.168.2.104:5701
Pinging node 192.168.2.104:5701
PING 1 192.168.2.104:5701 10002ms
PING 2 192.168.2.104:5701 10001ms
PING 3 192.168.2.104:5701 10002ms
PING 4 192.168.2.104:5701 10000ms
Is it Ok or any configuration need to be set? Or it's a known issue. Thanks!
Regards.
Xilai
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com