Professional Documents
Culture Documents
SAP EP Monitoring
SAP EP Monitoring
SAP EP Monitoring
EP 6.0 Portal
Introduction to CCMS EP Monitoring Infrastructure Central Computer Monitoring System Integration of SAP Solution Manager
EP 6.0 Portal
Enterprise Portal 6.0 SP1+ SAPJ2EE Engine 6.20 PL 16+ SAPCCMSR Patch Collection 8/2003+ SAPOSCOL Version 20.79 StandAlone Log Viewer 6.30 EP Monitoring Package 3 SAP Web AS with Basis Support Package 29, SAP Solution Manager 3.1
Regular Shipment of SAP EP 6.0 Regular Shipment of SAP EP 6.0 Included in SAP Enterprise Portal , EP Monitoring Package on SAP Service Marketplace/Patches
SAP Support
SAP Router
Installation/Integration Steps
1. 2. 3. 4. 5. Install SAPOSCOL and SAPCCMSR Configure SAPCCMSR Configure SAPOSCOL Update jmon.dll and jmonapi.jar Configure J2EE Monitor Server 6. 7. 8. 9. Setup Log file Monitoring Setup StandAlone Log Viewer Enable GRMG Setup JARM Data
SAPOSCOL
Log files
MHS1 2
SAPCCMSR
Shared Memory 4 9
SAP J2EE
j2eeadm profile Jmon Transport Packages for CEN including GRMG application including CATjobs for CEN system preparation
Agent SAPCCMSR
SAPOSCOL
ask
GW
Program ID <host>.sapccmsr.99
SAPCCMSR
Windows only: Configuration of SAPOSCOL and SAPCCMSR as Service Installing SAPOSCOL and SAPCCMSR as Windows service has the advantages:
- Re-starting the Windows server will restart these servives automatically - If services are installed properly, they start always with the correct permissions (security)
SAPOSCOL: ntscmgr install SAPOSCOL b <DRIVE>:\usr\sap\prfclog\saposcol.exe p service SAPCCMSR: ntscmgr install SAPCCMSR <DRIVE>:\usr\sap\prfclog\sapccmsr\sapccmsr.exe DCCMS pf=<DRIVE>:\usr\sap\prfclog\j2ee.pf
Extending MONI_SEGM_SIZE
Extending the MONI_SEGM_SIZE to minimum of 64000000 is necessary due to amount of data reported by a standard EP portal installation
Copy jmon.dll to <Windows home>\system32 Find the directories where jmonapi.jar resides with the Windows Explorer
EP 6.0 Portal
Add host name & instance no. to the root node for the SAPJ2EE Engine to avoid clashes, when several SAPJ2EE instances will report data into the same CCMS sytsem.
Windows only: Generating INI Files for Automatic Monitoring of SAP J2EE Engine Log Files
The SAPJ2EE monitoring server generates control files that are required to monitor the J2EE Engine logs. After starting the monitoring server, create the log file templates by making the following entry in the monitor server console: generateLT <J2EE home dir> <DRIVE>:\usr\sap\prfclog\logmon
Generating the INI files for automatic monitoring of J2EE Application and Portal Logs
2 Save the Changes and restart the service!
Change Entry
Integrate the monitoring server into a cluster node for automated startup
Do the following steps... Add the following lines into <J2EE home dir> /cluster/server/services/shell/work/autorun.scr
add monitor startmonitorserver
For a single node installation (i.e. one server process and one dispatcher process) these entries can be added to the autorun.scr of the dispatcher as an alternative Restart the SAPJ2EE Engine
EP 6.0 Portal
Availability Monitoring
Availability Monitoring comprises two major steps:
Enabling availability monitoring for the SAP J2EE Engine
Is already done by configuration of the monitor server
Enabling the GRMG check for the portal: For the availability check using GRMG, the central monitoring system periodically calls a portal URL. The underlying GRMG application checks the portal and reports check results to the central monitoring system. This availability check is activated in the following steps:
Adjusting the GRMG customizing files Uploading the GRMG customizing file to the central monitoring system Activate the GRMG check in the central monitoring system Checking the mechanism in the delivered CCMS monitor
EP-GRMG Application
Solution Manager
GRMG Infrastructure
GRMG Application
Other Components
Local CCMS
5 9
3
Web Server
10
SAP System (R/3) J2EE Server EJB CCMS Monitoring GRMG Framework
7 8
11
GRMG Configfile
In the Portal:
Create a user called heartbeat with password grmg01. Assign the user to the super_admin_role and eu_role.
Download the file grmgRequesthttp_template.xml from the moni_temp directory and edit it.
For entry <scenname> specify a unique name, e.g. EP6_TPxx For entry <scenstarturl>http://. insert the following values:
<host> = Name of Portal host <http-port> = Type in the HTTP-port, by default this is 50000 <user> = heartbeat <password> = grmg01 (Note: The password cannot have more then 6 characters due to restrictions of CCMS GRMG application.)
START
Select the uploaded scenario and start it! In transaction RZ20 you can see the results after a few minutes.
EP 6.0 Portal
Parameter Reporting
Parameter Reporting comprises
EP Monitors for PRT, PCD, UME KM Monitors for TRex and CM SAPJ2EE Monitors
Parameter Reporting
Reports configuration parameters into the monitoring segment of SAPCCMSR J2EE J2EE
CEN
Jmon-API Jmon-API
SAP component for SAP component for central monitoring central monitoring SAPCCMSR
Monitoring segment
PCD
Configuration State Version
UME
Configuration State Version
KM
Configuration State Version
SAP AG 2004, TEP12, 46
Update cmdline.properties
You are now able to: Install and Configure the Monitoring Infrastructure Prerequisites Set up Log File Monitoring Infrastructure Set up GRMG Availability Monitoring Set up Parameter Reporting
Create the new segment with necessary parameters by starting sapccmsr with sapccmsr DCCMS pf=/usr/sap/tmp/sapccmsr/j2ee.pf
[Configuration of cmdline.properties]
SAP AG 2004, TEP12, 65
Copy libmon.so to all directories where jmonapi.jar is installed Find the directories on UNIX by typing
find /usr/sap name jmonapi.jar
UNIX only: Generating INI Files for Automatic Monitoring of SAPJ2EE Engine Log Files
The SAPJ2EE monitoring server generates control files that are required to monitor the J2EE Engine logs. After starting the monitoring server, create the log file templates by making the following entry in the monitor server console:
generateLT <J2EE_directory>/usr/sap/tmp/logmon