Using “Cluster Test” MBean: --------------------------- 1. Deploying the “Cluster Test” MBean: 1.1 Go to the “utilities_and_tools” directory, and then to the “ClusterTest” directory. 1.2 Go to the directory of the target platform (nt or solv4). 1.3 For each of your Mercury AM servers do the following steps: 1.3.1 Copy the “clustertest.sar” file into the following path in your Mercury AM server: \AppServer\mbeans 1.3.2 Open the following URL: http://:8080/jmx-console in your browser, and click on the flavor=URL,type=DeploymentScanner link which is under the jboss.deployment domain. 1.3.3 Click on the Invoke button of the scan() operation. 1.4 On one of your Mercury AM servers go to http://:8080/jmx-console in your browser. 1.5 Select service=Cluster Test (under Topaz domain). 2. Explenation of the Operations: 2.1 To verify that all the members in the cluster can see all the others, invoke the “testGetAllClusterMembers” operation. As a result you will see a table displaying the list of the nodes you specified, and for each node, the list of nodes it sees. The result from each node is compared, so at the bottom of the table you will see an indication of whether the cluster is synchronized or not. 2.2 To verify that the cluster view of the members in the cluster is updated with all the other nodes, invoke the “testGetClusterView” operation. As a result you will see a table displaying the list of the nodes you specified, and for each node, the cluster view it has (including the cluster view’s ID). The result from each node is compared, so at the bottom of the table you will see an indication of whether the cluster is synchronized or not. 2.3 To see the local node’s cluster view with ID, invoke the “getClusterViewOfLocalNode” operation, the result is the list of the nodes in the local node’s cluster view. 2.4 To verify that the Distributed Object functionality is working properly, invoke the “testDistributedObject” operation. As a result you will see a table displaying the list of the nodes you specified, and for each node a pair of results (true or false) indicating that the ‘put’ and ‘remove’ operations invoked on the distributed object from each node. The result from each node is compared, so at the bottom of the table you will see an indication of whether the ‘put’ and ‘remove’ operations functioned as expected or not.