|
Configuring
Groups of Servlets / EJBs / JSPs for Monitoring
An application
deployed on middle-tier application servers such as WebLogic, WebSphere,
Oracle 9i application server, and SunONE may
comprise of hundreds of servlets, EJBs, and JSPs. Monitoring each and every one of
these is an arduous task. Towards this end, the eG system allows an administrator to create groups of EJBs, servlets, and JSPs, so that each of these server elements can be monitored collectively.
These groups need
to be manually configured on the WebLogic, WebSphere, SunONE, and Oracle 9i
application servers.
For example, to configure the
servlet groups on a WebLogic application server, do the following:
-
Configure the WLServletTest for the WebLogic server and allow it to run once.
-
Then,
proceed to reconfigure the WLServletTest for the WebLogic server by clicking on
the RECONFIGURE button in the test configuration page.
-
Next,
click on the Click
here hyperlink above the Test Parameters section of the Configuration
of WLServletTest page.
-
The page
that appears next lists the EJB
groups that pre-exist (if any) and allows the administrator to create and
configure new ones / delete existing ones.
-
To
add a new group, first, select the servlets that need to be a part of the
group. The ALL ELEMENTS list in this page will list all the
unmanaged servlets. From this list, select
the servlets to be added to the group.
All the servlets hosted on a WebLogic server are
discovered when the agent starts executing on the server's
host.
The same will be listed as ALL ELEMENTS. This list will get updated every time the agent is
restarted / when the rediscovery scheduled for every four hours
occurs.
-
Then,
to manage the selection, click on the MANAGE
button. This will transfer the selection to the MANAGED ELEMENTS IN THE CURRENT GROUP list.
Similarly, multiple servlets can be added to the MANAGED ELEMENTS IN THE CURRENT GROUP list.
-
To
unmanage managed servlets, select them from the MANAGED ELEMENTS IN THE CURRENT GROUP list, and
click the UNMANAGE button, thereby
transferring them back to the ALL ELEMENTS list.
-
Finally,
assign a name to the group by entering a name in the Info Group Name
text box.
-
If the servlet group so created is to be associated with other WebLogic servers in the environment, then, select the Apply this configuration to other servers check box.
-
Finally,
click the UPDATE button. If the Apply this configuration to other servers check box is selected, then upon clicking the UPDATE button, the APPLY CONFIGURATIONS page will appear from where you can select the WebLogic servers to which the EJB group configuration needs to be applied. Clicking on the APPLY button in the APPLY CONFIGURATIONS page will bring you back to this page where a summary of the selection will then be displayed.
-
To delete any of the listed groups, click on the DELETE button
against the corresponding group. If you had earlier associated the group with other WebLogic servers, then all or a few of these associations can be removed by selecting the Apply configuration to other servers check box before clicking on the corresponding DELETE button.
-
Then,
click the UPDATE button.
Clicking
on the <<button will take you to the previous screen.
In the case of an Oracle 9i application server, a Click here hyperlink is available in the O9iServletTest configuration page, using which the servlet groups can be created. To achieve this, configure the O9iServletTest test, allow it to run once, attempt to reconfigure the test, click on the Click here hyperlink in the test configuration page, and then proceed to follow the steps 4 - 12 discussed above. Similarly, the JSPs on the Oracle 9i application server can be grouped using the Click here hyperlink in the O9iJspTest.
To configure the EJB groups for a WebLogic server, use the Click here hyperlink in the test configuration pages of any of the following tests: WLEJBTransTest, WLEJBCacheTest, WLEJBLockTest, WLEJBPoolTest, or WeblogicEjbTest. The procedure will be the same as discussed above for servlet groups.
In the case of a WebSphere server, the bean groups can be configured using the Click here hyperlink in the WsEjbTest. The procedure will be the same as discussed above for servlet groups.
In the case of a SunONE application server, the bean groups can be configured using the Click here hyperlink in the test configuration page of Sun1EjbCacheTest or Sun1EjbPoolTest. The procedure will be the same as discussed above for servlet groups.
|