Re: [javagroups-users] Config file for total ordering
Brought to you by:
belaban
From: Bela B. <be...@ya...> - 2006-10-31 06:20:28
|
down and up threads should be false, plus you're missing VIEW_SYNC and FD_SOCK. Why don't you take sequencer.xml, remove UNICAST and replace UDP:PING with TCP:TCPPING ? Neil Aggarwal wrote: > Bela: > > OK, I changed my config file to use sequencer. Here is > my config file: > > <config> > <TCP start_port="7800" /> > <TCPPING > initial_hosts="localhost[7800],localhost[8800]" > port_range="1" timeout="3000" > num_initial_members="2" > up_thread="true" down_thread="true" /> > <MERGE2 min_interval="5000" max_interval="20000" /> > <FD max_tries="4" timeout="15000" /> > <VERIFY_SUSPECT timeout="1500" > down_thread="false" up_thread="false" /> > <pbcast.NAKACK down_thread="true" up_thread="true" > gc_lag="100" retransmit_timeout="3000" /> > <pbcast.STABLE desired_avg_gossip="20000" > down_thread="false" up_thread="false" /> > <pbcast.GMS join_timeout="5000" > join_retry_timeout="2000" shun="false" > print_local_addr="false" down_thread="true" > up_thread="true" /> > <SEQUENCER down_thread="false" up_thread="false" /> > </config> > > Does this look right? Did I miss anything? > > Thanks, > Neil > > > -- > Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com > FREE! Eliminate junk email and reclaim your inbox. > Visit http://www.spammilter.com for details. > > >> -----Original Message----- >> From: jav...@li... >> [mailto:jav...@li...] On >> Behalf Of Bela Ban >> Sent: Thursday, October 26, 2006 2:46 AM >> To: Neil Aggarwal >> Cc: JGroups User List >> Subject: Re: [javagroups-users] Config file for total ordering >> >> TOTAL_TOKEN has not been supported for some time now, I suggest use >> sequencer.xml if you want total order. >> >> We will re-implement total token based on token passing some >> time in the >> future (http://jira.jboss.com/jira/browse/JGRP-6). >> >> Neil Aggarwal wrote: >> >>> Hello: >>> >>> I am just getting started with JGroups. >>> >>> I am using it in the context of the Sequoia project >>> at http://sequoia.continuent.org >>> >>> According to the users mailing list, since I want >>> to use JGroups over TCP connections, they tell me >>> I have to use "total ordering" for the group >>> communication. >>> >>> I am going to have two members. One on port >>> 7800 and the other on port 8800. >>> >>> Looking at the docs, here is what I pieced together: >>> >>> TCP(start_port=7800): >>> TCPPING( >>> initial_hosts=localhost[7800],localhost[8800]; >>> port_range=1;timeout=3000; >>> num_initial_members=2; >>> up_thread=true;down_thread=true): >>> VERIFY_SUSPECT(timeout=1500; >>> down_thread=false;up_thread=false): >>> TOTAL_TOKEN(unblock_sending=10;block_sending=50): >>> pbcast.STABLE(desired_avg_gossip=20000; >>> down_thread=false;up_thread=false): >>> pbcast.NAKACK(down_thread=true;up_thread=true; >>> gc_lag=100;retransmit_timeout=3000): >>> pbcast.GMS(join_timeout=5000; >>> join_retry_timeout=2000;shun=false; >>> print_local_addr=false;down_thread=true; >>> up_thread=true) >>> >>> Is this config correct? Am I missing anything? >>> >>> Thanks, >>> Neil >>> >>> -- >>> Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com >>> FREE! Eliminate junk email and reclaim your inbox. >>> Visit http://www.spammilter.com for details. >>> >>> >>> >>> >> -------------------------------------------------------------- >> ----------- >> >>> Using Tomcat but need to do more? Need to support web >>> >> services, security? >> >>> Get stuff done quickly with pre-integrated technology to >>> >> make your job easier >> >>> Download IBM WebSphere Application Server v.1.0.1 based on >>> >> Apache Geronimo >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> > dat=121642 > >>> _______________________________________________ >>> javagroups-users mailing list >>> jav...@li... >>> https://lists.sourceforge.net/lists/listinfo/javagroups-users >>> >>> >>> >> -- >> Bela Ban >> Lead JGroups / Manager JBoss Clustering Group >> JBoss - a division of Red Hat >> >> >> -------------------------------------------------------------- >> ----------- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> > dat=121642 > >> _______________________________________________ >> javagroups-users mailing list >> jav...@li... >> https://lists.sourceforge.net/lists/listinfo/javagroups-users >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > javagroups-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javagroups-users > > -- Bela Ban Lead JGroups / Manager JBoss Clustering Group JBoss - a division of Red Hat |