In the Solution Manager, CCMS Generic Request and Message Generator (GRMG) technology is used for the availability monitoring of various application types. This technology consists of the GRMG infrastructure and the GRMG application. The GRMG infrastructure is part of the Computing Center Management System (CCMS). It sends a text query to the GRMG application and receives a corresponding response; both the query and the response are messages in a defined XML format.
This Java monitoring infrastructure can also be used for the availability monitoring (heartbeat support) of Java WD applications. The following three checks can be executed for any local WD application or any WD DC application:
To instrumentalize the WD application for the GRMG monitoring - that is, to supply the GRMG infrastructure with the application-relevant data - you must adapt the configuration template grmg-customizing.xml . This is done by entering the application URL in the configuration file. The template is part of the standard shipment of the Application Server. With the configuration tool; the NW Administratortool is available for monitoring standalone Java WD applications.
There is need that you adjust and upload the GRMG customizing file for every GRMG scenario. You first require a suitable GRMG customizing file, thus also for Web Dynpro applications. This file contains the information required for monitoring the application in the form of parameters. This information is read and processed by the GRMG infrastructure, which runs on the central monitoring system. To make use of the availability monitoring function, you must adjust the customizing file grmg-customizing.xml .
<scenname>WDADM630</scenname>
<scenstarturl>http://%HOST:%PORT/webdynpro/dispatcher/sap.com/tc~wd~tools/Explorer?sap.session.client=GrmgClient</scenstarturl>
The source template is delivered with the Web Dynpro Runtime and configures the heartbeat server for the Web Dynpro application. In this XML source code, you must make the relevant adjustments for the availability check of the current Web Dynpro application.
<?xml version="1.0" encoding="UTF-8"?>
<customizing>
<control>
<grmgruns>X</grmgruns>
<runlog></runlog>
<errorlog></errorlog>
</control>
<scenarios>
<scenario>
<scenname>WDADM630</scenname>
<scenversion></scenversion>
<sceninst>001</sceninst>
<scentype>URL</scentype>
<scenstarturl>http://%HOST:%PORT/webdynpro/dispatcher/ sap.com/tc~wd~tools/Explorer?sap.session.client =GrmgClient</scenstarturl>
<scenstartmod>Unknown</scenstartmod>
<scentexts>
<scentext>
<scenlangu>E</scenlangu>
<scendesc>GRMG: Web Dynpro on %SID:%INST.</scendesc>
</scentext>
</scentexts>
<components>
<component>
<compname>WDDEPLOY</compname>
<compversion>001</compversion>
<comptype>Unknown</comptype> <comptexts>
<comptext>
<complangu>E</complangu>
<compdesc>Web Dynpro Deploy</compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>Unknown</propname>
<proptype>X</proptype>
<propvalue>Unknown</propvalue>
</property>
</properties>
</component>
<component>
<compname>WDSTATE</compname>
<compversion>001</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>E</complangu>
<compdesc>Web Dynpro Enablement and Start</compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>Unknown</propname>
<proptype>X</proptype>
<propvalue>Unknown</propvalue>
</property>
</properties>
</component>
<component>
<compname>WDJRFC</compname>
<compversion>001</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>E</complangu>
<compdesc>Backend access using JRFC</compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>Unknown</propname>
<proptype>X</proptype>
<propvalue>Unknown</propvalue>
</property>
</properties>
</component>
</components>
</scenario>
</scenarios>
</customizing>
The availability data is displayed in the heartbeat monitor of the CCMS. In the SAP system, start the transaction TZ20 and choose All Monitoring Contexts → SAP CCMS Technical Expert Monitors → SAP J2EE Monitor Templates → Heartbeat → Web Dynpro.
GRMG Monitoring (Monitoring Web Dynpro iViews in the Portal)