Upgrade Guide › JBoss Version › Upgrade on a JBoss Cluster › Migration on a JBoss Cluster › Test the Default Multicast Address
Test the Default Multicast Address
The run script uses a multicast address, either the default address or an alternative address supplied by your network administrator.
Follow these steps:
- Install JBoss and the JDK on the computer.
- Run sender on first node as follows:
- Navigate to the lib folder.
- On a JBoss 5 node, navigate to jboss-home-1/server/all/lib.
- On a JBoss 6.1 node, navigate to jboss-eap-6.1\modules\system\layers\base\org\jgroups\main.
- Run the following command:
java -cp jgroups-3.2.7.Final-redhat-1.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555
- Run receivers on other nodes in the cluster as follows:
- Navigate to the lib folder.
- On a JBoss 5 node, navigate to jboss-home-1/server/all/lib.
- On a JBoss 6.1 node, navigate to jboss-eap-6.1\modules\system\layers\base\org\jgroups\main.
- Run the following command:
java -cp jgroups-3.2.7.Final-redhat-1.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555
- Send a message from the first node as follows:
- On the console of the first node, enter any text and press enter.
- Confirm that a reply appears, to acknowledge the text was sent.
- Confirm that the message appears on the console of all other nodes in the cluster.
- If either the send or receive test fails, ask your network administrator to provide a multicast address that works and repeat this test.
Copyright © 2013 CA.
All rights reserved.
|
|