Académique Documents
Professionnel Documents
Culture Documents
0 SP1
System Landscape Monitoring
Contents
Applicability, Goals, and Requirements................................................................................................... 2
Best Practice Procedure and Verification ................................................................................................ 3
How to Use this Best Practice ........................................................................................................... 3
Introduction.................................................................................................................................. 5
SAP Enterprise Portal Overview ................................................................................................. 5
General Preparation .................................................................................................................. 10
Installing and Configuring the Monitoring Infrastructure on the Portal Landscape Hosts ......... 12
SAPCCMSR and SAPOsCol..................................................................................................... 12
Process of the automated installation: ...................................................................................... 12
Installing JMON ......................................................................................................................... 24
Monitoring the J2EE Engine...................................................................................................... 25
Setting Up Log File Alerting and Monitoring.............................................................................. 28
Availability Monitoring................................................................................................................ 39
Availability monitoring of the J2EE Engine...................................................................................... 39
GRMG Check of the Portal based on HTTPS........................................................................... 49
Availability Check by Process monitoring ................................................................................. 74
Setting Up Central Configuration .............................................................................................. 76
Single Activity Trace.................................................................................................................. 79
Manually adding new monitor sets to CCMS ............................................................................ 83
Defining Automatic Alert Notification in the Central Monitoring System ................................... 91
Further Information .............................................................................................................................. 102
Appendix.................................................................................................................................. 102
Alternative Practices
This Best Practice focuses on technical issues.
The Best Practice Central System Monitoring for mySAP.com provides information about system
monitoring and the use of the Solution Manager. If you want to integrate your SRM solution into the system
monitoring refer to the Best Practice mySAP SRM 2.0 System Landscape Monitoring. If you want to
integrate CRM refer to Best Practice CRM Release 4.0 SP03 Monitoring Installation Guide.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 3
System Requirements
We recommend that you use a separate R/3 based system for the Solution Manager. This system should
also be used as the main system for the CCMS, that is, all components send their data to this R/3 based
monitoring system.
Requirements
For information about the permitted release and patch status on which this Best Practice is based, see EP
6.0 SP1 PAM. This document is available under:
http://service.sap.com/ep Product Information Enterprise Portal 6.0 Platform Availability Matrix.
Enterprise Portal 6.0 SP1
SAP J2EE Engine 6.20
TREX 6.0 SP1 (on Unix TREX 6.0 SP1 patch 1)
Additional the following component versions are required:
SAPCCMSR: Patch collection 2003/6
SAPOsCol: Version 20.79
Standalone Log Viewer 6.30 (currently delivered with attachment of SAP note# 644783, soon there
will be an own component on SAP Service Marketplace
Web AS based monitoring system: Basis Support Package: 29
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 4
This document refers to binarys, scripts and templates, delivered in an *.SAR (SAP archive).
You have to download the SAR-File from SAP Service Marketplace, alias patches SAP
Enterprise Portal SAP Enterprise Portal 6.0 Binary Patches EP_MONITORING.
During installation, create directory moni_temp on each host of your EP6 environment. Copy the appropriate
archive for your operating system and the associated version of SAPCAR compression program to this
directory and decompress the archive (under UNIX, you must first set the execute flag for the program with
command chmod a+x sapcar):
sapcar xvf <package>
Throughout this Best Practice, you will repeatedly require files from the unpacked directory. In each case,
this document will refer to directory moni_temp that you have just created, such as:
Switch to directory moni_temp and call file ....
Copy file ... from directory moni_temp to directory ...
The files in the archive were entered when this Best Practice was created in October 2003. If you are using
this document later, you have to check that the files in the archive are up-to-date. Newer versions available
on SAP Service Marketplace should be downloaded.
Example Landscape
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 5
Introduction
A fully installed solution monitoring enables you to to react appropriately and quickly to each kind of
problem. This can help prevent unnecessary downtimes or loss of data.This Best Practice describes the
efficient implementation of a monitoring infrastructure for EP 6.0. These guidelines require that the following
information is provided centrally for as many components as possible:
Central Log File Monitoring
Component Availability
Single Activity Trace
Central Configuration Information.
This Best Practice describes the configuration of these requirements for EP6.0 SP1.
As a prerequisite for using this Best Practice, the system in which the information listed above is to be
centrally displayed should fulfill the following conditions:
The central monitoring system / Solution Manager has SAP Basis 6.20 and Basis Support Package
29 (this system is abbreviated to CEN in subsequent sections).
The Transport Management System is configured in CEN.
The result of working through this Best Practice is that you will see the various components of an EP6
environment in the alert monitor of the monitoring architecture (transaction RZ20). These components are
now centrally monitored, and you can see all relevant system management information and performance
values and alerts for the EP6 environment in the alert monitor.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 6
collaboration tools, SAP Enterprise Portal integrates people, and with its knowledge management of
unstructured data, and its unification of structured data, it integrates information.
For its users, the portal provides a window onto information both in their organization and outside it, along
with the tools to manage this knowledge, to analyze and interrelate it, and to share and collaborate on the
basis of it.
The core technology components which bring this breadth and depth of information to the portal desktop
make up its content, and the basic unit of this content is the iView. An iView is a mini-application which
fetches information from any of a variety of sources, such as databases, enterprise applications, file
systems, and the Web, returning up-to-the-minute information each time it is launched.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 7
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 8
EP60
Figure 2:
The Standalone Log Viewer can also display ASCII-based logs for other applications, such as the
database.
Availability Monitoring
Availability cannot be unambiguously defined with regard to IT components. For example, availability can
mean the existence of a process at operating system level. Other definitions of availability could, for
example, include the provision of a service within a certain time, or the average time for executing a user
action between 08:00 - 18:00.
SAP provides a number of different mechanisms for availability monitoring. The mechanisms have the
following in common:
The availability information is usually technical.
Once it has been set up, the availability check is performed periodically and without user interaction.
The result of the check is reported in the central CCMS and therefore also in the Solution Manager. This
means that an availability monitor can be set up centrally that displays the status of the individual
components. It is also possible to implement automation and notifications using auto reactions.
At application level, availability is checked with the Generic Request and Message Generator (GRMG).
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 9
Figure 3:
With GRMG, the central system periodically calls a GRMG application using a URL. The GRMG application
performs component-specific checks and returns the result of the checks to the central system.
SAP delivers a GRMG application for EP6, TREX and for the SAP J2EE Engine.
The availability check can be implemented differently for C-based components. For example, the availability
of the IPC is checked using a shared library (data supplier), which is periodically started by the SAPCCMSR
agent.
If a GRMG check is not possible or not useful for a component, it is possible to at least prove the existence
of the corresponding process at operating system level. A check of this type establishes the necessary (but
insufficient) prerequisite for component availability. The check is performed by the SAP program SAPOsCol
and the SAPCCMSR agent.
Central Configuration
An EP6 system landscape consists of a large number of individual components. If errors occur, it is
important for you to be able to see configuration and version information quickly and centrally, since this is
often important for solving problems.
Components can send their configuration and version information to a central monitoring system using the
SAPCCMSR agent. This information is updated once a minute, and is visible in the CCMS and in the
Solution Manager.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 10
Remote Connectivity
With a fully installed automated solution monitoring and remote connectivity you enable SAP support to also
react appropriately and quickly to every kind of problem. Remote Connectivity set up is only introduced here
and not described.
Figure 4:
General Preparation
Unless otherwise explicitly stated, the following actions at operating system level should always be
performed using the user under which the J2EE Engine runs (<J2EEadm>):
Importing and post processing transport request
Installing agent/SAPOsCol
JMON
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 11
If you do not know the path of the directory <DIR_TRANS>, call transaction AL11 by entering
/nal11 in the command field. The path of the directory is displayed there.
Log on to CEN in client 000 as an administrator.
Start transaction STMS, by entering /nstms in the command field. Choose F5. Double click <CEN>.
For each of the three requests, choose Extras Other Requests Add, and enter the requests
numbers NBSK900051, NBSK900071, and BCEK079130 in that order, and confirm your entries
and the subsequent popup.
Place the cursor on each of the transport request numbers and choose <Control>+F11 in each
case. Enter 000 as the target client and confirm your entry and the subsequent popup.
The transport request initially has the status (Import Queue). Update the display by choosing
Refresh, until this status changes.
Enter an initial password on tab page Logon Data. Repeat the initial password in field Repeat
Password.
Choose ENTER repeatedly, until the test plan has been completely run through and the test plan
log appears. If you do not enter an initial password, the initial password Init is used.
Create CCMS specific background jobs
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 12
Further Recommendations
All the components included in the transport can be created manually. The how-to is described in a later
chapter of this Best Practice. Except the extension of the functions of transaction GRMG, which currently for
6.20 only delivered with the transport, future delivery by SP is planned. With Web AS 6.30 they are a
standard feature.
The SAP programs SAPCCMSR and SAPOsCol should be installed on all hosts in your
monitored system landscape (EP Portal, TREX, and DB).
The operating system collector SAPOSCOL is a stand-alone program that runs in the operating system
background. It runs independently of SAP instances exactly once per monitored host. SAPOSCOL collects
data about operating system resources, including:
Process monitoring
SAPOsCol makes the data available to various applications and all SAP instances on a host using a
segment of the shared memory. A CCMS agent or a dialog work process reads the data from the shared
memory. You can display the data in various monitoring architecture monitors or in the operating system
monitor (transactions OS07 and ST06). If the operating system data is read and sent by CCMS agents, you
can display operating system data for any hosts in a central system.
SAPCCMSR creates the connection between the host and the central monitoring system / Solution
Manager.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 13
If the automated installation fails, you can use the Further Information sapccmsr manual
installation.
Microsoft Windows only:
Switch to directory moni_temp and enter install.cmd at the operating system command prompt.
If there is not yet a share \\<host>\saploc, specify a drive letter for the installation.
SAPOsCol is automatically installed as a service with a manual start and the file dev_proc (process
monitoring) is created.
Start the Windows Service Manager, double click service SAPOsCol and set the service type to
Automatic.
Switch to directory \\<host>\saploc\prfclog\sapccmsr.
At operating system level, replace all fields in the csmconf_sc with $<PAR>$ (ensure that you
also replace the $ characters when doing so). You can see exactly which changes you have to
make in the table in section UNIX only below.
Start the installation of the agent by entering (one command, please enter in one row):
sapccmsr -R -f \\<HOST>\saploc\prfclog\sapccmsr\csmconf_sc
pf=\\<HOST>\saploc\prfclog\sapccmsr\j2ee.pf
Check the file sapccmsr.install.log for errors.
UNIX only
Enter:
su root
./install_root.sh
At operating system level, replace all fields with $<PAR>$ in file csmconf_sc (ensure that you also
replace the $ characters when doing so).
Make the following changes:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 14
CEN_ADMIN_USER section
A user with administrator authorization (such as DDIC) is required once here
CEN_CSMREG_USER section
You enter the communication user that you created under Importing a Transport
Request into the Central Monitoring System / Solution Manager [page 10] here.
The file csmconf_sc is identical for all monitored hosts. After editing the file once, you can
therefore use it for all additional hosts.
Start the agent installation by entering the following (one command):
/usr/sap/ccms/bin/sapccmsr R -f /usr/sap/tmp/sapccmsr/csmconf_sc.
You can ignore an error message of the type Could not find <file>.old.
Start the agent manually by entering the following (one command):
/usr/sap/ccms/bin/sapccmsr DCCMS
pf=/usr/sap/tmp/sapccmsr/j2ee.pf
SAPCCMSR and SAPOsCol are to be started when the server is started. Therefore create an
entry in the appropriate operating system file (such as INITTAB); this is usually in directory /etc,
and can only be entered using the root user:
/usr/sap/ccms/bin/saposcol -l
/usr/sap/ccms/bin/sapccmsr DCCMS pf=/usr/sap/tmp/sapccmsr/j2ee.pf
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 15
mkdir /usr/sap/ccms/32bit
mkdir /usr/sap/ccms/bin
mkdir /usr/sap/tmp/sapccmsr
mkdir /usr/sap/tmp/logmon
Check if the downloads SAPCAR have executable rights. If not you can do something like
cd /usr/sap/ccms/32bit
mv SAPCAR_3-10001671.EXE SAPCAR
chmod 775 SAPCAR
Unpack the file for example ./SAPCAR.EXE xvf CCMAGENT<download#>.SAR
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 16
ccmsping
sapcm3x
sapccm4x
rm sapcm3x
rm sapccm4x
The subdirectory sapccmsr will be created during the installation process of the agent.
If the file csmconf does not exist and no f parameter is set during registration (see below) the
file csmconf will be created automatically during registration.
Dialog SAPCCMSR Registration
Register the agent using the following command:
(During registration, the agent automatically creates an RFC connection to the central monitoring
system)
/usr/sap/ccms/bin/sapccmsr R to register
/usr/sap/ccms/bin/sapccmsr U to unregister
Windows
If you want to start the sapccmsr as an NT service you need to register the SAPCCMSR with
the profile file. For example \usr\sap\ccms\sapccmsr\sapssmcr R
pf=/usr/sap/prfclog/sapccmsr/j2ee.pf
Unix
You can give the parameters later during startup of SAPCCMSR.
Additionally you can use the parameter f=<file name>. This is the name of the configuration file for
the dialog-free installation. The default file name is /usr/sap/tmp/sapccmsr/csmconf . The SAPCCMSR
agent will create this file during registration automatically.
The file csmconf_sc is identical for all monitored hosts. After editing the file once, you can
therefore use it for all additional hosts.
Start the agent installation by entering the following (one command):
/usr/sap/ccms/bin/sapccmsr R -f /usr/sap/tmp/sapccmsr/csmconf_sc.
Be aware, that you need a user for every central monitoring system. You must also enter a valid
SAP user in the central monitoring system that is used once to create an RFC connection to the
agent. This user requires the authorization to execute transactions RZ20/21 (S_RZL_ADM with
authorization field ACTVT and value 01) and to enter an RFC destination using transaction
SM59 (S_ADMI_FCD with authorization field S_ADMI_FCD and value NADM.
For more information see CCMS Agents: Features, Installation, Usage.
Information necessary for SAPCCMSR registrations can be seen below in the example csmconf file.
CEN_CONFIG
CEN_SYSID=<SID of monitoring R/3 system>
.
CEN_ADMIN_USER
CEN_ADMIN_CLIENT=<client>
CEN_ADMIN_USERID=<valid user>
CEN_ADMIN_LANG=<language>
CEN_ADMIN_LOADBALANCING=n
CEN_ADMIN_ASHOST=<hostname of application server>
CEN_ADMIN_SYSNR=<instance no. of monitoring R/3 system>
CEN_ADMIN_TRACE=0
CEN_ADMIN_MSHOST=<hostname of message server>
CEN_ADMIN_PASSWORD=<Password of the user>
.
CEN_GATEWAY
CEN_GATEWAY_HOST=<hostname of gateway server>
CEN_GATEWAY_SYSNR=<instance no. of the gateway of the monitoring R/3 system>
CEN_GATEWAY_TRACE=0
.
CEN_CSMREG_USER
CEN_CSMREG_CLIENT=<client>
CEN_CSMREG_USERID=<valid user>
CEN_CSMREG_LANG=<language>
CEN_CSMREG_LOADBALANCING=n
CEN_CSMREG_ASHOST=<hostname of application server>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 18
CEN_CSMREG_TRACE=0
CEN_CSMREG_MSHOST=<hostname of message server>
CEN_CSMREG_PASSWORD=<Password of the user>
.
Both ADMIN_USERID and CSMREG_USERID must be valid R/3 users in the Central Monitoring System
with RFC privileges.
Explanations can be found below in Troubleshooting Shared Memory Segment of how to use
this profile.
Example
/usr/sap/ccms/bin/sapccmsr DCCMS pf=./usr/sap/tmp/sapccmsr/j2ee.pf
Stopping
/usr/sap/ccms/bin/sapccmsr stop
Status
/usr/sap/ccms/bin/sapccmsr status
MS Windows
On windows you start and stop the SAPCCMSR as a Windows service.
UNIX and MS Windows
On stopping the SAPCCMSR writes the shared memory content in the files
/usr/sap/tmp/A*
Troubleshooting SAPCCMSR
Checking the successful operation of the agent can be done by inspecting the log:
Check the log-file sapccmsr<pid>.log
Check whether your user id has the administrative rights to start a service on Windows
environment.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 19
To avoid this connection problem you need to grant rwx permission to the SAP agent working
directory.
Then start the agent as user j2eeadm.
This issue will be resolved with version 6.x of the jmon.
Make sure that the users belong to one user group as there are possible concurrent creators of the
shared memory segment 0x4dc4 rsp. .99. The first creator becomes owner each creator which is
started later only connects to the segment and it is no longer possible to change the properties of the
segment. Therefore you need to make sure that the shared memory segment is created with the
necessary properties.
Necessary properties are:
- Hostname < 13 characters
(13 characters are a limitation of the CCMS - if your hostname is longer than 13 characters you
need to set a shorter one here)
- Segsize > 64 MB
If the properties of the shared memory segment differ from this, you have to stop the J2EE Engine and
every other agent which is attached to the segment NATTCH= <X>.
Be sure that everything is stopped and NATTCH=0
Delete the shared memory segment with /usr/sap/ccms/sapccmsr initshm
Create a new segment with the necessary properties by starting the SAPCCMSR with a profile that
contains the necessary startup profiles.
Unix
Create a file, for example j2ee.pf within the directory where your SAPCCMSR resides.
cd /usr/sap/tmp/sapccmsr/
touch ./J2ee.pf
vi ./j2ee.pf
alert/MONI_SEGM_SIZE=64000000
ipc/shm_permission_1008=760
Definitions
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 20
SAPLOCALHOST
The name of the contexts the data is written to (Hostname < 13 characters)
alert/MONI_SEGM_SIZE
size of the segment
ipc/shm_permission_1008
authorizations of the segment
Please find further information in SAP note 300464.
Save the entry and exit the file :wq
Usage during installation:
./sapccmsr R pf=/usr/sap/tmp/sapccmsr/j2ee.pf
Usage during normal startup
./sapccmsr DCCMS pf=/usr/sap/tmp/sapccmsr/j2ee.pf
Further information about installation of SAPOsCol can be found in SAP note 19227.
Process monitoring with SAPOsCol
SAPOsCol enables you to monitor selected processes on an operating system level, such as SVR1 and
DISP1. To monitor selected processes with SAPOsCol, you must specify information about the desired
processes or their owners in the configuration file dev_proc. This file must be in the SAPOsCol working
directory, /usr/sap/tmp/, where the file dev_coll resides.
More detailed information about process monitoring with SAPOsCol is available via the Service Marketplace
(http://service.sap.com/monitoring SAPOsCol operating system collector.) and in SAP notes 451166 /
566840.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 21
the J2EE service nodes. The Java virtual machine does not recognize this parameter, but the syntax is
correct, so the virtual machine does not throw an exception, but ignores the parameter.
Unix with ps ef | grep java will show you this pseudo parameter.
The SAPOsCol will also report the performance data of the process into the CCMS with this pseudo name.
Tthere you can assign auto reaction methods to it (see below).
Due to different start up methods of the portal there are different files where this parameter has to be
maintained. The files for a standard start up with unixdeamon start are described here.
The parameter for the dispatcher is to be added to the
/usr/sap/<Portal>/j2ee/j2ee_01/configtool/service.ini
Service_0_MainClass=com.inqmy.boot.Start
ServiceCount=1
Service_0_RootDir=/usr/sap/EP0dir/j2ee/j2ee_01/cluster/dispatcher
Service_0_Timeout=10000
Service_0_JavaPath=/usr/j2se/
Service_0_Name=cluster/dispatcher
Service_0_ShutdownKey=125-36-125-107-75-1269225-287
Service_0_Port=5501
Service_0_Parameters=
Service_0_JavaParameters=-D:DSP -Dmemory.manager=64M -Xmx64M -Xms64M -classpa
th ".;.\system-lib\boot.jar;" -Djava.security.policy=.\java.policy -Dorg.omg.C
ORBA.ORBClass=com.inqmy.services.iiop.internal.ORB -Dorg.omg.CORBA.ORBSingleton
Class=com.inqmy.services.iiop.internal.ORB -Djavax.rmi.CORBA.PortableRemoteObje
ctClass=com.inqmy.system.PortableRemoteObjectProxy -Djavax.rmi.CORBA.UtilClass=
com.inqmy.system.UtilDelegateProxy
The parameter for the server started by the dispatcher is to be added
/usr/sap/<Portal>/j2ee/j2ee_01/cluster/server/cmdline.properties
#
#Wed Sep 10 22:53:34 CEST 2003
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 22
Parameters=
MainClass=com.inqmy.boot.Start
JavaParameters=-server -D:SVR1 -Dmemory.manager\=1024M -Xmx1024M -classpath ".;.
\\system-lib\\boot.jar;.\\system-lib\\jaas.jar;" -Djava.security.policy\=.\\java
.policy -Dorg.omg.CORBA.ORBClass\=com.inqmy.system.ORBProxy -Dorg.omg.CORBA.ORBS
ingletonClass\=com.inqmy.services.iiop.internal.ORB -Djavax.rmi.CORBA.PortableRe
moteObjectClass\=com.inqmy.system.PortableRemoteObjectProxy -Djavax.rmi.CORBA.Ut
ilClass\=com.inqmy.system.UtilDelegateProxy -XX:NewSize\=256M -XX:PermSize\=128M
-XX:+DisableExplicitGC -Xms1024M
$PROC
#
# ProcessName User
#
#J2EE Server
*SRV1* j2eeadm
*SRV2* j2eeadm
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 23
*DSP* j2eeadm
#TREX
*TREXDaemon.x* trexadm
*TREXFilter.x* * trexadm
*TREXIndexServer.x* * trexadm
*TREXPreprocessor.x* trexadm
*TREXQueueServer.x* trexadm
*TREXNameServer.x* trexadm
#Apache
*Httpd* trexadm
# Oracle
$
Please find a dev_proc in the appendix.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 24
/usr/sap/tmp/dev.put
Troubleshooting
In case of problems start you can start with SAP Note # 48699.
Installing JMON
You need to perform the actions in this section for hosts on which a J2EE Engine is running.
If you have installed multiple J2EE Engines on one host, you must perform these steps for each J2EE
Engine. Monitoring data for the SAP J2EE Engine can be written to SAPCCMSRs shared memory using
JMON. JMON consists of a Java section and an operating system specific section. These two sections
must:
- Match each other
- Match the operating system (note that the bit version is not important here)
- Match the VM of the J2EE Engine with regard to the bit version
Configuring jmon
Switch to the directory moni_temp.
Copy the file jmonapi.jar to all of the locations in your SAP J2EE Engine 6.20 where the old version
currently exists.
UNIX
You can find these locations using for example the command
find /usr/sap name jmonapi.jar
Troubleshooting
The jmonapi writes two trace files, which have to be checked in case of errors:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 25
../cluster/server/ccms_agent.trc
and
../cluster/server/ccms_jmon.trc
(MS Windows and Unix differences here are purely in the direction of the slashes).
# --------------Auto Execution----------------
# This will be automatically executed. If there are no autoexec #properties
# the 'connect' command should be typed manually on the Monitor Server #console.
shell.autoexec.0=help
shell.autoexec.1=connect
#-----------------Connection Parameters--------------------------------
# # Default values : localhost, Administrator , ""
#
java.naming.provider.url=10.15.201.117
java.naming.security.principal=PerformanceGuru
java.naming.security.credentials=LetsPerformBetter
#
#
#------------------Monitoring Reports Frequency------------------------
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 26
monitor.report.gap=30000
# Full path or just name of folder. If only the name of folder is selected this folder will
# be created in the same folder where monitor.bat is located.
monitor.system.FS.path=monitoring_html
Explanations
java.naming.provider.url = your hostname:<p4 port>
If you run multiple installations of the SAP J2EE Engine on the same machine, you must set up
a monitor server for each installation. To avoid conflicts, add the following 2 lines to the
beginning of the configuration file properties. Replace <p4port> with the port you use to
connect via the administrator
(you can easily check the default p4 port in the file <J2EE_INSTDIR>/prepconf.log)
java.naming.security.principal = your administrator <name>
Do not confuse the <j2eeadm> with the administrator. The administrator is therefore created
with an empty password by default; you should also ensure that you remove the comment
symbols in the appropriate lines:
monitor.system.VA.port = <vaport>
Replace <vaport> with any free port (by default the port is 5555).
monitor.system.CCMS.root = <monitor_context>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 27
<monitor-context> is extremely important if you want to connect more than one installations
of the SAP J2EE Engine to the same CCMS. It must be system-wide unique. For this purpose,
change the default value (SAP J2EE Engine) to some unique identifier that includes, for
example, the host name.
Save and exit these text file properties.
Once the nodes are connected to the monitor server you can check the monitoring data from within the
visual administrator (monitor service) or if you call GUI from within the prompt of the monitor servers.
Now, you can see an additional java process on operating system level.
Check the monitor data in the visual administrator.
Once the monitor server and the SAP J2EE Engine are running, you should be able to see the monitor data
in the visual administrator.
Launch the Visual Administrator:
UNIX
<J2EE INSTDIR>/admin/go
MS Windows
<J2EE INSTDIR>/admin/go.bat.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 28
Figure 5:
The monitoring data for the SAP J2EE Engine is transferred to the SAPCCMSR agent using the monitoring
server, and can therefore be displayed in CEN. You can view the data in the alert monitor in the sub tree
SAP_CCMS_<Hostname> SAP J2EE Engine in the Monitor System / All Monitoring Segments / All
Monitoring Contexts of the monitor set SAP CCMS Technical Expert Monitors.
Mmore informationcan be found in the following chapters: Defining a CCMS Monitor for the J2EE Engine,
SAP J2EE Version monitoring, SAP J2EE Service Status Monitoring, SAP J2EE Workload Monitoring.
Troubleshooting
If you cannot see the sub tree, check whether the process SAPCCMSR is actually running (under UNIX, for
example, with the command ps ep | grep sapccmsr).
If the agent is not running:
Enter the command sapccmsr initshm
Restart the agent.
Errors in the J2EE monitor server are written to a log at
<J2EE_INSTDIR>/cluster/<server>/services/log/work.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 29
Generating the INI Files for Automatic Monitoring of the J2EE Engine Log Files
The J2EE monitoring server generates the 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 its console:
Microsoft Windows
UNIX
No confirmation message is displayed. The following folders are created in the directory \logmon:
ALERT
CRITICAL
DEBUG
...
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 30
LogFile C:\SAP_J2EE6.20\monitor_templates\ALERT\a-21-log.ini
LogFile C:\SAP_J2EE6.20\monitor_templates\ALERT\a-54-log.ini
LogFile C:\SAP_J2EE6.20\monitor_templates\ALERT\a-62-log.ini
LogFile C:\SAP_J2EE6.20\monitor_templates\ALERT\a-70-log.ini
LogFile C:\SAP_J2EE6.20\monitor_templates\ALERT\a-79-log.ini
The INI files point to the actual paths of the J2EE Engine log files, such as
C:\SAP_J2EE6.20\alone\managers\log.
Under UNIX, you can automate this registration by entering the following single command
(note the sign double greater than [>>]):
grep LogFile /usr/sap/tmp/logmon/ALERT/log_templates.summary >>
/usr/sap/tmp/sapccmsr/sapccmsr.ini
...
Generating the INI Files for Automatic Monitoring of the Log Files of J2EE
Applications
<J2EE INSTDIR>/admin/go
MS Windows
<J2EE INSTDIR>\admin\go.bat.
In the visual administrator, start the Log Viewer Service (Cluster Server Services Log
Viewer).
Make the following entries in the Properties:
Logviewer_FlagForGeneratingCCMSTemplate = 1
UNIX:
Logviewer_output_directory = /usr/sap/tmp/logmon
MS Windows:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 31
Logviewer_output_directory = <drive>:\usr\sap\prfclog\logmon
Figure 6: tab page Properties in the Log Viewer service of the visual administrator
Save your entries and restart the Log Viewer service.
The INI files are automatically created in directory logmon.
UNIX:
Stop and restart the agent manually:
/usr/sap/ccms/bin/sapccmsr stop
pf=/usr/sap/tmp/sapccmsr/j2ee.pf
/usr/sap/ccms/bin/sapccmsr DCCMS
pf=/usr/sap/tmp/sapccmsr/j2ee.pf
MS Windows:
Restart the agents service SAPCCMSR.99 under Start Settings Control Panel
Administrative Tools Services.
The SAPCCMSR automatically loads the *ini files in the described directory ../logmon for
reporting them into the CCMS.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 32
Integrate the Monitoring Server into a Cluster Node for Automated Start up
After you generate the *ini files you should configure the J2EE monitor server for automatic start up.
startmonitorserverX
Windows
UNIX
Check the file paths contained in the file; these are specified in the DIRECTORY parameters.
Adjust them to your environment, depending on the location of the TREX installation directory.
DB Oracle
MS Windows
UNIX
Check the file path specified in the DIRECTORY parameter, and adjust it, depending on the location
of the Oracle installation directory in your environment.
Adjust the file name specified in the FILENAME parameter to your environment, by replacing <SID>
with the ID of the database system.
MSSQL
Copy the file MSSQL-Logfile_Logmon.ini
from directory moni_temp to <drive>:\usr\sap\prfclog\logmon.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 33
Check the file path specified in the parameter DIRECTORY, and adjust it, depending on the location
of the MS SQL installation directory in your environment.
J2EE J2EE
6.30 6.30
Log Viewer
Client SAP Support
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 34
There is a template for this file with the name logdirectory.xml in folder moni_temp. Adjust the file paths
appropriately. If you want to view additional files centrally, extend the list as required. Each line of the file
specified a log file with its path, file name and its format, and has the structure:
<log pattern="<complete file name>" formattype="ASCIIFormat|ListFormat" />
Save the file in directory server, which is in directory logviewer-standalone that you just created for
the installation of the Log Viewer server.
You now have created a list that is modified for your circumstances, and which contains all files that the
Standalone Log Viewer is to monitor.
You can obtain the port for the Log Viewer server from the file LogViewerServer.properties. The
default port is 1099.
Test Connection checks whether a connection can be made.
Optional: Displaying Other Log Files Non-continuously
To display other log files in the Standalone Log Viewer,
Choose File Add a file from the Log Viewer menu.
The relevant file is displayed until the next restart of the Log Viewer.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 35
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 36
Unless otherwise stated, the search patterns FATAL and ERROR are used for all Java based log files, and
trigger a red alert in the CCMS.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 37
Monitoring in the CCMS is OK, but not with the common roles errors and fatal errors may not
be marked as red.
Non-Java
LDAP Server
SUN/IPlanet:
Log files: ...\iPlanet\Servers\slapd-<servername>\logs
Filename: error
Novell:
Log files: ...only on the fly; it is not known where this data is stored.
ADS:
Log file: Microsoft Windows Eventlog
Siemens DirX:
Log file: ...\Siemens\DirX\Server\Audit\audit.log (unfortunately binary)
TREX
c:\SAP\TREX_6\trace\TrexQueueServer.*
c:\SAP\TREX_6\trace\TrexIndexServer.*
c:\SAP\TREX_6\trace\TrexNameServer.*
c:\SAP\TREX_6\trace\TrexPreprocessorServer.*
c:\SAP\TREX_6\trace\TrexFilter.*
c:\SAP\TREX_6\trace\TREX_HTTP_SERVER_Trace.txt*
c:\SAP\TREX_6\trace\TREX_HTTP_SERVER_Log.txt
Database
Oracle
The associated log file template Ora_Unix-Logfile_logmon.ini or Ora_Win-Logfile_logmon.ini is in
directory moni_temp.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 38
MSSQL
The associated log file template MSSQL-Logfile_logmon.ini is in folder moni_temp.
<hostname> = localhost
<port> = as that maintained in the parameter Logviewer_socketPort=5465 in
<J2EEINSTDIR>\tools\logviewer_server\LogViewerServer.properties
<logfile name> = log name with complete path
<logfile_type> = SAPJLog or SATLog or ASCIILog
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 39
Availability Monitoring
Availability monitoring of the J2EE Engine
Is done by the J2EEngineMonitorServer as described in the chapters Monitoring the J2EE Engine and SAP
J2EE Service Status Monitoring.
<scendesc> GRMG_HTTP_EP6
the description of the scenario is shown as in the CCMS.
<scenstarturl>http://...
replace the placeholders for:
<compname>TestSAP</compname>
edit the property values according to the logon data for your backend system.
<propname>SAPClient</propname>
<propvalue>...
<propname>userid</propname>
<propvalue>...
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 40
propname>password</propname>
<propvalue>...
<propname>host_name</propname>
<propvalue>...
<propname>system_number</propname>
<propvalue>...
<compdesc>Component_TestWeb
line http://localhost:50000/irj/...
Enter a URL of your portal you want to be checked regularly
Save the file on your front end.
Figure 7:
(this screenshot is from a Web AS 6.20 without the transport as described in the chapter Importing a
Transport Request into the Central Monitoring System/Solution Manager)
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 41
Figure 8:
(this screenshot is from a Web AS 6.20 with the transport as described in the chapter Importing a
Transport Request into the Central Monitoring System/Solution Manager)
In the table, select the scenario that you have just uploaded and choose Start sel.
You have now successfully activated the GRMG check for EP.
Start transaction RZ20 by entering /nrz20 in the command field, and open the Availability
Monitoring monitor in your monitor set <my monitor set>.
A few minutes later the GRMG results will be displayed in sub tree Availability checked by GRMG (JAVA)
HTTPS GRMG_https_EP6. If the EP as a whole becomes unavailable, the monitor displays
corresponding error messages in sub tree MoniInfra_... RunStatus/Error Messages.
Call transaction RZ20 and choose SAP CCMS Technical Expert Monitor.
Double click All Monitoring Context.
Here open the MoniInfra_<ccms-hostname>_<SID>_<SysNr> of your CCMS system.
Figure 9:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 42
Browse the tree All Monitoring Context for your scenario description as given in the GRMG
configuration file described above.
Example <scendesc>EP_Heartbeat_n1</scendesc>
Figure 10:
For detailed information about additional GRMG EP checks, see the EP documentation.
GRMG tests using HTTP may transfer user and password information across the network in plain text. You
can avoid this by using SSL/HTTPS.
In the future, the GRMG check will also include availability tests for LDAP and the database.
There are 4 scenarios currently delivered for GRMG Heartbeat Monitoring of the Portal:
- The first scenario describes the availability check of the Portal.
- The second scenario describes the availability test for the SAP J2EE cluster nodes.
There is no adjustment necessary.
- The third scenario describes the availability test of connected SAP Systems with a Web AS or an
R/3 basis. Configure the connection data accordingly to your jCodestination.xml. The GRMG test
will check if the SAP system is available for the portal.
- The fourth scenario describes availability test for URL.
You can check the availability of a specific URL.
- <propvalue> URL to
http://<server>:<http_port>/irj/portalapps/com.sap.portal.heartbeats/html/heartbeat.html</propvalue>.
This can be the server and port of your portal installation or of your load balancer.
Save your work and give the grmgRequestCust.xml a distinguished name for example
grmg<servername>.xml.
Troubleshooting
You can simply check if the xml file is well formed by opening it with an IE. The IE will give you an indication
of whether the xml file is well formed or not.
If the EP GRMG as a whole becomes unavailable, the monitor displays the corresponding error messages
in sub tree MoniInfra_... RunStatus/Error Messages.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 43
If you have problems during this step, switch to the bash shell for the execution of the step by executing the
bash command.
Unix and MS Windows
Copy the TREX GRMG server files.
Copy the following TREX GRMG server files from directory moni_temp to directory:
<TREX_home_directory>/TREX_6/python_support/test_tools/lib:
TREXgrmg.py
TREXgrmgconf.py
TREXgrmgparse.py
TREXgrmgsrvcheck.py
installed.xml
grmgconfig.xml
If the TREX GRMG server files already exist make sure that you use the latest version.
Unix
Make sure that the owner is TREX administator for all files in <TREX_6 installation
dir>/python_support/test_tools/lib. Make also sure that all files have execution
authorization for the group.
For example trexadm:sapsys.
As root:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 44
MS Windows
Make installed.xml writeable (remove the read only flag) and open it with an appropriate editor
(not MS Notepad).
Replace <hostname> with your host name. There is no fully qualified host name necessary. Please
be aware that if your CCMS is on a Web AS 6.20 the TREX host needs an entry in the DNS.
(A ping on the host must return a fully qualified host name).
<?xml version="1.0" encoding="UTF-8"?>
<components>
<component name="IS_01" installed="X">
<property name="HOST" value="hostname"/>
<property name="PORT" value="8351"/>
</component>
<component name="QS_01" installed="X">
<property name="HOST" value="hostname"/>
<property name="PORT" value="8352"/>
</component>
<component name="PP_01" installed="X">
<property name="HOST" value="hostname"/>
<property name="PORT" value="8357"/>
</component>
<component name="NS_01" installed=" ">
<property name="HOST" value="hostname"/>
<property name="PORT" value="8355"/>
</component>
<component name="WS_01" installed="X">
<property name="URL" value="http://hostname:8353/trexhttpserver/trexhttpserver.dll"/>
</component>
</components>
Please find an example installed.xml in the appendix.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 45
If installed has the value X, the server in question is to be checked. The name server is not active by
default, so it should also not be checked. This is why the entry for the name server has a blank character in
place of the X. This causes CCMS to register OK and to produce the entry not installed.
<component name="NS_01" installed=" ">
cd <TREX_6 install-dir>\
. TREXSettings.sh
cd <TREX_6 install-dir>\python_support\test_tools\lib
python TREXgrmg.py 8366
starting on port:
8366
Now you can run the process in the background to be able to use or leave the terminal:
cntrl + z
bg
MS Windows
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 46
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 47
<scenname>TREX001</scenname>
<scenversion>001</scenversion>
<sceninst>01</sceninst>
<scentype>URL </scentype>
<scenstarturl>http://host:8366/</scenstarturl>
<scenstartmod>Unknown</scenstartmod>
<scentexts>
<scentext>
<scenlangu>EN</scenlangu>
<scendesc>TREX on host xyz </scendesc>
</scentext>
</scentexts>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 48
Add the new monitor to your monitoring set as described in chapter Set up CCMS in a central
monitoring landscape.
MS Windows
Add the following entry to the <your_TREX_install_directory \TREXDaemon.ini file:
[daemon]
programs=indexserver, queueserver, preprocessor, isapiregister, grmg
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 49
[grmg]
executable=<you_python_install_dir>\python.exe
arguments=<your_TREX_install_directory>\python_support\test_tools\lib\TR
EXgrmg.py
startdir=<your_TREX_install_directory>\python_support\test_tools\lib
instances=1
If you want the TREX GRMG server to be started on another port, for example 8777, enter the
following:
arguments="<your_TREX_directory>\python_support\test_tools\lib\
TREXgrmg.py" 8777
Troubleshooting
If the EP as a whole becomes unavailable, the system displays corresponding error messages in sub tree
MoniInfra_... RunStatus/Error Messages.
UNIX
If the TREX Apache web server did not react properly please check with:
netstat a | grep 8353 if the port is not blocked
If the TREX Apache web server did not react on restart of the TREX shut down the Apache manually as
<trexadm>:
apachectl stop
and start the web server again with:
apachectl start
Create PSE and configure the ICM (internet connection manager) for HTTPS
Installing the cryptographic Library into the J2EE Engine of the Portal
Create the key pair and configure the J2EE Engine for HTTPS
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 50
You must comply with German export regulations in order be able to receive the SAP Cryptographic Library.
The distribution of the SAP Cryptographic Library is subject to and controlled by German export
regulations and is not available to all customers. In addition, the library may be subject to local
regulations in your own country that may further restrict the import, use and (re-)export of
cryptographic software. If you have any further questions on this issue, contact your local SAP
subsidiary.
The SAP Cryptographic Library installation package sapcrypto.car contains the following files:
The SAP Cryptographic Library (sapcrypto.dll for Windows NT or libsapcrypto.<ext> for UNIX)
A corresponding license ticket (ticket)
The configuration tool sapgenpse.exe
The JDK 1.3.1 supports only 32-bit applications. Thus you need the 32-bit SAP Cryptographic
Library for the J2EE Engine, independent of the operating system you are running.
If your Web AS runs with 64-bit, you have to use the 64-bit library for the ABAP kernel and the 32-bit library
for the J2EE Engine.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 51
UNIX:
DIR_EXECUTABLE: /usr/sap/<SID>/SYS/exe/run/
Location of SAP Cryptographic Library: /usr/sap/<SID>/SYS/exe/run/libsapcrypto.so
Windows NT:
DIR_EXECUTABLE: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\
Location of SAP Cryptographic Library: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\sapcrypto.dll
Copy the configuration tool sapgenpse.exe to any local directory, for example, also
$(DIR_EXECUTABLE).
Check the file permissions for the SAP Cryptographic Library.
If, for example, you copied the library to its location using ftp on UNIX, then the file permissions
may not be set correctly. Make sure that <sid>adm (or SAPService<SID> under Windows NT) is
able to execute the library's functions.
Copy the ticket file to the sub-directory sec in the application server's instance directory
$(DIR_INSTANCE):
UNIX:
DIR_INSTANCE: /usr/sap/<SID>/<instance>
Location of the ticket: /usr/sap/<SID>/<instance>/sec/ ticket
Windows NT:
DIR_INSTANCE: <DRIVE>:\usr\sap\<SID>\ <instance>
Location of the ticket: <DRIVE>:\usr\sap\<SID>\ <instance>\sec\ticket
Set the environment variable SECUDIR to the sec sub-directory. The application server uses this
variable to locate the ticket and its credentials at run-time.
If you set the environment variable using the command line, then the value may not be applied
to the application server's processes. Therefore, we recommend setting SECUDIR in the
startup profile for the application server's user or in the registry (Windows NT).
Result
The SAP Cryptographic Library is installed on the application server and the environment is set up correctly
so that the application server can locate the library at run-time.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 52
o UNIX: /usr/sap/<SID>/SYS/exe/run/libsapcrypto.soWindows
o NT: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\sapcrypto.dll
sec/libsapsecu
path and file name of the SAP Cryptographic Library
o UNIX: /usr/sap/<SID>/SYS/exe/run/libsapcrypto.soWindows
o NT: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\sapcrypto.dll
ssf/ssfapi_lib
path and file name of the SAP Cryptographic Library
o UNIX: /usr/sap/<SID>/SYS/exe/run/libsapcrypto.soWindows
o NT: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\sapcrypto.dll
ssf/name
o UNIX: SAPSECULIB
o NT: SAPSECULIB
icm/plugin_<xx>
o <xx>
the number of the ICM plug-in. By default 0 is used for HTTP, and 1 for HTTPS.
Example
icm/plugin_1=PROT=HTTPS,PLG=/usr/sap/CT5/SYS/exe/run/httpplugin.so
icm/server_port_<xx>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 53
Ignore the warnings that the parameters are not known to the system.
Restart the application server.
Use a system-wide PSE for those application servers that are accessed via a Network Address
Translator (NAT). Use the NAT's fully-qualified host name as the Common Name (CN) part of
the Distinguished Name.
Prerequisites
You know the naming convention to use for the server's Distinguished Name. The syntax of the
Distinguished Name depends on the Certification Authority (CA) you use.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 54
The SSL entries are only visible if the SAP Cryptographic Library is installed and the profile
parameters are set and active.
Enter the distinguished Name parts for the default SSL server PSE in the corresponding fields.
Name = <host_name>
Use a wildcard for the host_name for the default SSL server PSE. (*.<domain>).
Org. (opt.) = Test
Comp./Org. = MyCompany
Country = US
If you use the SAP CA, see the SAP Web AS certificate request area on the SAP Service
Marketplace at http://service.sap.com/tcs for information on how to determine the server's
Distinguished Name.
If you want to use a reference to a CA name space, then elements contained in the CA's name
space are automatically used for the server's Distinguished Name. In addition, you cannot
modify the Country field. Use the toggle function to activate or deactivate the reference to a CA
name space.
The system uses these components to build a default Distinguished Name to use for a system-wide PSE, as
well as for building the server-specific names for individual PSEs.
The SSL Server screen then appears. In this screen, you can decide whether the individual application
servers should use the default Distinguished Name and system-wide SSL server PSE or individual PSEs.
The default Distinguished Name appears in the Default PSE DN field. The server-specific Distinguished
Names appear in the table in the Distinguished Name column.
If necessary, modify or delete any of the individual application server's Distinguished Names to
meet you own needs.
Delete the distinguished name entry for any servers that should receive the default
distinguished name.
Assign the same Distinguished Name to all servers that are to be accessed via a NAT.
Modify the distinguished name to adhere to your CA's naming convention (for example, adding
an attribute such as L=<Locality>).
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 55
If the system could not determine a Distinguished Name for the server, then an error has
occurred (for example, the ICM has not been installed on the server).
Choose Enter.
You return to the Trust Manager screen.
Result
The system creates the SSL server PSEs SAPSSLS.pse and distributes them to the individual application
servers.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 56
Result
The system creates the SSL server PSEs SAPSSLC.pse and distributes them to the individual application
servers.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 57
Start the standard BSP test application IT00 with the URL.
https://host123.mycompany.com:443/sap/bc/bsp/sap/it00/default.htm.
If your Web browser cannot completely verify the SAP Web AS's server certificate, then you will receive a
dialog stating the reason. For example, if your Web browser does not possess the issuing CA's root
certificate as a trusted root certificate, then you are informed and have the opportunity to trust the server at
this time.
If you have problems calling the URL please check if the service is active in transaction SICF. You need to
navigate through the tree according to the called URL.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 58
Result
The ICM is enabled to accept incoming SSL communication requests.
Process Flow
To enable SSL on the SAP J2EE Engine the following steps are required
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 59
Sign the agreement on export regulations (if this is your first visit to the site).
Select the Java Cryptographic Toolkit and download it to a temporary directory on your system.
Obtain the SAPCAR.exe tool (see SAP Note 212 876)
Create a directory named CryptoToolkit in the temporary directory mentioned above
Open a command window in the CryptoToolkit directory
Unpack the Java Cryptographic Toolkit
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 60
If you connect remotely to the J2EE Engine through the Administrator tool, the libraries have to
be available in directory local /admin/lib.
Copy the Java archive file w3c_http.jar to the following directory:
<J2EE-dir>/cluster/server /additional-lib
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 61
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 62
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 63
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 64
If the tab Runtime is not displayed, check whether the IAKI libraries are available in the
/admin/lib directory of your Administrator tool.
Change to the Certificate Generation tab.
For the Common Name you might use the fully qualified host name that you want to use in com-
munication with the J2EE Engine
After changing the Common Name value, submit your editing with the TAB key.
The entry in the field edited last will only become active, if you navigate away from this field.
Choose a name for the certificate and enter it in the Key Alias field.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 65
Based on your editing, the SAP J2EE Engine Administrator generates a new key record containing a self-
signed certificate. It stores the key record in the keystore of the SAP J2EE Engine.
Result
You have created a key pair and a self-signed certificate in your keystore.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 66
If you are using the cluster version of the J2EE Engine with several server nodes, it is sufficient
to configure the SSL service only on one server node.
Choose Dispatcher One and activate the Server Identity tab in the lower right pane.
Assign your server certificate to new and active sockets as follows:
Choose New Sockets in the Configuration pane.
Choose Add in the Certificates tab and select your server certificate from the pop-up list.
Close the pop-up list with OK.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 67
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 68
Result
Your Portal has been enabled for SSL communication.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 69
In the next screen choose the tab Details and then Copy to File.
Use the Certification Export Wizard to copy the certificate to a directory on your PC.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 70
Import the certificate from your PC into the SSL Server PSE as well as into the SSL Client PSE.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 71
Now you can configure the GRMG test as described in the chapter GRMG Check of the Portal with the
single difference that you need to adapt the grmgRequesthttps_template.xml (it is a different scenario
name and https port).
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 72
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 73
Here for example the SSL Server pse SAPSSLS.pse does not contain the right certificate to
connect to the portal J2EE.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 74
Edit the file dev_proc. Ensure that the file begins with $PROC and ends with $. Enter a new line
with the following content between the start mark $PROC and the end mark $:
*sqlservr.exe*
Open the Windows Service Manager and stop and restart the SAPOsCol service.
Configuring the Oracle Availability Check
Switch to SAPOsCols working directory //<host>/saploc/prfclog (Microsoft Windows) or
/usr/sap/tmp (UNIX).
Edit the file dev_proc. Ensure that the file begins with $PROC and ends with $. Enter new line(s)
between the start mark $PROC and the end mark $ with the following content:
MS Windows
*oracle.exe*
UNIX
*ora_arc*
*ora_reco*
*ora_smon*
*ora_ckpt*
*ora_lgwr*
*ora_dbw*
*ora_pmon*
Save your changes.
MS Windows
Open the Windows Service Manager and stop and restart the SAPOsCol service.
UNIX
Restart SAPOsCol manually. To do this, switch to /usr/sap/ccms/bin and enter the following
commands:
saposcol k (stops the process)
saposcol l (starts the process)
You have now successfully activated process monitoring for the database processes.
Start transaction RZ20 by entering /nrz20 in the command field and open the Availability Monitoring
monitor in your monitor set <my monitor set>.
After a few minutes, the results appear in the sub tree OS Process Availability Processes monitored by
SAPOsCol. You can also find information about the availability of SAPOsCol and SAPCCMSR there.
You can monitor any processes at operating system level in this way. You can optionally make
the following entries in dev_proc depending on the components to be monitored:
#J2EE Server *java*
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 75
#TREX *TREXDaemon.exe*
*TREXFilter.exe*
*TREXIndexServer.exe*
*TREXPreprocessor.exe*
*TREXQueueServer.exe*
*TREXNameServer.exe*
#IIS
*Inetinfo.exe*
*dllhost.exe*
Ensure that the file begins with $PROC and ends with $.
You can monitor any processes at operating system level in this way. You can optionally make
the following entries in dev_proc depending on the components to be monitored:
#TREX *TREXDaemon.exe*
*TREXFilter.exe*
*TREXIndexServer.exe*
*TREXPreprocessor.exe*
*TREXQueueServer.exe*
*TREXNameServer.exe*
#IIS
*Inetinfo.exe*
*dllhost.exe*
# Novel eDirectory
*dhost.exe*
The processmonitoring appears in the CCMS.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 76
As of EP6 SP2, EP parameters are automatically transferred to the central monitoring system if
SAPCCMSR and JMON are installed.
To display the aggregated JARM (Java Application Responsetime Measurement) records:
Start transaction RZ20 in the central monitoring system, by entering /nrz20 in the command field.
Open the Configuration Monitoring monitor in your monitor set <my monitor set>.
You can view the portal-specific parameters and version information in the J2EE Applications sub
tree.
This data is only transferred if the shared memory segment is correctly set up. SAPCCMSR must be started
with the correct user before JMON and the EP are started.
After proper setup of the portal, the jmon api and the sapccmsr the portal versions and configuration
monitoring appears in rz20:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 77
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 78
Start transaction RZ20 in the central monitoring system, by entering /nrz20 in the command field
Open the monitor Configuration Monitoring in your monitor set <my monitor set>.
You can view the portal-specific parameters and version information in the J2EE Engine sub tree.
Restart SAPCCMSR. Using Microsoft Windows, restart the service with the same name; using
UNIX, enter the following commands:
/usr/sap/ccms/bin/sapccmsr stop pf=/usr/sap/tmp/sapccmsr/j2ee.pf
/usr/sap/ccms/bin/sapccmsr DCCMS pf=/usr/sap/tmp/sapccmsr/j2ee.pf
Check whether the file sapccmsr.log contains entries of the following type:
INFO: PlugIn: trying to load Dynamic Library
c:/usr/sap/prfclog/sapccmsr/trexmon.dll, trace level 1...
INFO: PlugIn: Dynamic Library c:/usr/sap/prfclog/sapccmsr/trexmon.dll
successfully loaded.
INFO: PlugIn manager initialized successfully.
As of this point, using the shared library, the configuration information is sent to the central monitoring
system through SAPCCMSR.
Start transaction RZ20 in the central monitoring system by entering /nrz20 in the command field.
Open the monitor Configuration Monitoring in your monitor set <my monitor set>.
You can view the portal-specific parameters and version information in the TREX sub tree.
Your configuration monitor also displays configuration information about the CCMS agents
registered with the central system and your SAP Web AS.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 79
Search for the user you want to trace (he must not be logged in currently) and click Activate
Tracing.
For more details about registering log files see chapter Standalone Log Viewer.
Start the SAP Log Viewer client, connect with the Standalone Log Viewer server and check the log.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 80
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 81
Open the service SATController by clicking the right mouse button and choose Edit.
Configure the desired time frame in property SATExpirationLength with syntax h for hours or m for
minutes in every language.
This setting is now valid for every user, specific settings for single users are not supported.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 82
A restart of the portal service is necessary in order to enable the setting on each portal node.
[satjarmlike]
file = <sat_file>
<sat_file>
Replace <sat_file> with the destination file of the trace information.
Use a path relative to <TREX INSTDIR> eg.
trace/TrexIndexServer.sat
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 83
trace/TrexQueueServer.sat
trace/TREXPreprocessor.sat
trace/TREXQueueServer.sat
trace/Webserver.sat
Install a Log Viewer server on every TREX host and register the TREX trace files as described in
the chapter Installing and Configuring the Standalone Log Viewer 6.30.
This is background information should you not import the transport as described in Importing a
Transport Request into the Central Monitoring System/Solution Manager.
Log on to the monitoring R/3 system, and call transaction RZ20.
Click the button Create to create a new monitor set and click Enter.
Click Enter.
The message Monitor set Portal Monitor EP60 was saved appears in the status line.
Position the cursor on the monitor set and click the button Create to create a new monitor.
Adding a new Monitor
Expand the tree that belongs to the SID of the monitoring R/3 system and select the monitor
elements that are of interest.
As an example, we suggest selecting the following element if you do not send data to the CCMS from one of
your EP component servers:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 84
System Configuration
This element shows some configuration data from the monitoring R/3 system itself, which can be removed
later on because at least one element needs to be selected to create a monitor. In case you have already
installed the SAPOSOL and the CCMS Agent to report data into the monitoring R/3 system you should
choose the elements that are of interest instead.
Click Save.
Click Enter.
Expand the monitor set Portal Monitor 60 and double click the monitor EP Monitor to view the
monitored data.
Adding a new monitor to a monitor set
Log on to the monitoring R/3 system and call transaction RZ20.
Position the cursor on the monitor set and click Create to create a new monitor.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 85
Follow the instructions in the section [Adding a new Monitor] in Adding new monitor sets in CCMS.
Adding new elements to a monitor in CCMS
Log on to the monitoring R/3 system and call transaction RZ20.
Position the cursor on the monitor and click the button Change to get the list of systems and
elements.
Click Save.
As a result the monitors appears in the RZ20 SAP CCMS Technical Expert Monitors Al Monitor
Contexts.
Log file monitor
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 86
Activate the maintenance function by choosing the menu Extras Activate maintenance function.
Position the cursor on <<< New monitor >>> and select Edit Create nodes.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 87
You are now prompted to enter a value for the parameter 'R3System'.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 88
Select the R/3 system and then enter the MTE class 'SAP J2EE Engine' (for release 6.20).
Save your changes and enter as a name for the new monitor 'EWA SAP J2EE Engine'.
The name of the monitor must have exactly this same name for SAP Remote Services.
If you did not define a monitor for the SAP J2EE Engine in the previous step:
In transaction RZ20, choose SAP CCMS Technical Expert Monitors and System All Monitoring
Segments All Monitoring Contexts to find your monitoring data.
If you double click on the newly defined monitor, the monitor trees for all your installations of the SAP J2EE
Engine that report to CCMS should appear, as shown below:
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 89
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 90
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 91
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 92
Double click the newly created sub folder to create the distribution list.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 93
Under Feature list select with the F4 help the newly created shared folder (here EP 60 Monitor).
Select the tab Distr. List content and add your email address with Recip. type Internet Address.
Here admin@company.com.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 94
Select Save.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 95
In the methods group box, select Method Definitions and choose Display Overview.
Choose change mode with the Display Change ( ) push button, and choose tab page
Parameters.
Parameter Description
SENDER SAP user name of the person in whose name the e-mail is sent.
Therefore a user in client 000 is needed.
RECIPIENT SAP user name of the e-mail recipient, distribution list, or external
e-mail address; to automatically send an e-mail to multiple external
e-mail addresses, you must create a distribution list in client 000
that contains these external addresses.
If the user is not defined in client 000 you must also specify the
system and the client in which the user exists (such as
C11:003:PARKERJ).
Users that are defined in the SAP R/3 System in clients other than 000 cannot be specified in the Business
Workplace directly as sender or recipient; they are regarded as shared distribution list. You should therefore
specify the address type C (Shared distribution list) for client-specific senders and recipients in the
parameters tab page.
If you want to define different recipients for different alerts:
Copy the method definition of CCMS_OnAlert_Email.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 96
Start the desired monitor from the list by double clicking it.
Select the desired node and choose from the menu Views Method allocation as result the display
of the monitor tree should appears like this:
You should assign the auto reaction method to a MTE-class.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 97
Select the node where you want assign an auto reaction method and choose Properties.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 98
Select method name from the auto reaction method box and choose the F4-help.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 99
The assigned auto reaction method appears in the monitor tree in the method allocation view.
Repeat these steps for each node from which you require an e-mail or sms as auto reaction
method.
For further information see SAP Note 0176492.
Start the desired monitor from the list by double clicking it.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 100
Select the desired node and choose from the menu Views Method allocation.
As result the display of the monitor tree should appear like this:
Select the node where you want to assign a threshold and choose Properties.
Choose the Performance Attribute tab and enter the thresholds in the thresholds values box.
Please know, that all thresholds are assigned to the attribute group which is in the box Performance
properties assigned from group.
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 101
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 102
Further Information
Appendix
Useful Programs
Replace.exe
replaces strings in a large number of files under Microsoft Windows. The program can be found in the
moni_temp directory.
Task Scheduler
To start Task Scheduler on your Windows server:
Click Start, - All Programs, - Accessories, - System Tools, and then select Scheduled Tasks.
You can also drag-and-drop programs such as iis_status.bat into the Task Scheduler to quickly add a new
task or use the provided "Create Scheduled Task" wizard. More information about this tool is available via
the following links at Microsoft:
Task Scheduler:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddo
cs/server/tasksched_topnode.asp
Checklist: Configuring Task Scheduler:
http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/windowsxp/home/using/pr
oductdoc/en/Tasksched_checklist.asp
HOW TO: Use Iisreset.exe and Task Scheduler to Schedule IIS to Restart in Windows 2000:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B317584
WGET:
WGET enables you to call URLs from the command line or from within a script.
Download:
You can download and install from one of the following links. WGET 1.8.2 from
http://studwww.rug.ac.be/~bpuype/wget/ were downloaded and implemented to build the tests described
above.
http://www.gnu.org/software/wget/wget.html
http://studwww.rug.ac.be/~bpuype/wget/
Leech ftp
LeechFTP is a freeware FTP client with some nice features.
Its available here: http://stud.fh-heilbronn.de/~jdebis/leechftp/
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 103
JEdit
JEdit is a freeware editor based on java with some nice features.
Its available here: http://www.jedit.org
Example dev_proc
$PROC
#SAPOSCOL Operating system resources
*saposcol*
#SAP Agent
*sapccmsr*
#J2EE-Prozesse
*SVR1* j2eeadm
*SVR2* j2eeadm
*DIS* j2eeadm
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 104
#oracle#
*ora_arc0* oraep0
*ora_arc1* oraep0
*ora_lgwr* oraep0
*ora_chpt* oraep0
*ora_smon* oraep0
*ora_pmon* oraep0
*ora_dbw0* oraep0
*ora_reco* oraep0
Example j2ee.pf
SAPLOCALHOST=ep-prod-02
alert/MONI_SEGM_SIZE=64000000
ipc/shm_permission_1008=760
Example oscolfile.ini
#Monitor Filesystems MTE_CLASS Attribute_Group
Example sapccmsr.ini
### Format of entries for plugins:
# PlugIn <full path of shared library to load>
PlugIn /usr/sap/tmp/sapccmsr/trexmon.so
###
###
### Format of entries for logfile monitoring:
###
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/dr-39-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/dr-56-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/dr-66-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-1-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-9-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-17-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-27-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-35-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-44-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/sr-61-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-1-log.ini
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 105
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-9-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-17-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-27-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-35-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-44-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ALERT/s2-61-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/dr-29-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/dr-41-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/dr-58-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/dr-68-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-3-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-11-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-19-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-29-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-37-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-46-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-63-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/sr-90-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-3-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-11-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-19-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-29-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-37-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-46-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-63-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/ERROR/s2-90-log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/J2ee_error_log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_engine/J2ee_output_log.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432204logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432206logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432208logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432210logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432212logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432214logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432216logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432218logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432220logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432222logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432224logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432226logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432228logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432230logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432233logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432235logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432237logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432239logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432262logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432264logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432267logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432269logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432271logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432273logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432274logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432276logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432278logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432280logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432282logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432284logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432285logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432287logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432289logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432291logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432293logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432295logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432297logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432299logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432302logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432325logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432327logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432342logmon.ini
LogFile /usr/sap/ccms/ccms_monitoring/templates/j2ee_applications/1063701432359logmon.ini
###
### Format of entries for the option to delete trees if no corresponding logfile exists:
### This Parameter is optional, if not specified the tree still remains
LogFileParam DelTree
###
###
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 106
###
Example J2ee_error_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/EP/j2ee/j2ee_00/cluster/dispatcher/managers/console_logs/"
FILENAME="*error.log"
MTE_CLASS="J2EE Error Log P"
PREFIX="J2EE D1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
MONITOR_NEWEST_FILES=1
PATTERN_0="Fatal"
VALUE_0=RED
PATTERN_1="Error"
VALUE_1=RED
PATTERN_2="Exception"
VALUE_2=YELLOW
PATTERN_3="Warning"
VALUE_3=YELLOW
.
Example J2ee_procmon.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/trans/log/"
FILENAME="check_portal_proc_P2PORTAL.log"
MTE_CLASS="J2EE Proc P"
PREFIX="Proc - "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="D1 DOWN"
VALUE_0=RED
PATTERN_1="S1 DOWN"
VALUE_1=YELLOW
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 107
PATTERN_2="S2 DOWN"
VALUE_2=YELLOW
PATTERN_3="S3 DOWN"
VALUE_3=YELLOW
PATTERN_4="no SVR running"
VALUE_4=RED
PATTERN_5="M1 UP"
VALUE_5=GREEN
.
Example J2ee_alert_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/managers/log"
FILENAME="ALERT.log"
MTE_CLASS="J2EE Alert Log P"
PREFIX="J2EE S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="ALERT"
VALUE_0=RED
.
Example J2ee_critical_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/managers/log"
FILENAME="CRITICAL.log"
MTE_CLASS="J2EE Critical Log P"
PREFIX="J2EE S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="CRITICAL"
VALUE_0=RED
.
Example J2ee_ermergency.ini
LOGFILE_TEMPLATE
DIRECTORY=/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/managers/log/
FILENAME="EMERGENCY.log"
MTE_CLASS="J2EE Emergency Log P"
PREFIX="J2EE S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="EMERGENCY"
VALUE_0=RED
.
Example J2ee_http_alert_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/http/log"
FILENAME="ALERT.log"
MTE_CLASS="J2EE Http Alert Log P"
PREFIX="http S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 108
PATTERN_0="ALERT"
VALUE_0=RED
.
Example J2ee_http_critical_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/http/log"
FILENAME="CRITICAL.log"
MTE_CLASS="J2EE Http Critical Log P"
PREFIX="http S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="CRITITCAL"
VALUE_0=RED
.
Example J2ee_http_emergency_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/http/log"
FILENAME="EMERGENCY.log"
MTE_CLASS="J2EE Http Energency Log"
PREFIX="http S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="EMERGENCY"
VALUE_0=RED
.
Example pcd_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/servlet_jsp/w
ork/jspTemp/irj/root/WEB-INF/portal/logs"
FILENAME="pcd.log"
MTE_CLASS="Pcd Log P"
PREFIX="PRT S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="Fatal"
VALUE_0=RED
PATTERN_1="Error"
VALUE_1=RED
.
Example Portal_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/servlet_jsp/w
ork/jspTemp/irj/root/WEB-INF/portal/logs"
FILENAME="portal.log"
MTE_CLASS="Portal Log P"
PREFIX="PRT S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="Fatal"
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 109
VALUE_0=RED
PATTERN_1="Error"
VALUE_1=RED
.
Example Service_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/servlet_jsp/w
ork/jspTemp/irj/root/WEB-INF/portal/logs"
FILENAME="service.log"
MTE_CLASS="Service Log P"
PREFIX="PRT S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="Fatal"
VALUE_0=RED
PATTERN_1="Error"
VALUE_1=RED
.
Example Usermanagement_log.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/P2PORTAL/j2ee/j2ee_00/cluster/server/services/servlet_jsp/w
ork/jspTemp/irj/root/WEB-INF/portal/logs"
FILENAME="usermanagement.log"
MTE_CLASS="UM Log P"
PREFIX="PRT S1- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="Fatal"
VALUE_0=RED
PATTERN_1="Error"
VALUE_1=RED
.
Example Oracle_alertlog.ini
LOGFILE_TEMPLATE
DIRECTORY="/oracle/K2P/saptrace/background/"
FILENAME="alert_K2P.log"
MTE_CLASS="Oracle Alert Log K"
PREFIX="Oracle- "
SHOWLINES=1
MONITOR_LAST_FILE_MODIF=1
SHOWNEWLINES=1
PATTERN_0="checkpoint not complete"
VALUE_0=RED
PATTERN_1="ORA-"
VALUE_1=RED
.
Example grmgRequestCust.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!ELEMENT customizing (control, scenarios)>
<!ELEMENT control (grmgruns, runlog, errorlog)>
<!ELEMENT grmgruns (#PCDATA)>
<!ELEMENT runlog (#PCDATA)>
<!ELEMENT errorlog (#PCDATA)>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 110
<!-- In tags propvalue below use <![CDATA[...]]> for switching off parsing --
>
<customizing>
<control>
<grmgruns>X</grmgruns>
<runlog/>
<errlog/>
</control>
<scenarios>
<scenario>
<scenname>EP_HB</scenname>
<scenversion>001</scenversion>
<sceninst>100</sceninst>
<!-- scentype either URL or HRFC -->
<scentype>URL</scentype>
<!--
scenstarturl either for scentype URL: http or https (if SSL
according
documentation is enabled)
or for scnetype HRFC: name of RFC destination
according
to TX sm59
-->
<scenstarturl>http://us7202:8080/irj/servlet/prt/portal/prtroot/com.sap.portal.
heartbeats.PortalHeartbeat?j_user=user&j_password=password&login_submit
=off</scenstarturl>
<scenstartmod>Unknown</scenstartmod>
<scentexts>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 111
<scentext>
<scenlangu>EN</scenlangu>
<scendesc>EP_Heartbeat_n1 </scendesc>
</scentext>
</scentexts>
<components>
<component>
<compname>Cluster</compname>
<compversion>001</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN</complangu>
<compdesc>Component_Cluster</compdesc>
</comptext>
</comptexts>
<!-- no properties adjustment needed -->
<properties>
<property>
<propname>text</propname>
<propvalue>y</propvalue>
</property>
</properties>
</component>
<component>
<compname>TestSAP</compname>
<compversion>001</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN</complangu>
<compdesc>Component_TestSAP</compdesc>
</comptext>
</comptexts>
<!-- adjust properties according to given SAP R/3 system -->
<properties>
<property>
<propname>SAPClient</propname>
<propvalue>001</propvalue>
</property>
<property>
<propname>userid</propname>
<propvalue>user_name</propvalue>
</property>
<property>
<propname>password</propname>
<propvalue>user_password</propvalue>
</property>
<property>
<propname>language</propname>
<propvalue>DE</propvalue>
</property>
<property>
<propname>host_name</propname>
<propvalue>csnmain.wdf.sap.corp</propvalue>
</property>
<property>
<propname>system_number</propname>
<propvalue>24</propvalue>
</property>
</properties>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 112
</component>
<component>
<compname>TestWeb</compname>
<compversion>001</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN</complangu>
<compdesc>Component_TestWeb</compdesc>
</comptext>
</comptexts>
<!-- set URL to be tested - use CDATA if necessary -->
<properties>
<property>
<propname>url</propname>
<propvalue>http://us7202:8080/irj/portalapps/com.sap.portal.heartbeats/html/hea
rtbeat.html</propvalue>
</property>
</properties>
</component>
</components>
</scenario>
</scenarios>
</customizing>
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 113
2004 SAP AG
Example list of J2EE Engine log files
Please know that the actual console logs are changing their name at every startup of the J2EE Engine.
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/console_logs/2003_9_16_at_9_38_53_output.log
SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/console_logs/2003_9_16_at_9_38_53_error.log
SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/hs_err_pid20556.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/config.0.trc SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/ccms_jmon.trc SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/ccms_agent.trc SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/tools/ccms_jmon.trc SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/dev_rfc.trc ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/r3startup/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/thread/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/thread/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/timeout/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/memory/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/connections/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/cluster/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/classloader/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/ports/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/ports/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/lock/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/lock/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/service/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/managers/log/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/DEFAULT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/DEFAULTCRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/CRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/log/work/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/monitor/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/CRITICAL.log ASCIILog
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 115
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/dispatcher/services/r3startup/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/CRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ejb/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/DEFAULT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/DEFAULTCRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/CRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/log/work/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/monitor/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/CRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/ts/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/CRITICAL.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/http/log/http.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Critical.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Emergency.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Alert.log ASCIILog
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 116
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Error.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Warning.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Notice.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/PRTBridge/log/Info.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/thread/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/thread/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/thread/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/timeout/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/memory/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/INFO.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/cluster/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/classloader/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/swap/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/lock/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/lock/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/r3startup/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/service/NOTICE.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/WARNING.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/ERROR.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/EMERGENCY.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/managers/log/ALERT.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/log/system.log SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/logviewer_server.log SAPJLog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/hs_err_pid20556.log ASCIILog
2004 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landscape Monitoring 117
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-
INF/portal/logs/com.sapportals.portal.design.StyleService.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/unification.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/TestAPI.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/umWebService.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/portal.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/debug.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/diagnostic.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/JSPLogAnalyser.log
ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-
INF/portal/logs/com.sapportals.portal.design.StyleEditor.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-
INF/portal/logs/com.sapportals.portal.design.StyleArchive.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/acl.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/pcdadmintools.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/sapapplication.log
ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/config.*.trc*
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/service.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/notification.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/dynamic.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/JCOClientPool.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/iview.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/transport.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/monitor.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/yahoo.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/pcdeditor.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/jsp.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/ccms_jmon.trc
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/locking.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/iviewserver.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/soap.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/appdesigner.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/generic_creator.log
ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/pcd.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/logs/navigation.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/log/default.trc ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/log/system.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/sapum.log ASCIILog
localhost 4444 /usr/sap/EP0dir/j2ee/j2ee_00/cluster/server/log/applications.log ASCIILog
2004 SAP AG
TREX Monitoring ini files
DaemonWatch.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/TREX_6/trace"
FILENAME="TrexDaemon.*.trc"
MONITOR_FILESIZE_KB=0
MONITOR_NEWEST_FILES=1
MTE_CLASS="TRexDaemon"
PREFIX="TRex: "
RESCANFROMBEGIN=0
SHOWNEWLINES=1
PATTERN_0=" w "
CMP_FROM_BEGIN_0=0
#MESSAGECLASS_0="SAP-T100"
MESSAGEID_0="RT 999"
SEVERITY_0=0
VALUE_0=YELLOW
PATTERN_1=" e "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
PATTERN_2=" f "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
.
IndexServerWatch.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/TREX_6/trace"
FILENAME="TrexIndexServer.*.trc"
MONITOR_FILESIZE_KB=0
MONITOR_NEWEST_FILES=1
MTE_CLASS="TRexIndexServerTrc"
PREFIX="TRex: "
RESCANFROMBEGIN=0
SHOWNEWLINES=1
PATTERN_0=" w "
CMP_FROM_BEGIN_0=0
#MESSAGECLASS_0="SAP-T100"
MESSAGEID_0="RT 999"
SEVERITY_0=0
VALUE_0=YELLOW
PATTERN_1=" e "
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 119
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
PATTERN_2=" f "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
.
NameServerWatch.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/TREX_6/trace"
FILENAME="TREXNameServer.*.trc"
MONITOR_FILESIZE_KB=0
MONITOR_NEWEST_FILES=1
MTE_CLASS="TREXNameServerTrc"
PREFIX="TRex: "
RESCANFROMBEGIN=0
SHOWNEWLINES=1
PATTERN_0=" w "
CMP_FROM_BEGIN_0=0
#MESSAGECLASS_0="SAP-T100"
MESSAGEID_0="RT 999"
SEVERITY_0=0
VALUE_0=YELLOW
PATTERN_1=" e "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
PATTERN_2=" f "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
.
PreprocessorWatch.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/TREX_6/trace"
FILENAME="TrexPreprocessor.*.trc"
MONITOR_FILESIZE_KB=0
MONITOR_NEWEST_FILES=1
MTE_CLASS="TRexPreprocessorTrc"
PREFIX="TRex: "
2001 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 120
RESCANFROMBEGIN=0
SHOWNEWLINES=1
PATTERN_0=" w "
CMP_FROM_BEGIN_0=0
#MESSAGECLASS_0="SAP-T100"
MESSAGEID_0="RT 999"
SEVERITY_0=0
VALUE_0=YELLOW
PATTERN_1=" e "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
PATTERN_2=" f "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
.
QueueServerWatch.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/TREX_6/trace"
FILENAME="TrexQueueServer.*.trc"
MONITOR_FILESIZE_KB=0
MONITOR_NEWEST_FILES=1
MTE_CLASS="TRexQueueServerTrc"
PREFIX="TRex: "
RESCANFROMBEGIN=0
SHOWNEWLINES=1
PATTERN_0=" w "
CMP_FROM_BEGIN_0=0
#MESSAGECLASS_0="SAP-T100"
MESSAGEID_0="RT 999"
SEVERITY_0=0
VALUE_0=YELLOW
PATTERN_1=" e "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
PATTERN_2=" f "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
.
2001 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 121
WebServerWatch.ini
LOGFILE_TEMPLATE
DIRECTORY="/usr/sap/TREX/trace"
FILENAME="TrexWebServer.*.trc"
MONITOR_FILESIZE_KB=0
MONITOR_NEWEST_FILES=1
MTE_CLASS="TRexWebServerTrc"
PREFIX="TRex: "
RESCANFROMBEGIN=0
SHOWNEWLINES=1
PATTERN_0=" w "
CMP_FROM_BEGIN_0=0
#MESSAGECLASS_0="SAP-T100"
MESSAGEID_0="RT 999"
SEVERITY_0=0
VALUE_0=YELLOW
PATTERN_1=" e "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
PATTERN_2=" f "
CMP_FROM_BEGIN_1=0
#MESSAGECLASS_1="SAP-T100"
MESSAGEID_1="RT 999"
SEVERITY_1=90
VALUE_1=RED
.
#J2EE-Prozesse
*SVR1*
*DSP*
#Trex-Prozesse
*TREXDaemon.*
*TREXFilter.*
*TREXIndexServer.*
*TREXPreprocessor.*
*TREXQueueServer.*
*TREXNameServer.*
2001 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 122
Example grmgconfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by Stefan Haas (SAP AG SWF
01) -->
<customizing>
<control>
<grmgruns>X</grmgruns>
<runlog>X</runlog>
<errorlog>X</errorlog>
</control>
<scenarios>
<scenario>
<scenname>TREX001</scenname>
<scenversion>001</scenversion>
<sceninst>01</sceninst>
<scentype>URL </scentype>
<scenstarturl>http://us7201:8366/</scenstarturl>
<scenstartmod>Unknown</scenstartmod>
<scentexts>
<scentext>
<scenlangu>EN</scenlangu>
<scendesc>TREX on host us7201 </scendesc>
</scentext>
</scentexts>
<components>
<component>
<compname>IS_01</compname>
<compversion>01</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN </complangu>
<compdesc>Indexserver </compdesc>
</comptext>
2001 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 123
</comptexts>
<properties>
<property>
<propname>foo</propname>
<proptype/>
<propvalue> bar</propvalue>
</property>
</properties>
</component>
<component>
<compname>QS_01</compname>
<compversion>01</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN </complangu>
<compdesc>QueueServer</compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>foo</propname>
<proptype/>
<propvalue> bar</propvalue>
</property>
</properties>
</component>
<component>
<compname>PP_01</compname>
<compversion>01</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN </complangu>
<compdesc>PreProcessor </compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>foo</propname>
<proptype/>
<propvalue> bar</propvalue>
</property>
</properties>
</component>
<component>
<compname>NS_01</compname>
<compversion>01</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN </complangu>
<compdesc>NameServer </compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>foo</propname>
<proptype/>
<propvalue> bar</propvalue>
</property>
</properties>
</component>
2001 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 124
<component>
<compname>WS_01</compname>
<compversion>01</compversion>
<comptype>Unknown</comptype>
<comptexts>
<comptext>
<complangu>EN </complangu>
<compdesc>WebServer</compdesc>
</comptext>
</comptexts>
<properties>
<property>
<propname>foo</propname>
<proptype/>
<propvalue> bar</propvalue>
</property>
</properties>
</component>
</components>
</scenario>
</scenarios>
</customizing>
The Python HTTP server is an HTTP server for TREX written entirely in
Python. It uses the server framework built into Python and does not
need one of the big web servers (Apache or IIS) to host it.
Python HTTP server will probably be slower (for some functions) than
the IIS extension delivered with TREX, and it offers less
functionality in some areas. The Python HTTP server may not be
started as a service - startup is only via the command line interface.
The XML syntax of the Python HTTP server is the same as supported by
the TREX IIS extension so that the Python HTTP server may be used as a
replacement for the IIS extension, if, for some reason the IIS
extension can not be used. There are currently no security features
built into Python HTTP server.
1. You can log the XML requests and the XML responses to stdout
(options --logRequest, --logResponse)
2. You can create a log file with a Python script for each operation
performed by the HTTP server. Theses scripts can later be used to
reproduce errors without having to use the software that generated the
XML request (option --logFile=)
2001 SAP AG
Best Practice: Enterprise Portal 6.0 SP1 System Landcape Monitoring 125
indexServer.py 8000
To stop the server, type the command (in another window on the same
machine):
stopServer.py 8000
indexServer.py --help
2001 SAP AG