twitter
    !! Tell us what you want to Learn / Know !!

Multicast Test and Multicast Monitor

MulticastTest:
       The MulticastTest utility helps you debug multicast problems when configuring a WebLogic Cluster. The utility sends out multicast packets and returns information about how effectively multicast is working on your network. Specifically, MulticastTest displays the following types of information via standard output:
  • A confirmation and sequence ID for each message sent out by the current server.
  • The sequence and sender ID of each message received from any clustered server, including the current server.
  • A missed-sequenced warning when a message is received out of sequence.
  • A missed-message warning when an expected message is not received.
To use MulticastTest, start one copy of the utility on each node on which you want to test multicast traffic.
Warning:Do NOT run the MulticastTest utility by specifying the same multicast address (the -a parameter) as that of a currently running WebLogic Cluster. The utility is intended to verify that multicast is functioning properly before starting your clustered WebLogic Servers
  • The multicast address must be an IP address between 224.0.0.0 and 239.255.255.255 or a hostname with an IP address in this range.
  • The default multicast address used by WebLogic Server is 239.192.0.0.
  • Do not use any x.0.0.1 multicast address where x is between 0 and 9, inclusive.
javautils.MulticastTest -n name -a address [-p portnumber]   [-t timeout] [-s send] [-l timetolive]


Argument
Definition
-n name
Required. A name that identifies the sender of the sequenced messages. Use a different name for each test process you start.
-a address
The multicast address on which: (a) the sequenced messages should be broadcast; and (b) the servers in the clusters are communicating with each other. (The default is 237.0.0.1.)
-p portnumber
Optional. The multicast port on which all the servers in the cluster are communicating. (The multicast port is the same as the listen port set for WebLogic Server, which defaults to 7001 if unset.)
-i interfaceaddress
Optional. Address of interface card to use. Uses the default NIC if none is specified.
-t timeout
Optional. Idle timeout, in seconds, if no multicast messages are received. If unset, the default is 600 seconds (10 minutes). If a timeout is exceeded, a positive confirmation of the timeout is sent to stdout.
-s sendpause
Optional. Interval, in seconds, between sends. If unset, the default is 2 seconds. A positive confirmation of each message sent out is sent to stdout.
-l timetolive
Optional. Sets how many hops a packet can make before being discarded. The default value is 1, which restricts the packet to the subnet.





Multicast Monitor:
        MulticastMontior is a stand-alone Java command line utility that monitors multicast traffic on a specific multicast address and port.

Syntax:
javaweblogic.cluster.MulticastMonitor<multicastaddress><port><domainname><clustername> [<domaindir>]
Example:




0 comments:

Post a Comment