2 Replies Latest reply on Oct 19, 2007 10:24 AM by Brian Stansberry

    How to verify isolated all services for 2nd Cluster?

    Bruce Springfield Apprentice

      I want to create 2 clusters on the same network. Is there a way to verify that I have isolated the JGroups channels between the clusters for all services? How can I find out if a channel was not isolated for a service?

        • 1. Re: How to verify isolated all services for 2nd Cluster?
          Bruce Springfield Apprentice

          did a search for mcast_port through Jboss deploy folder and came up with following :

          deploy\cluster-service.xml
          deploy\ejb3-clustered-sfsbcache-service.xml
          deploy\ejb3-entity-cache-service.xml
          deploy\jboss-web-cluster.sar\META-INF\jboss-service.xml

          also came up with :

          deploy\jmx-console.war\WEB-INF\web.xml

          don't think this last one needs to be isolated?

          • 2. Re: How to verify isolated all services for 2nd Cluster?
            Brian Stansberry Master

            The first four are the standard ones. The last only comes into play if you go out of your way to use an obscure feature in the jmx-console.

            Unfortunately there's no simple way to verify isolation. A good approach is to give each cluster a different partition name (via the -g swtich at startup) and then include the partition name as an element in the group name passed to JGroups. This is controlled via the "PartitionName" attribute in cluster-service.xml and the "ClusterName" attribute in the other files. If you do this and mistakenly mix the clusters, they will complain in the logs about receiving messages for another group, alterting you to the problem.