-
1. Re: JBoss 3.0.6 Cluster Config with TCP
belaban Feb 26, 2003 2:22 AM (in response to jmacomber)
> I currently have a setup of clustering with JBoss
> 3.0.4 which works but am attempting to update to
> JBoss 3.0.6 for the clustering fixes that are
> included.
I assume you mean JavaGroups 3.0.4, not JBoss, because there is no JBoss 3.0.4 version.
> I do own the documentation but the latest that has
> been released is the 3.0.5 and it appears things have
> changed since then. Specifically the
> cluster-service.xml has changed to have the
> PartitionConfig element now with the xml based stack
> config.
>
> I made an attempt at writing out what I figured the
> XML would look like for the TCP based stack but it is
> not finding the other members. Could someone look at
> the XML here and tell me what I am doing wrong?
1. On which machines are you running the nodes ? They need to be included in the TCPPING.initial_hosts list.
2. I sugest you use tcp.xml (shipped with the JavaGroups distribution) and modify it to conform to the cluster-service.xml format. Aso change the host names/ports.
3. Turn on full tracing to see what's going on.
Bela -
2. Re: JBoss 3.0.6 Cluster Config with TCP
billgates Feb 26, 2003 12:51 PM (in response to jmacomber)Its works for me with this config. I got two instances running on the same box. The other instance has TCP start port as 8800 and localhost[7800] in the initial hosts.
<TCP start_port="7800"/>
<TCPPING initial_hosts="localhost[8800]" port_range="5" timeout="3000"
num_initial_members="3" up_thread="true" down_thread="true"/>
<VERIFY_SUSPECT timeout="1500" up_thread="false" down_thread="false" />
<pbcast.STABLE desired_avg_gossip="20000" up_thread="false" down_thread="false" />
<pbcast.NAKACK gc_lag="100" retransmit_timeout="3000" up_thread="true" down_thread="true" />
<pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="false" print_local_addr="false" down_thread="true" up_thread="true" />
Hope it helps -
3. Re: JBoss 3.0.6 Cluster Config with TCP
belaban Feb 27, 2003 2:15 PM (in response to jmacomber)Sorry, I'm wrong. Version 3.0.4 does exist (I got confused by the same JavaGroups version).
Bela -
4. Re: JBoss 3.0.6 Cluster Config with TCP
robin_rusli May 6, 2003 3:15 AM (in response to jmacomber)Hi Bill Gates, can you help me?
I fail to use UDP for my session replication. Can you give me some example of snipset of cluster-service.xml if I want to create communication for 3 servers?
Thanks advance