Distributed management how to
Hi all,
I would like to expose components of a distributed architecture in a single point: say, for example, node A, B and C collect data/statistics, but I don't want to open 3 jconsole connections, eventually because
the management application knows only about node A.
How can I achieve my goal?
Supposing I'm using rmi, is it ok to run a rmiregistry only on the node where the management happens? Do connectors and notifications require particular configurations?
Thanks in advance,
Michele
[537 byte] By [
michele81a] at [2007-10-3 11:09:23]

Hi Michele,
What you describe is a use case for "cascading": cascading is a framework that allows you to mount MBeans from remote MBeanServers into a local MBeanServer.
Up to now, there exists only proprietary implementations for this - you may want for instance to download and play with the Java DMK (the evaluation is free) - which has an implementation of a cascading framework.
http://java.sun.com/products/jdmk/index.jsp
http://docs.sun.com/app/docs/doc/816-7609/6mdjrf87n
Note also that a cascading feature - aka federation of MBeanServers is proposed for standardization within JSR 255 (JMX 2.0 / JDK 7).
See:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6446447
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5072476
best regards,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/jmxetc
Hi Daniel,supposing I want to use standard java only (i.e. no proprietary solutions), is there any workaround before JMX 2.0?Thanks,Michele
Hi Michele,
Well, I suppose you could create a new proprietary solution by implementing your own ;-)
Have a look at what's in Java DMK 5.1, it doesn't cost anything to try it, and will at
least help you figure out whether this is what you really need.
If you have only a couple of MBeans in your sub agent, you could also manually
register a proxy for each of them in the Master agent.
-- daniel
http://blogs.sun.com/jmxetc