2 Replies Latest reply on Apr 14, 2011 3:18 PM by john.miller

    JON requires all nodes in cluster to have same configuration name?

    john.miller

      We have JON 2.4.1.GA monitoring a cluster of JBoss EAP 5.1 nodes.  Everything looks and works great as long as each node in the cluster uses the same configuration name (that is, the name passed to the "-c" argument when you fire up the app. server).  But when we change the configuration name of a single node (and change nothing else within that configuration), JON's group display of the cluster gets messy -- in the tree view on the left, the Applications folder now contains 2 entries for each war, ear, and rar.  JON seems to stop recognizing that the wars, ears, and rars are all still identical and part of the same cluster, with the same Inventory properties and same possible set of actions.  Is there a workaround for this?

        • 1. JON requires all nodes in cluster to have same configuration name?
          ips

          The tree nodes you're referring to are called cluster group nodes and are rendered with one per unique resourceType/resourceKey tuple. For EAP5/AS6 wars/ear resources, the resource key is the deployment name reported by the AS profile service (e.g. vfszip:/opt/jboss-5.1.0.CR1/server/default/deploy/foo.war). Unfortunately, as you can see, it includes the full path to the war or ear file, which will potentially vary if the configuration set dir is different across AS instances. Given your use case, if I could go back, I'd consider stripping off the config set dir portion of the URL and using the remainder as the key (e.g. deploy/foo.war). This would have been tricky though since apps could potentially be deployed somewhere outside the config set dir (e.g. /opt/myapps/). In any case, changing the resource key at this point would be fairly involved, as we'd have to support upgrading existing resources that use the old key format...

           

          For more on cluster groups, see http://www.rhq-project.org/display/RHQ/Design-ResourceClustering.

          • 2. JON requires all nodes in cluster to have same configuration name?
            john.miller

            Thanks Ian for the quick and complete response!