according hazelcast article http://docs.hazelcast.org/docs/2.4/manual/html/ch12s02.html added hostname of pc in hazelcast.xml generated in servicemix_home/etc below.
<tcp-ip enabled="true"> <hostname>fablrdt061:5702</hostname> <interface>127.0.0.1</interface> </tcp-ip>
if start servicemix, not able connect hostname specified because of following connection refusal. log message in other pc below
[172.16.25.64]:5702 [cellar] 5702 accepting socket connection /172.16.25.71:60770 [172.16.25.64]:5702 [cellar] 5702 accepted socket connection /172.16.25.71:60770 [172.16.25.64]:5702 [cellar] wrong bind request address[127.0.0.1]:5701! node not requested endpoint: address[fablrdt061]:5702 [172.16.25.64]:5702 [cellar] connection [/172.16.25.71:60770] lost. reason: explicit close
what reason?? can me out??
hazelcast configuration file using discovery of nodes can configured.
eventhough tutorials explain following points, according hands on did, understand that
multicast auto discovery of cellar nodes in same sytem.
if cellar nodes present in different systems on network, use tcp-ip configuration.
for multicasting dont need change until writing different multicast groups.
for discovering nodes using tcp-ip need specify ipaddresses (as explained many tutorials not how.
under
tcp-ip
tag create tag calledhostname
in hostname of other system or ipaddress should mentioned. ininterface
tag, specify current system's ipaddress.similarly in other nodes same should done.
Comments
Post a Comment