When you have servers in one
cluster, the servers communicate with each other using multicast messaging
mode.
But most of times you see the messages in the log files of the servers like “Lost Multicast Messages”(because of network or some other reasons)
This means there is something wrong in the servers communication. At this point of time it is necessary to test the network connection between the ip addresses where the clusters are running.
We have simple syntax to test the multicast
But most of times you see the messages in the log files of the servers like “Lost Multicast Messages”(because of network or some other reasons)
This means there is something wrong in the servers communication. At this point of time it is necessary to test the network connection between the ip addresses where the clusters are running.
We have simple syntax to test the multicast
Syntax : java
utils.MulticastTest -n name -a address [-p portnumber] [-t timeout] [-s send]
-N : Name of the server so
that you can identify the communication.
-A : Multicast address on which the messages are sent and received.
-P : This is the multicast port number on which the servers communicate.
-T : This is the timeout value, if no multicast message is received within this time, warning is shown on the shell prompt.
-S : The duration in seconds between sending the messages.
-A : Multicast address on which the messages are sent and received.
-P : This is the multicast port number on which the servers communicate.
-T : This is the timeout value, if no multicast message is received within this time, warning is shown on the shell prompt.
-S : The duration in seconds between sending the messages.
Below is how you do it:
Test : Start the
command prompts on machines where you have your managed servers. (can be 1 or
more)
Ensure that the servers in the cluster are not running, this test is for checking the network connectivity.
Ensure that the servers in the cluster are not running, this test is for checking the network connectivity.
Set the java environment on
both the shells. Then enter the below syntax:
System 1 : java utils.MulticastTest -N Instance1 -A 237.0.0.1 -P 7004 -T 10 -S 2
System 2 : java utils.MulticastTest -N Instance2 -A 237.0.0.1 -P 7004 -T 10 -S 2
System 1 : java utils.MulticastTest -N Instance1 -A 237.0.0.1 -P 7004 -T 10 -S 2
System 2 : java utils.MulticastTest -N Instance2 -A 237.0.0.1 -P 7004 -T 10 -S 2