1 Reply Latest reply on May 26, 2010 5:21 PM by richtaylor

    determine master jboss

    erasmomarciano

      Hi,

       

      Is it possible to detect which one of nodes in the cluster is the master node???

       

      I use jboss 4.2.3ga

       

      I haven't found nothing in jmx-console

       

       

      Thank You

        • 1. Re: determine master jboss
          richtaylor

          It's been a while since I've been on 4.2.3 but I have in my notes to look in the JMX console under:

          jboss.partition=mycluster,service=HAPartition -> Current View Property

           

          Where "mycluster" is obviously the name of your cluster.

           

          What you want to find is the jgroup's current "View".  It will look like this:

           

          [172.17.172.229:40879, 172.17.172.227:56257, 172.17.172.228:35004]
          The first address in this list is the "master" with respect to that cluster. Cluster being the JGroups cluster, which is probably what you're after.