infinispan5.2.1 distribution mode not working
vp123 Jul 15, 2013 1:28 AMI have a 2 node infinispan cluster setup in distribution mode; however data access across all nodes is not working. I did a HTTP POST data to one of the nodes and i expect that (K,V) to be available when i query (HTTP GET) from other node in the cluster.
+ Infinispan version 5.2.1.FINAL
+ RHEL 5.8 x64
+ Here is the cache configuration:
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:5.2 http://www.infinispan.org/schemas/infinispan-config-5.2.xsd"
xmlns="urn:infinispan:config:5.2">
<global>
<transport>
<properties>
<property name="configurationFile" value="jgroups-tcp.xml"/>
</properties>
</transport>
</global>
<default>
<!-- Configure a synchronous replication cache
<clustering mode="replication"> <sync/> </clustering>
-->
<!-- Configure a synchronous distribution cache -->
<clustering mode="distribution">
<sync/>
<hash numOwners="2"/>
</clustering>
</default>
<namedCache name="CONTEXT">
<loaders> </loaders>
</namedCache>
</infinispan>
+ jgroups-tcp.xml
*snip*
<MPING bind_addr="${jgroups.bind_addr:10.x.y.z}" break_on_coord_rsp="true"
mcast_addr="${jgroups.mping.mcast_addr:224.0.0.1}"
mcast_port="${jgroups.mping.mcast_port:43366}"
ip_ttl="${jgroups.udp.ip_ttl:2}"
num_initial_members="2" timeout="2000"/>
*snip*
Troubleshooting done so far:
org.jgroups.tests.McastReceiverTest and org.jgroups.tests.McastSenderTest are working as documented, this indicates that UDP multicast node discovery is working fine.
How to get data grid functionality working? How to enable debug logging ?