JBAS-2394 - multicast addr not working
adrian.brock Oct 21, 2005 11:47 AMI ran Branch_4_0 with -u 228.1.2.4 and looked at the debug logging
here's the output and config:
It claims it is using the config:
2005-10-21 11:07:34,841 DEBUG [org.jboss.ha.framework.server.ClusterPartition] Setting JGProps from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=228.1. 2.4;mcast_port=45566;mcast_recv_buf_size=150000;mcast_send_buf_size=800000;ucast_recv_buf_size=150000;ucast_send_buf_size=800000):PING(down_thread=true;num_initial_mem bers=3;timeout=2000;up_thread=true):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;max_tries=5;shun=true;timeout=2500;up_thread=true):VERIFY_SUSPECT (down_thread=true;num_msgs=3;timeout=3000;up_thread=true):pbcast.NAKACK(down_thread=true;gc_lag=50;max_xmit_size=8192;retransmit_timeout=300,600,1200,2400,4800;up_thre ad=true):UNICAST(down_thread=true;min_threshold=10;timeout=300,600,1200,2400,4800;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=true;up_thread=tr ue):FRAG(down_thread=true;frag_size=8192;up_thread=true):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(do wn_thread=true;up_thread=true)
and then started Branch_3_2 (with ports-01)
11:14:44,293 INFO [UDP] unicast sockets will use interface 65.244.175.186 11:14:44,299 INFO [UDP] socket information: local_addr=dev22:32805 (additional data: 19 bytes), mcast_addr=228.1.2.3:45566, bind_addr=/65.244.175.186, ttl=8 sock: bound to 65.244.175.186:32805, receive buffer size=131071, send buffer size=131071 mcast_recv_sock: bound to 65.244.175.186:45566, send buffer size=131071, receive buffer size=131071 mcast_send_sock: bound to 65.244.175.186:32806, send buffer size=131071, receive buffer size=131071 11:14:44,301 INFO [STDOUT] ------------------------------------------------------- GMS: address is dev22:32805 (additional data: 19 bytes) ------------------------------------------------------- 11:14:46,377 INFO [DefaultPartition] Number of cluster members: 2 11:14:46,377 INFO [DefaultPartition] Other members: 1 11:14:46,377 INFO [DefaultPartition] Fetching state (will wait for 60000 milliseconds): 11:14:46,378 INFO [DefaultPartition] New cluster view for partition DefaultPartition: 1 ([65.244.175.186:1099, 65.244.175.186:1199] delta: 0) 11:14:46,386 INFO [DefaultPartition] I am (null) received membershipChanged event: 11:14:46,386 INFO [DefaultPartition] Dead members: 0 ([]) 11:14:46,386 INFO [DefaultPartition] New Members : 0 ([]) 11:14:46,386 INFO [DefaultPartition] All Members : 2 ([65.244.175.186:1099, 65.244.175.186:1199])
So why are these forming a cluster?