Best Practices for SAP Task Scheduling Beyond the CCMS

Similar documents
F Cross-system event-driven scheduling. F Central console for managing your enterprise. F Automation for UNIX, Linux, and Windows servers

Skybot Scheduler User Guide

BC XBP 6.10 Background Processing, Job Scheduling System WAS 6.10 (Version 2.0) Documentation

UC4 for SAP NetWeaver

Workload Automation: The Heart of Enterprise Operations

Robot/SCHEDULE Enterprise

DiskPulse DISK CHANGE MONITOR

Skybot Scheduler Release Notes

Robot SCHEDULE 12 User Guide

Batch Scheduling in the SAP Environment

DiskBoss. File & Disk Manager. Version 2.0. Dec Flexense Ltd. info@flexense.com. File Integrity Monitor

TNT SOFTWARE White Paper Series

BC - XBP Background Processing, Job Scheduling System Test Catalogue for BC-XBP 6.10 (Version 2.0) and BC-XBP 7.0 (Version 3.0)

NETWRIX EVENT LOG MANAGER

Enterprise Job Scheduling: How Your Organization Can Benefit from Automation

Compaq Batch Scheduler for Windows NT

Working with SQL Server Agent Jobs

Advantages and Uses of MIDAS boom

Server & Application Monitor

Getting Started with the License Administration Workbench 2.0 (LAW 2.0)

Scheduling in SAS 9.3

BatchControl. Functional Characteristics

Availability Monitoring using Http Ping

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Sonian Getting Started Guide October 2008

Installation & Configuration Guide

Enabling Backups for Windows and MAC OS X

CASHNet Secure File Transfer Instructions

Deciding When to Deploy Microsoft Windows SharePoint Services and Microsoft Office SharePoint Portal Server White Paper

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Kaseya 2. User Guide. Version 7.0. English

HIPAA Compliance Use Case

How to Obtain an OPC License--5. Creating a System Code 5 Entering an Authorization Code 6. Getting Started with SNMP Editor--7

PacketTrap One Resource for Managed Services

HP Enterprise Integration module for SAP applications

NetIQ AppManager for Self Monitoring UNIX and Linux Servers (AMHealthUNIX) Management Guide

VX Search File Search Solution. VX Search FILE SEARCH SOLUTION. User Manual. Version 8.2. Jan Flexense Ltd.

Rational Rational ClearQuest

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Introduction to Data Archiving (CA-ARC)

Network Monitoring with SNMP

CA NSM System Monitoring. Option for OpenVMS r3.2. Benefits. The CA Advantage. Overview

Discovery Guide. Secret Server. Table of Contents

Network Faxing and HIPAA: Security and Privacy in the Health Care Industry

Kaseya 2. Quick Start Guide. for VSA 6.1

Deploying the BIG-IP LTM system and Microsoft Windows Server 2003 Terminal Services

Using

FOCUS ON: FDR/UPSTREAM S ONLINE DATABASE SOLUTIONS

MS Outlook AddIn version 3.6

P-Synch by M-Tech Information Technology, Inc. ID-Synch by M-Tech Information Technology, Inc.

Appointment Scheduler

Centers for Medicare and Medicaid Services. Connect: Enterprise Secure Client (SFTP) Gentran. Internet Option Manual

CA Nimsoft Monitor. Probe Guide for NT Event Log Monitor. ntevl v3.8 series

WS_FTP Professional 12

IBM Tivoli Monitoring for Applications

How to Configure Outlook Client for Exchange

How-To Guide Test Automation Framework

SAP Elective Course Administration of MySAP. Unit 1: Fundamentals

SOSFTP Managed File Transfer

Operating Manual QUESTOR

Backing Up TestTrack Native Project Databases

SNMPc Release 7.0 Disaster Recovery Support. Castle Rock Computing March, 2004

OnCommand Unified Manager

Patch Management Table of Contents:

ACHIEVE THIRD PARTY MANAGEMENT (3PL)

Cronacle. Introduction

PCI DSS Reporting WHITEPAPER

Web Testing, Java Testing, Server Monitoring. AppPerfect Installation Guide

Scheduling in SAS 9.4 Second Edition

HP Operations Manager Software for Windows Integration Guide

So far in the first three chapters of this book we have studied an overview of SAP

ES Exchange Server - How to Remove XMON

MALAYSIAN PUBLIC SECTOR OPEN SOURCE SOFTWARE (OSS) PROGRAMME. COMPARISON REPORT ON NETWORK MONITORING SYSTEMS (Nagios and Zabbix)

User Pass-Through Authentication in IBM Cognos 8 (SSO to data sources)

Monitoring MySQL database with Verax NMS

NAPS Scholastic Tracking & Accountability Record (NSTAR) Frequently Asked Questions (FAQs)

Database Administration

Tracking Network Changes Using Change Audit

IBM Sterling Control Center

Netwatch Installation For Windows

Monitor TemPageR 4E With PageR Enterprise

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database.

IBM Tivoli Monitoring for Network Performance

effective performance monitoring in SAP environments

About this release. McAfee Application Control and Change Control Addendum. Content change tracking. Configure content change tracking rule

SAP SECURITY CLEARING THE CONFUSION AND TAKING A HOLISTIC APPROACH

Event-Driven and Dynamic Process Automation. Enabling the Real Time Enterprise with Redwood Software

Installation Guide. Version 1.5. May 2015 Edition ICS Learning Group

CA NSM System Monitoring Option for OpenVMS r3.2

Dell InTrust Preparing for Auditing Microsoft SQL Server

Automating client deployment

WEBROOT ARCHIVING SERVICE. Getting Started Guide North America. The best security in an unsecured world. TM

ProductScope. JAMS Scheduler. commissioned by

Managing User Security: Roles and Scopes

Exclaimer Mail Archiver User Manual

CA Performance Management r2.x Implementation Proven Professional Exam

This section describes how to set up, find and delete community strings.

THE JOB SCHEDULING JOURNEY. Finding the right scheduler for your organization

Installation and Administration Guide

Transcription:

Best Practices for SAP Task Scheduling Beyond the CCMS By Jan-Erik Lovlie The majority of tasks on an SAP system (R/3) are carried out interactively. For tasks that process large amounts of data and require more system resources, the Computing Center Management System (CCMS) is used. The CCMS runs tasks without user interaction and during off-peak times to reduce the impact on dialog users. The CCMS includes basic functionality for creating, scheduling, and monitoring background jobs on the SAP system. Tasks may be scheduled to run periodically, such as every day or once a week. In order to help customers achieve true enterprise scheduling, SAP provides an open generic interface called XBP (external interface for Background Processing), which allows a central job management system (external scheduler) to connect to the SAP system and implement added value by scheduling, running, and monitoring jobs from outside the SAP R/3 system. The CCMS may still control certain system control tasks especially those that are complex and security-critical as well as background jobs generated by applications such as SAP R/3 archiving or the Workbench. Central Management System SAP Server jobs variant changes events Limitations of the CCMS s scheduled with the CCMS may run a combination of ABAP programs, external commands, and external programs. s can be scheduled to run immediately, at a certain date/time, after another job completes, after an event is raised, or periodically. When creating a background job directly on the SAP system, a limited selection of start conditions is available and only one can be chosen. They cannot be combined with and or or logic. External Scheduler jobs system events Enterprise schedulers provide more sophisticated solutions to handle and/or logic and other modern scheduling requirements such as job monitors, file transfers, SNMP traps, notification, and an audit history. Through independence from the SAP system, external schedulers can facilitate enterprise scheduling using connections to non- SAP systems as well as additional SAP systems. Windows Server AIX Server

SAP CCMS Start Conditions SAP s built-in scheduler includes a limited number of start conditions. You can extend their capabilities by adding the following parameters: Periodic Pros Cons Values* Additional Parameters Allowed? Immediate Used when job does not run at specific times or days. Must be initiated by a user. Yes Date/Time Simple way to run a job on a specific date and time. Yes No start after: Prevents a scheduled job from starting if no background process is available between the scheduled time and the no start after time. * *The no start after time is automatically adjusted for periodic jobs. For example, a job scheduled to run every hour (starting at 05:00) with a no start after time of 05:05 will be scheduled for 06:00 and a no start after time of 06:05 after the 05:00 run starts. After Lets you run a job in reaction to another SAP job. Must be SAP job on local system. No Start status dependent: runs based on the status of another SAP job. After Event Lets you run a job in reaction to an SAP event. Must be SAP event on local system. Yes At Operation Mode The job will start when the specified operation mode becomes active in the SAP system. No Operation modes are defined on the SAP system by the user. Workday /Time Lets you run a job at a specific time on the N th workday of the month. Must be SAP calendar on local system. Only months. Relative to beginning or end of month. *Period values: Hourly, Daily, Weekly, Monthly, Every (x months, weeks, days, hours, or minutes)

External Scheduler Start Conditions Enterprise schedulers increase scheduling flexibility over the CCMS with options such as: Pros Cons Additional Parameters Day of Week Lets you set a specific day of the week to run a job. Repeats: daily, weekly * *When you select weekly, the job runs on the week of the month that you specify (first, second, third, fourth, fifth, last). Run time: Set the time to run. Date List Lets you set specific dates a job should run. Date List must be created first. Day of Period Lets you schedule jobs that routinely run on the given days(s) relative to the start or end of a specific period. When calculating the run time for a job, only count the selected type of days all working or nonworking. Type of period: month, quarter, semester, year Run on day: Number of days you want to count from the beginning or before the end of period. Run time: Set the time to run. Timed Interval s are automatically rescheduled to run in a specific time interval. Run every: Enter the interval number (hours or minutes). Run on non-working days: Check this option if you want the job to run on a non-working day. Base date/time: Set a date and time for this job to start running. Run time range: Add a time range for the job to run. Daily Interval Lets you run a job with a set number of days between each run. When calculating the run time for a job, only count the selected type of days all working or nonworking. Run every: Set the number of days between run times. Start run date: Set the date of the first job run. Run time: Set the time to run. Reactive To Lets you schedule jobs that react to another job, groups of jobs, or events on any system. s can react to any combination of the following: Any job status Late start Overrun or underrun Manual event File or directory event Process event SNMP trap Cron Expression Lets you schedule a job based on a cron expression. Skip if running Hold on failure

SAP Overview (SM37): Basic job history information External schedulers: More comprehensive views with full control to edit on the fly. The SAP Overview (transaction SM37) provides a basic tool for monitoring and managing the jobs scheduled on the SAP system, and displays the history of jobs that have completed with a status of finished or canceled. By utilizing the XBP interface, external schedulers have the potential to provide a more comprehensive overview of scheduled, running, and completed jobs located on the SAP system. How Enterprise Schedulers Work with the SAP CCMS Each application server within an SAP System has a configurable number of background work processes 1 designated for processing batch jobs. If too many background jobs are released directly in SAP, and if they are not controlled by an external scheduler, their traffic can result in using up work processes meant for scheduled jobs. Unexpected jobs can only be controlled and automated when an external job scheduler is used. SAP provides APIs to retrieve a list of intercepted jobs, allowing the external scheduler to decide when the jobs will run. Problem: SAP user releases a job to run a large report that is resource intensive and takes a long time to complete. Solution: 1. Set intercept criteria to match the job description. 2. External scheduler polls intercepted job. 3. External scheduler schedules job to run during non-work hours. The interception feature must be explicitly activated on the SAP system. When activated, the SAP CCMS compares each job that is about to run against the intercept criteria. 1 These settings can be viewed from the SAP GUI using SM37. From the Overview, select Application servers and double-click on any server.

On an SAP system using the XBP 2.0 level for interception, the criteria will include the Client, the owner and the name of each job. Wildcards may be used, for example, U* for the owner will match all users whose account starts with U. Multiple combinations of Client, owner, and name may be used to create the interception criteria. If a job matches the criteria when the CCMS changes its status to Released, its status is set back to Scheduled (Intercepted on newer SAP systems) and added to a list of newly intercepted jobs. An external scheduler can request this list and determine if and when to release any of the intercepted jobs. Using a system of confirmation, the SAP system only reports each intercepted job once to the external scheduler. s scheduled by an external job scheduler are exempt from interception. XBP 2.0 Basic Interception Criteria: Client owner name Three useful policies for SAP job interception include: No interception required If there are no users in the SAP systems that can release jobs, and if no SAP applications that create their own jobs are in use, then interception serves no purpose and it does not need to be used. Some jobs are intercepted By carefully filling the criteria table, you can intercept only certain categories of jobs. For example, if you find that your financial end users are causing stoppages by ad-hoc selected jobs, you could put their usernames in the criteria table. Unfortunately the criteria do not easily allow you to match all background jobs started by SAP programs unless they have a job name that starts with a specific character string. All jobs are intercepted Usually the most useful policy is to intercept all jobs. When an external scheduler is used to run all batch job scheduling, the volume of jobs started outside of the external scheduler should be low. Every job started outside of the external scheduler has the potential of interfering with the start time of other jobs. To counter this, make sure every job is intercepted so that they will adhere to the preferred schedule. This is also true for background jobs started by the user DDIC. 2 How to Set Up SAP Integration Step 1: Installation Install the external job scheduler on a system away from the SAP system. This takes the load of scheduling and managing enterprise-wide jobs off the SAP system, allowing it to focus on critical business processes. Step 2: Connecting Your SAP System For making the connection to the SAP system, ensure a valid SAP User account exists that is able to connect and run SAP jobs. According to SAP, 3 Partner software that connects to an SAP solution to fetch 2 The DDIC user is created at installation time and has special authorizations for certain operations. 3 http://ecohub.sdn.sap.com/irj/ecohub/pul_compliant?refer=ecohub_nl

data or perform a task must log in using a named user license. Platform User Licensing may provide the best option for the users who access SAP exclusively through certified partner solutions. Step 3: Interception SAP provides a feature called interception, which was added with BC-XBP 2.0 and is designed with external schedulers in mind. By activating and utilizing job interception, jobs that are scheduled in SAP directly and are not under the control of the external scheduler can be monitored and, if desired, rescheduled for a more opportune time. One recommendation is to have all background jobs intercepted since jobs started by an external scheduler are exempt from being intercepted. By intercepting these unexpected jobs, the external scheduler can decide when to release them, maintaining the resources (work processes) needed to run the scheduled batch jobs. Step 4: Parent/Child s When a background job on the SAP system produces child jobs, the CCMS does not know these jobs are generated from one parent job. s dependent on a parent job will still initiate when the parent job completes even if its child jobs have not completed. The CCMS does not provide a wait for child jobs option. This is where an external scheduler comes in. When parent/child functionality is turned on in the SAP CCMS, an external scheduler can request a list of child jobs produced by a parent SAP job and monitor each of those child jobs. The scheduler waits for all child jobs to complete before starting the next process. To view or change the settings for Interception and Parent-Child Functions on the SAP system, use SA38 and run the Program INITXBP2. Initialization Program for Background Proces Interception The current setting is selected Change Settings Activate 3.0 Activate 2.0 Switch Off Parent-Child Functions The current setting is selected Change Settings Switch On Switch Off Selecting Activate 2.0 and Switch On in SA38 allows an external scheduler to monitor child jobs. Integration at Work Imagine you have an SAP job that runs on multiple systems and that each system produces a file. Upon completion of each job, the files are transferred to one central UNIX system. After the files are transferred, a UNIX job processes all the files and creates one new consolidated file. This consolidated file is then transferred to a Windows system where it is processed with other data (created from a separate task) to create a final file. The final file is transferred back to each SAP system and a message is sent to a distribution list notifying that the information has been processed. By using one centralized enterprise scheduler, each step of the process is started as soon as the required file is available. This ensures that the process completes within the allotted time. If there is a problem at any step, notification is sent to an individual or distribution list to handle the issue. Enterprise schedulers allow you to set up another job that reacts to the failure, and, depending on the error, could correct the problem and continue the process without any manual intervention.

Integrated SAP Process Example Start of process SAP Task SAP UNIX Distribution list notified SAP Central UNIX System Final file Final file transferred back to SAP system Conclusion With SAP-certified integration, Skybot Scheduler TM provides an affordable interface for centralized scheduling and management of jobs across multiple systems, including SAP. Skybot Scheduler s flexible scheduling options, powerful analysis features, and intuitive, web-based interface make it easy to build an event-driven schedule across SAP and non-sap systems for coordinated batch processing, cross-system monitoring, and true enterprise automation. Visit www.skybotsoftware.com or call +1.877.506.4786 for more information or a FREE 30-day trial. Skybot Software. All trademarks and registered trademarks are the property of their respective owners. MSS0113 +1.952.746.4786 info@skybotsoftware.com www.skybotsoftware.com