[jboss-user] [Clustering/JBoss] - Farm Deployment with UDP not working

RedChili do-not-reply at jboss.com
Tue Mar 20 04:18:24 EDT 2007


Hi,

I have a clustered JBoss environment consisting of several nodes. All nodes are absolutely identical in their configuration and form a cluster "DefaultPartition". Joining and leaving the cluster works fine.
I've also established the farming deploy service but this farming service only works when I use the TCP configuration in cluster-service.xml.

My problem looks similar to this one:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90561&postdays=0&postorder=asc&start=0

However as I'm using 4.2.0CR1 the buffer sizes are already increased and don't seem to be the problem.

Using UDP Protocol I deploy an application on one node, this node starts the application just fine and then "hangs" on deploying it to the cluster:
14:43:00,210 INFO  [ClusterFileTransfer] Start push of file kusssdemo.ear to cluster.

It hangs there forever and nothing happens on the other nodes.
The UDP configuration is as follows:
         <Config>
  |             <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}"
  |                  mcast_port="${jboss.hapartition.mcast_port:45566}"
  |                  tos="8"
  |                  ucast_recv_buf_size="2000000"
  |                  ucast_send_buf_size="640000"
  |                  mcast_recv_buf_size="2500000"
  |                  mcast_send_buf_size="640000"
  |                  loopback="false"
  |                  discard_incompatible_packets="true"
  |                  max_bundle_size="64000"
  |                  max_bundle_timeout="30"
  |                  use_incoming_packet_handler="true"
  |                  use_outgoing_packet_handler="false"
  |                  ip_ttl="${jgroups.udp.ip_ttl:2}"
  |                  down_thread="false" up_thread="false"
  |                  enable_bundling="false"/>
  |             <PING timeout="2000"
  |                   down_thread="false" up_thread="false" num_initial_members="3"/>
  |             <MERGE2 max_interval="100000"
  |                     down_thread="false" up_thread="false" min_interval="20000"/>
  |             <FD_SOCK down_thread="false" up_thread="false"/>
  |             <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
  |             <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
  |             <pbcast.NAKACK max_xmit_size="60000"
  |                     use_mcast_xmit="false" gc_lag="0"
  |                     retransmit_timeout="300,600,1200,2400,4800"
  |                     down_thread="false" up_thread="false"
  |                     discard_delivered_msgs="true"/>
  |             <UNICAST timeout="300,600,1200,2400,3600"
  |                     down_thread="false" up_thread="false"/>
  |             <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  |                     down_thread="false" up_thread="false"
  |                     max_bytes="400000"/>
  |             <pbcast.GMS print_local_addr="true" join_timeout="3000"
  |                     down_thread="false" up_thread="false"
  |                     join_retry_timeout="2000" shun="true"
  |                     view_bundling="true"/>
  |             <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
  |             <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
  |          </Config>
  | 

The working TCP config looks like:
         <Config>
  |             <TCP bind_addr="${jboss.bind.address}" start_port="7800" loopback="true"
  |                  tcp_nodelay="true"
  |                  recv_buf_size="20000000"
  |                  send_buf_size="640000"
  |                  discard_incompatible_packets="true"
  |                  max_bundle_size="64000"
  |                  max_bundle_timeout="30"
  |                  use_incoming_packet_handler="true"
  |                  use_outgoing_packet_handler="false"
  |                  down_thread="false" up_thread="false"
  |                  enable_bundling="false"
  |                  use_send_queues="false"
  |                  sock_conn_timeout="300"
  |                  skip_suspected_members="true"/>
  |             <TCPPING initial_hosts="192.168.1.106[7800],192.168.1.105[7800]" port_range="3"
  |                      timeout="3000"
  |                      down_thread="false" up_thread="false"
  |                      num_initial_members="2"/>
  |             <MERGE2 max_interval="100000"
  |                     down_thread="false" up_thread="false" min_interval="20000"/>
  |             <FD_SOCK down_thread="false" up_thread="false"/>
  |             <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
  |             <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
  |             <pbcast.NAKACK max_xmit_size="60000"
  |                            use_mcast_xmit="false" gc_lag="0"
  |                            retransmit_timeout="300,600,1200,2400,4800"
  |                            down_thread="false" up_thread="false"
  |                            discard_delivered_msgs="true"/>
  |             <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  |                            down_thread="false" up_thread="false"
  |                            max_bytes="400000"/>
  |             <pbcast.GMS print_local_addr="true" join_timeout="3000"
  |                         down_thread="false" up_thread="false"
  |                         join_retry_timeout="2000" shun="true"
  |                         view_bundling="true"/>
  |             <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
  |          </Config>
  | 

In addition tho this question: what is the initial_hosts parameter in the TCP config for? Do I have to specify all potential cluster nodes in this list? Or can i use something like {jboss.bind.address}[7800] there?

Thanks,
Reinhard

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029644#4029644

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029644



More information about the jboss-user mailing list