Job Monitoring Setup Guide PDF
Job Monitoring Setup Guide PDF
Business Scenario
Business Scenario
The new unified Job Monitoring allows you to monitor all the business-critical background jobs such as ABAP jobs and BW process chains, centrally. In job monitoring concept, you refer
the ABAP jobs and BW process chains as monitored objects. You configure these monitored objects in a technical scenario or a business process solution.
You monitor the objects based on:
time intervals
Scheduling metrics - schedule start time, start delay, end time, duration, out of time window
Internal
Prerequisites
Internal
Architecture
Job Monitoring
SAP Solution Manager
ST-PI
(2008_1 SP08 or higher)
Job Schedule
Table
Configuration
Time
Job Monitoring
Configuration
Job
Data
Collection
Logic
RFC
Monitoring Activation
Managed System
(ABAP Basis 6.20 or higher)
ST-PI
(2008_1 SP08 or higher)
Runtime
Job Schedule
Table
Managed System
(ABAP Basis 6.20 or higher)
Job
Data
Collection
Logic
DPC
(Tables TBTCO/TBTCP)
ST-A/PI
(01M)
DPC
Extension
RFC
Process Chains
(RFC function
modules)
Internal
Job Monitoring
Architecture, Job Data Collection Logic
DPC Extension
Yes
Schedule Table
No
ST-PI
Get status
of Job
2013 SAP AG. All rights reserved.
Identify Job
Internal
Configuration
Internal
10
Step 2.1 Check Prerequisites includes infrastructure prerequisites check that automatically detects the missing steps in general infrastructure
setup (e.g. not yet executed Basic Setup of Solution Manager).
Execute this automatic check and follow-up on potentially missing basic setup steps (this includes especially the version of the ST-A/PI
ABAP addon within the monitored SAP BW systems as well as a patch for the BO server system if the BO system version is below 4.0
SP2)
Internal
12
Internal
13
Internal
14
Internal
15
Internal
16
Create Users
Step 3 Create Template Users allows you to create standard Template/Demo Users in the SAP Solution
Manager system.
If you use BI Reporting, you need additional standard template users in the BW system/client. If your BW system
is in the same client as SAP Solution Manager, the relevant roles are assigned to the standard user in the SAP
Solution Manager system.
Internal
17
Internal
18
Internal
19
Internal
20
Note: Defining attributes and additional configuration are not required for
job monitoring. Hence, the steps 3 and 4 are disabled.
Internal
21
You can jump to the managed system configuration from the Job Monitoring Scenario details view per
involved system via the Managed System Configuration button (after selecting the system)
2013 SAP AG. All rights reserved.
Internal
22
Internal
23
You can choose Add Jobs Directly or Add Jobs from Managed System
Note: Add Jobs Directly allows to add jobs according to the filter criteria specified during Identification. You also have the possibility to select
jobs which are not scheduled yet on the Managed System but you know the Job names and user who will execute them with this option.
Internal
24
explicitly all
Start Procedure, determines how the job is planned to run. There are
four different possibilities: by time, by event, by preceding job and use
job start condition.
Event ID, Event parameter, used if the job is expected to start by event.
External Parameter, can be used when custom specific rules are used.
their execution.
Internal
25
3
2013 SAP AG. All rights reserved.
Internal
26
Internal
27
Internal
28
Example:
In the snap shot ST7 System and client 001 is selected for monitoring and it has (0) Managed Object configured in this
scenario.
Internal
29
Configure Alerts
Metric Definitions
Internal
30
Configure Alerts
Metric Definitions
The availability of the alerts depends on the start procedure defined for the job.
Start Delay: You can monitor if the start of a job has been delayed. This alert is always available. For jobs that are started by event, by preceding job or by
job Start condition this alerts means the technical start delay. The technical start delay is the delay as visible in transaction SM37. For jobs started by time
the start delay is considered relative to the specified start time.
Not started on time: You can monitor if no job has started until a defined time of the day.
End Delay: You can monitor if job has not finished by a certain time. This alert is available for non-periodic jobs.
Maximum Definition: You can monitor if the job has exceeded a certain run time. This alert is always available.
Status (Cancellation): You can raise a yellow or red alert if the job has cancelled. This alert is always available.
Parallel Processing: You can monitor if a specified number of identical jobs are running in parallel (started within 2 minutes of each other). This alert is
available if in the scheduling information the job has been specified as processed in parallel.
Out of Time Window: You can monitor if a job has run outside a certain time window (started too early or finished too late). This alert is available for
non-periodic jobs.
Job Log Messages: You can monitor if certain messages appear in the job log. This alert is always available.
Job Log Content: You can add values if the lob log messages and monitor the total sum of these values.
Internal
31
Configure Alerts
Visual representation of logical grouping of the metrics for different job events
Internal
32
Configure Alerts
Set Thresholds
Step 5.2 After ABAP jobs have been assigned for monitoring you can configure details per monitored job
Define general settings (switch on/off data collection and/or alerting)
Define thresholds per metric
Monitors if a specified number of
identical jobs are running in parallel
Switch on/off alerting Monitors job status(cancellations). Alerts the duration. The data
Alerts the start
Specify the rating of the alert to be evaluation checks if the
and end delay
raised if status(cancellation) occurs duration is, or was, longer (or
of a job
shorter) than the upper (lower)
thresholds
Alerts if a job
does not run in a specified
time window
Monitors if certain
messages appear in the
job log
Internal
33
Support Component
Reported By
Category ID
Note: If you choose Global Settings (Active), then the corresponding functionality for which the option is selected will take the global settings.
Internal
34
Configure Notifications
Notifications, when a yellow or red alert are triggered a notification can be send to the Maintain Recipient Lists or
Maintain Global Recipients.
On the Recipients and Recipient Lists table you can add (Add Entry button), delete (delete entry button) recipients/recipients lists and also maintain Recipient lists
and global recipients. Clicking on Maintain Recipient Lists and Maintain Global Recipients launches Notification Administration application and you can maintain
Recipient Lists and Global Recipients.
Internal
35
Configure Alerts
Activate
Once you configure alerts, you need to save, generate and activate the configured monitored object. Monitored data
will be collected from the time it was activated. Depending on the frequencies and set up of the job monitoring, it
could take some time until the first results will be displayed in the Job Monitoring UI.
Generate All
All configured monitoring object (ABAP Jobs) in the technical scenario will be generated on this action. This process
will generate the alert configuration details with reference to the latest saved version of the monitoring object. It is
obligatory to carry out a generation before activating the scenario.
Activate All
All configured monitoring object (ABAP Jobs) in the technical scenario will be activated. Activation happens with the
generated version. This process will enable you to monitor the configured job in the job monitoring work center.
Deactivate All
The context information in the directory (run time) will be cleared off and the data collection will be switched off for all
the configured monitoring object. When you deactivate a monitored object the activated version is deleted in the
Solution Manager Monitoring.
Internal
36
Internal
37
Choose the required steps of the selected chain when you have selected multiple process chains. You can select the BW Process Chain Header or a process chain header
If you want to assign an existing monitored object of a chain to a process step as parent, then a new monitored object is created
for the step. However, the monitored object for the process step inherits the schedule of the existing monitored object of the
chain, which can be changed if the parent monitored object is deactivated.
4
5
Internal
38
Configure Alerts
Step 6.2 After Process Chains have been assigned for monitoring you can configure details per monitored PC
Define general settings (switch on/off data collection and/or alerting)
Define thresholds per metric
Alerts on the number of records processed
Internal
39
Support Component
Reported By
Category ID
Note: If you choose Global Settings (Active), then the corresponding functionality for which the option is selected will take the global settings.
Internal
40
Configure Notifications
Notifications, when a yellow or red alert are triggered a notification can be send to the Maintain Recipient Lists or
Maintain Global Recipients.
On the Recipients and Recipient Lists table you can add (Add Entry button), delete (delete entry button) recipients/recipients lists and also maintain Recipient lists
and global recipients. Clicking on Maintain Recipient Lists and Maintain Global Recipients launches Notification Administration application and you can maintain
Recipient Lists and Global Recipients.
Work Modes can be activated for Incidents or Notifications. When a Planned Downtime was scheduled an Automatic Notification or Automatic Incident Creation can
be deactivated.
Internal
41
Configure Alerts
Activate
Once you configure alerts, you need to save, generate and activate the configured monitored object. Monitored data
will be collected from the time it was activated. Depending on the frequencies and set up of the job monitoring, it
takes some time until the first results will be displayed in the Job Monitoring UI.
Generate All
All configured monitoring object (BW PC) in the technical scenario will be generated on this action. This process will
generate the alert configuration details with reference to the latest saved version of the monitoring object. It is
obligatory to carry out a generation before activating the scenario.
Activate All
All configured monitoring object (BW PC) in the technical scenario will be activated. Activation happens with the
generated version. This process will enable you to monitor the configured job in the job monitoring work center.
Deactivate All
The context information in the directory will be cleared off and the data collection will be switched off for all the
configured monitoring object. When you deactivate a managed object the activated version is deleted in the Solution
Manager runtime in the Managed System.
Internal
42
Check Summary
Step 7 Complete gives an overview on the success status of each step and sub-step of the Job
Monitoring Configuration
All steps and sub-steps should have a green status
Press Finish to complete the Job configuration
Internal
43
Configuration
entry from Business Process Monitoring
Setup from Business Process Monitoring
Internal
45
Configuration
entry from Business Process Monitoring
Select your Solution where your Business Process is
documented
Solution
Internal
46
Configuration
entry from Business Process Monitoring
Create a New Monitoring Object under Tab Monitoring
Objects
Internal
47
Configuration
entry from Business Process Monitoring
Get Jobs from ABAP System
Internal
48
Configuration
entry from Business Process Monitoring
During Select Objects you follow the same procedure
as before for ABAP Jobs.
Select Objects
Internal
49
Configuration
entry from Business Process Monitoring
During schedule you can also mark jobs which are
critical or not.
Internal
50
Configuration
entry from Business Process Monitoring
Alert Configuration follows same procedure as an
ABAP Job, after selecting objects you have to click
on Configure Alerting.
Configure Alerting
Internal
51
Monitoring
Prerequisites
Activate SICF services by performing the steps below:
1. launch transaction SICF
2. Specific Service for hierarchy type
2
1
Internal
53
Prerequisites contd
Uncheck browser cache.
To make the Refresh of the Job Monitoring UI work correctly with IE 9 and IE 10 the following setting needs to be
changed:
1.
2.
2
3.
In Check for newer versions of stored pages select the option Every time I visit the webpage.
Internal
54
Monitoring
from Technical Monitoring
ABAP Jobs and SAP NetWeaver Process Chains are
monitored from Technical Monitoring workcenter by
Job Mon Systems, Job Mon Scenarios
2
1
Internal
55
Monitoring
Job Monitoring UI
Monitoring UI is divided in
three sections:
Filter area
Filter:
Monitored Object
Instance Details.
Internal
56
References
SAP Notes related to Job Monitoring:
1581417 Advanced Correction BPM Data Collectors for BW Process Chains
1706837 Corrections: BI Data Col. For BW Process Chains ST-A/PI 01P
1870459 ST-A/PI 01Q: Corrections Data Provider for BW Process Chains
1866169 Corrections unified job monitoring ST-PI 2008_1_xxx SP9
1927294 SP10: JOBMON: Translation related issues
Internal
57