Rafal Kedziorski wrote:
hi,
we have some problems with clustering. Our buyed clustering docs, can't help us. We are working with JBoss 3.2.2 and Jetty 4.2.11. We are testing on Windows XP. JGroups is using TCP for sending messages.
We have two nodes. If we start our second node after the first is deployed, than this is sometimes successfully. We have no idea why this happens. This is our configuration:
<attribute name="PartitionConfig">
<Config>
<TCP start_port="7800" />
<TCPPING initial_hosts="prog-01[7800],prog-02[7800]"
port_range="5" timeout="3000" num_initial_members="2"
up_thread="true" down_thread="true" />
<MERGE2 min_interval="5000" max_interval="10000" />
<FD shun="true" up_thread="true" down_thread="true"
timeout="2500" max_tries="5" />
<VERIFY_SUSPECT timeout="3000" num_msgs="3"
up_thread="true" down_thread="true" />
<pbcast.NAKACK gc_lag="50" retransmit_timeout="300,600,1200,2400,4800"
up_thread="true" down_thread="true" />
<pbcast.STABLE desired_avg_gossip="20000"
up_thread="true" down_thread="true" />
<UNICAST timeout="5000" window_size="100" min_threshold="10"
down_thread="true" />
<FRAG frag_size="8192"
down_thread="true" up_thread="true" />
<pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
shun="true" print_local_addr="true" />
<pbcast.STATE_TRANSFER up_thread="true" down_thread="true" />
</Config>
</attribute>
</mbean>
What means initial_hosts in TCPPING tag? Whould there be all hosts in cluster (included myself)?
You can (but don't need to) include yourself. initial_hosts is used to lookup the members when a new node joins. You may want to used bind_addr in TCP if you have multi-homed boxes. Other than that I didn't understand what your problem was ... ?
-- Bela Ban http://www.jgroups.org Cell: (408) 316-4459
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
