I was recently asked to review an article that an enterprising WebSphere user had written. The article told folks how to write some programs that monitor WebSphere on iSeries jobs and send out alerts via e-mail or a pager if any of the WebSphere jobs experienced a problem. At first glance this looked like a great idea. But when I looked more deeply, the developer had written his code to read the WebSphere Administrative Database and had used the WebSphere Control Program (WSCP) command line interface -- things you definitely don't want to do.
I discussed those facilities with some of my IBM contacts. Below is what they said, as well as how you should -- or should not -- use them.
Administrative Database
Do NOT write programs over the Administrative Database. IBM reserves the right to change its structure and content, and there is some indication that it may disappear in Version 5, which is currently in various stages of development for various platforms in favor of XML files. No one at IBM will say for sure that the database will disappear, but they consistently tell me DO NOT USE THE DATABASE.
XML CONFIG
This great utility was provided back at V3.5 of WebSphere. At V4.0, we saw IBM withdraw much of its function in favor of the WSCP. I'm told that IBM is not committed to XML CONFIG and may drop support for this facility in Version 5. (Unfortunately, details aren't available at this time.)
WebSphere Control Program (WSCP)
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts including news, tips, and advice to help you do your job more efficiently and effectively. Stay informed on the hottest topics and biggest challenges faced by IT professionals working with iSeries products and services.
Once again, here is a facility that appears to have been one of those good ideas that didn't quite make it. Again, use it with caution and with the awareness that it may not be supported in a future release.
With all this bad news, what's the good news? Well, IBM finally understands that we customers need to automate administrative tasks using a solid interface that will exist across releases and that they need to provide one. Will we see this in Version 5 of WebSphere? I am told that it's likely.
Oh, and that guy who wrote the WebSphere monitor application? It turns out he should have looked a Management Central Pervasive (free and included) bundled with Operations Navigator. It monitors jobs, sends e-mail, calls your pager or your cell phone or other pervasive device, and its free for about an hour's worth of set-up.
-------------------------
About the author: Bob Cancilla is managing director of IGNITe/400, an electronic iSeries 400 Internet users group. He is also author of the book Getting Down to e-business with AS/400.
=======================
MORE INFORMATION
=======================
- Eliminate WebSphere team deployment headache
Bob Cancilla provides more information on using WebSphere Control Program (WSCP) and WSCP scripts to provide managed change control in your WebSphere environment. - Basic WebSphere troubleshooting concepts
If you're new to WebSphere, you're sure to come upon some problems that you need help figuring out. This tip introduces WebSphere basic concepts and a simple process to help identify some WebSphere configuration problems quickly. -
.26RlaSVDeTg^1@.ee84637>WebSphere/Web development discussion forum:
Post your WebSphere and Web development questions here. You'll get advice from our site experts who monitor the forum, as well as ideas and suggestions from other users. - Best Web Links on Web Development
This was first published in July 2002