-
1. Re: Infinispan Jgroups different machines same network
galder.zamarreno Aug 20, 2012 8:23 AM (in response to kowshikns)The jgroups-tcp.xml that we ship uses multicast to discover nodes, so you need to make sure multicat communication works.
Things to try are suggested in http://www.jgroups.org/manual/html/ch02.html (from 2.8 onwards)
-
2. Re: Infinispan Jgroups different machines same network
galder.zamarreno Aug 20, 2012 8:24 AM (in response to galder.zamarreno)You can alternatively modify jgroups-tcp.xml to use TCPPING and hardcode the addresses.
-
3. Re: Infinispan Jgroups different machines same network
kowshikns Aug 20, 2012 8:27 AM (in response to galder.zamarreno)Hi Glader,
Thanks for the response.
If I am using TCPPING should this look something similar assuming my two hosts are 10.0.50.31 and 10.0.50.32
<TCPPING timeout="3000"
initial_hosts="${jgroups.tcpping.initial_hosts:10.0.50.31[7800],10.0.50.31[7801],10.0.50.32[7800],10.0.50.32[7800]}"
port_range="1"
num_initial_members="3"/>Best Regards,
Kowshik NS
-
4. Re: Infinispan Jgroups different machines same network
galder.zamarreno Aug 21, 2012 8:04 AM (in response to kowshikns)You really only need:
initial_hosts="${jgroups.tcpping.initial_hosts:10.0.50.31[7800],10.0.50.32[7800]}"
The port range parameter will take care of the rest