This article provides troubleshooting tips for multicast issues, when a second Junos Space server is added to the fabric.
To run the Junos Space Jboss multicast tool, open two SSH sessions to each Junos Space server, and run McastReceiver and McastSender on both servers. The mcast_addr will be different from the example below. You can obtain the mcast_addr by looking under file /etc/hosts for the jmp-MCAST entry on the primary node.
jmp-MCAST
cd /usr/local/jboss/server/all/lib; java -cp jgroups.jar org.jgroups.tests.McastReceiverTest -mcast_addr 228.0.199.110 -port 45566 //45566 is the default port for jgroups udp mcast. //228.0.199.110 is the mcast address this space cluster uses.
cd /usr/local/jboss/server/all/lib; java -cp jgroups.jar org.jgroups.tests.McastSenderTest -mcast_addr 228.0.199.110 -port 45566
cd /usr/local/jboss/modules/system/layers/base/org/jgroups/main/; java -cp jgroups-3.2.7.Final.jar org.jgroups.tests.McastReceiverTest -mcast_addr 228.0.199.110 -port 45566 //45566 is the default port for jgroups udp mcast. //228.0.199.110 is the mcast address this space cluster uses.
cd /usr/local/jboss/modules/system/layers/base/org/jgroups/main/; java -cp jgroups-3.2.7.Final.jar org.jgroups.tests.McastSenderTest -mcast_addr 228.0.199.110 -port 45566
cd /usr/local/jboss/modules/system/layers/base/org/jgroups/main/; java -cp jgroups-3.2.13.Final-redhat-1.jar org.jgroups.tests.McastReceiverTest -mcast_addr 228.0.199.110 -port 5555 //5555 is the default port for jgroups udp mcast. //228.x.x.x is the mcast address where x.x.x is the last three bytes of the first node's IP. //228.0.199.110 is the mcast address this space cluster uses.
cd /usr/local/jboss/modules/system/layers/base/org/jgroups/main/; java -cp jgroups-3.2.13.Final-redhat-1.jar org.jgroups.tests.McastSenderTest -mcast_addr 228.0.199.110
111 is the first node; 112 is the 2nd node.
[edit protocols] root@switch# show igmp-snooping { vlan vlan1 { interface ge-0/0/0.0 { ### Include switch interface for first Space Node. static { group 228.0.199.110; } } interface ge-0/0/1.0 { ### Include switch interface for next Space Node. static { group 228.0.199.110; } } } }
2017-06-01: For the section on Space 15.1 onward, corrected mcast receiver address.