-
1. Re: Using a TCPGOSSIP server
belaban Feb 28, 2006 8:34 AM (in response to soeren)Okay, first start the GossipRouter on localhost and port 12001. Then use the tunnel.xml config from the JGroups source distro (below).
It uses PING, but you can also use TCPGOSSIP instead. If you start multiple GossipRouters, simply list all of them (for lookup) in TCPGOSSIP.
<TUNNEL router_port="12001" router_host="localhost"/>
<PING timeout="3000" gossip_refresh="10000" num_initial_members="3" gossip_host="localhost" gossip_port="12001"/>
<MERGE2 max_interval="10000" min_interval="5000"/>
<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
<pbcast.NAKACK gc_lag="100" retransmit_timeout="600,1200,2400,4800"/>
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="20000" down_thread="false" max_bytes="0" up_thread="false"/>
<pbcast.GMS print_local_addr="true" join_timeout="5000" join_retry_timeout="2000" shun="true"/>