Solved

Mbeans with Jboss and SNMP adaptor how?

Posted on 2003-11-16
10
446 Views
Last Modified: 2011-10-03
Hi all,

 I am in developing a NMS(Network Mgmt Sys). I need a small help..

 I want to develop the application using JMX architecture and I donno how to proceed.

 Is there any supported server JMX MBean concept at present (Jboss?),
 SNMP Adaptor is supported in it or not..?
 From where can I start developing the application ?

 NMS -> A Web - based application for management of several (100's) of switches & routers of an organization. this application must be fast and web based.

 Please gimme some suggestions ..

 Thanking you all..experts
with regard
lam.
0
Comment
Question by:lamdor
  • 6
  • 4
10 Comments
 
LVL 9

Expert Comment

by:vzilka
ID: 9777049
I know a bit about NMS, and I can't really see why you need JMX. You ahve agents that collect the information. They probably work with SNMP.

If you need to monitor a J2EE application server, than JMX is a good option.
ALl major servers currently support JMX to some extent (WLS, WAS, Oracle, JBoss). It means you can query the server for information (including performance information) and perform some actions.
However, the name of the beans, and the way to access them, is different between each server. This should change in J2EE 1.4, with the introduction of JSR 77 that defines the names of components inside the J2EE server.

About SNMP, almost all servers have some SNMP support, but I wouldn't use it ;-)
0
 
LVL 1

Author Comment

by:lamdor
ID: 9841174
Hi,

 The specification for JMX says that we can manage a network by using JMX. That means we can manage all network elements like switches, routers, gateways etc. So at present I donno from where to start implementing these things usering JMX. I know how to do this by using normal java beans.

 Can you gimme some information regarding JMX with SNMP?.

 Is my understanding of JMX is right?.

 Thanking you,

regards
eve of chirs!
lam
0
 
LVL 9

Expert Comment

by:vzilka
ID: 9844832
JMX is a specification for building MBeans which can be later deployed in an MBean server.
You can build your own MBeans for each network item, or you can build MBeans that encapsulate information found in SNMP agents.
Check out this product (I don't know it, but it looks promising)
http://www.koshna.com/products/KSX/index.asp
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 1

Author Comment

by:lamdor
ID: 9854659
thanks a lot.

 But I jave decided not to use Mbean time being since there is not much help and not fully implemented and I don't have enought time too..

 So, I am using following architecture.

[                    ]          [                ]                      [      ]
[ SNMP Beans  ] <---> [ Servlets/ ]   < ===== >[ DB ]
[                    ]           [ Threads  ]                    [      ]

 a deamon thread will be running and by using normal SNMP beans it will connect to several elements and gather the data and then inserts into database.

 [      ]              [                  ]                     +++++++++
 [ DB ] <====>[tomcat with ] <=======>+ Browser +
 [      ]              [ Struts         ]                     +++++++++

When ever administrator requests for managing elements I collects data from database and display it for management. instead of querying the elements with SNMP Beans I use asynchronus way..

 But I donno this architecture holds good or not..
 
Can anybody tell me is the above works okay?

thanks
lam.
0
 
LVL 9

Expert Comment

by:vzilka
ID: 9857923
For the second stage it is great.
For the first - I wouldn't recommend it. Tomcat wouldn't be too good for waking up periodically and gathering information on all the beans. Since you are using pull technology (to my understanding) that means you are constantly querying the SNMP beans, you would probably have to write down your own service that will do that.

If the SNMP has a way of sending information themselves to the server, then the first drawing will work.
0
 
LVL 1

Author Comment

by:lamdor
ID: 9872060
thanks for your reply,

 The first architecture what I told, I have changed it to a service with many threads.. The service will be running as server at back end(User has to start the service). Then the service will open individual thread to each element and gather informaion and stores in database.

 the second architecture is same i.e(that is) when user click for an opetaion to view the statics the data is collected from database and diaplyed the graphs for performance of the elements (jfreeChart) I am using.

 Is it holds good..?I am in confusion about my architecture becoz I have no experience on NMS based systems and I don't have anybody to help me here..

thanks.
regards
lam.
0
 
LVL 9

Expert Comment

by:vzilka
ID: 9872673
You can contact me by mail.
The architecture stands, and is infact very popular for NMS systems.

The design for the service is quite complex actually, as it has to be highly available.

0
 
LVL 9

Expert Comment

by:vzilka
ID: 9893849
lamdor, is everything working?
0
 
LVL 1

Author Comment

by:lamdor
ID: 10050288
Hi vzilka,

 I am sorry for my late response I was on vacation and had very sleepy holidays..^^

 Thanks for your reply.

 Yeh!.I have followed the architecture as we discussed and wrote the service in Java using JDMK tool kit it is prosently gathering information from agents and able to insert into the database. But I have make some performance improvements since there may be some thousends of elements in a network so, if my program has to gather the information from all of them it will get heck some where I hope.

 Please gimme some more information about that..

Thanks..

With Regards
lam.
0
 
LVL 9

Accepted Solution

by:
vzilka earned 125 total points
ID: 10050544
Some of the new things I am doing now is using the Selector class in java.nio. It will allow you to scale better when you recieve info from many clients.
Also, check Doug Lea concurrency utils. This library will help you to build worker threads easily, so that each thread can handle an info message from one of your clients.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Uninstall Oracle Weblogic 3 336
Configuring Remote Administration and Feature Delegation in IIS 7 1 170
Accessing Live Dynamic Stream 6 208
wild fly 8 startup error 2 42
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question