This content has been marked as final.
Show 4 replies
-
1. Re: Monitoring nodes partecipating in the cluster
noelo Nov 12, 2008 3:10 PM (in response to marcopb)There is a JMX bean available that will display the nodes active in a cluster. I think the name of it is org.jboss.ha.framework.server.ClusterPartition.
You can get to it via the jmx console... -
2. Re: Monitoring nodes partecipating in the cluster
marcopb Nov 13, 2008 6:26 AM (in response to marcopb)Yes.. .
I needed to go to jmx-console, search for jboss->service=MyPartitionName
thanks you.. -
3. Re: Monitoring nodes partecipating in the cluster
kcbraunschweig Jan 26, 2009 6:09 PM (in response to marcopb)Could you give an example of retrieving information from that mbean on the command line (i.e. via twiddle)? I've been trying to do something similar without the jmx-console and haven't succeeded. Thanks,
KC -
4. Re: Monitoring nodes partecipating in the cluster
brian.stansberry Jan 26, 2009 10:07 PM (in response to marcopb)Let's assume you don't start JBoss with the -g switch, so your HAPartition is named "DefaultPartition".
For AS 5:[bes@besdev bin]$ ./twiddle.sh get jboss:service=HAPartition,partition=DefaultPartition CurrentView CurrentView=[127.0.0.1:1099]
For AS 4:[bes@besdev bin]$ ./twiddle.sh get jboss:service=DefaultPartition CurrentView CurrentView=[127.0.0.1:1099]
If you start with -g, e.g. "./run.sh -c all -g MyPartition" then replace "DefaultPartition" in the above with "MyPartition".