Performance Best Practices Guide for SAP NetWeaver Portal 7.3



Similar documents
How To Configure MDM to Work with Oracle ASM-Based Products

Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

Configuring Distribution List in Compliant User Provisioning

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

Methodology to Implement SAP Process Integration

SAP GRC Access Control: Background jobs for risk analysis and remediation (formerly Virsa Compliance Calibrator)

Developing Applications for Integration between PI and SAP ERP in Different Network Domains or Landscapes

Backup & Restore with SAP BPC (MS SQL 2005)

Analyzing Sales Data for Choosing Forecast Strategies

How to Configure and Trouble Shoot Notification for Process Control 2.5

prioritize XI messages on integration server

Posting Messages into XI

How to configure BusinessObjects Enterprise with Citrix Presentation Server 4.0

Utilities for downloading and uploading OO ABAP classes in XML format

Extract Archived Data from SAP ERP

3 rd party Service Desk interface

Roster Configuration (Payroll) in SAP ECC 6.0 Tips & Tricks

E-Recruiting Job Board Integration using XI

How To Balance In Sap Bw

Problems with your Data Model in SAP NetWeaver MDM Do s and Don ts

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

Budget Control by Cost Center

Implementing Outlook Integration for SAP Business One

CREATING A PURCHASE ORDER STORE RECORD WEB SERVICE

Ronald Bueck SBO Product Definition

Process Archiving using NetWeaver Business Process Management

SAP Master Data Governance- Hiding fields in the change request User Interface

Integrate Third Party Collaboration Tools in the SAP NetWeaver Portal. SAP NetWeaver Product Management

How To... Call BEx Web Applications from SAP BusinessObjects Dashboards (Xcelsius) and vice versa

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

USDL XG WP3 SAP use case. Kay Kadner

SAP NetWeaver MDM 5.5 SP3 SAP Portal iviews Installation & Configuration. Ron Hendrickx SAP NetWeaver RIG Americas Foundation Team

Enterprise Software - Applications, Technologies and Programming

User Experience in Custom Apps

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

Debugging Portal Applications

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

Monitoring and Management of Landscapes with SAP NetWeaver Administrator. Dieter Krieger, SAP AG

How To... Integrate Custom Formulas into the Formula Builder

Enabling Full-Text Search for Business Objects in mysap ERP

SAP Central Process Scheduling (CPS) 8.0 by Redwood

Integration of SAP central user administration with Microsoft Active Directory

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

HR400 SAP ERP HCM Payroll Configuration

Integrating Easy Document Management System in SAP DMS

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

SAP Service Tools for Performance Analysis

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

Understanding HR Schema and PCR with an Example

Log Analysis Tool for SAP NetWeaver AS Java

OData in a Nutshell. August 2011 INTERNAL

How to Create Web Dynpro-Based iviews. Based on SAP NetWeaver 04 Stack 09. Jochen Guertler

Integration of SAP Netweaver User Management with LDAP

DBA Cockpit for Oracle

Siteco Relies on SDN for its SAP CRM 5.0 Upgrade

Data Archiving in CRM: a Brief Overview

Sales Rush Sales Order Processing S01- Lean Baseline Package. SAP Lean Baseline Package Version: V1.500 Country: UK Language: EN Date: February 2006

Intelligent Business Operations Chapter 1: Overview & Strategy

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

Sample Universe on Microsoft OLAP Cube

ARCHIVING OF IDOCS IN SAP

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

Third Party Digital Asset Management Integration

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

How To... Migrate Custom Portal Applications to SAP NetWeaver 7.3

Accounts Receivable. SAP Best Practices

K in Identify the differences between the universe design tool and the information design tool

Using SAP Logon Tickets for Single Sign on to Microsoft based web applications

SAP Sales and Operations Planning Software Product (xsop)

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

Collaboration Technology Support Center - Microsoft - Collaboration Brief

Matthias Steiner SAP. SAP HANA Cloud Platform A guided tour

Application Lifecycle Management

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

SAP CCMS Monitors Microsoft Windows Eventlog

Single Sign-On between SAP Portal and SuccessFactors

SAP NetWeaver BRM 7.3

Xcelsius Dashboards on SAP NetWaver BW Implementation Best Practices

mysap ERP Talent Management Dr. Christian Acosta-Flamma

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

Integration of Universal Worklist into Microsoft Office SharePoint

Ariba Network Integration to SAP ECC

How to Create a Support Message in SAP Service Marketplace

How to Schedule Report Execution and Mailing

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

Data Source Enhancement Using User Exit

How To Use the BPC Mass User Management Tool in BPC 10.0 NW

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

Sending Additional Files from SAP Netweaver PI to third Party System

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

BW Workspaces Use Cases

ERP Quotation and Sales Order in CRM WebClient UI Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

Global Transport Label - General Motors -

Unified Service Description Language Enabling the Internet of Services

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

Transcription:

SAP NetWeaver Best Practices Guide Performance Best Practices Guide for SAP NetWeaver Portal 7.3 Applicable Releases: SAP NetWeaver 7.3 Document Version 1.0 June 2012

Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver How-to Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way.

Document History Document Version Description 1.00 First official release of this document

Contents 1. Portal Setup - Identifying the Components... 4 2. Tuning flow - Verifying Performance... 6 3. Tuning the portal... 7 4. Analyzing Performance Problems... 9

Performance Best Practices The purpose of this guide is to help the system administrator to maximize the performance of SAP NetWeaver Portal. 1. Portal Setup - Identifying the Components To identify problematic areas, the entire system landscape should be reviewed. For each of the components the compatibility must be verified. For each of these components the performance measures of CPU, memory, and connectivity (Network roundtrips and throughput) should be considered. Server layered view 1. SAP NetWeaver Portal is a web container extension and this guide deals with this layer only. 2. It runs on top of SAP Application Server Java. 3. AS Java runs inside a SAP JVM. 4. Web gateway is provided by SAP Internet Communication Manager (ICM). For improving server performance these four layers should be considered Recommended tools: Diagnostics server (root cause analysis) is provided with SAP Solution Manager. See SAP Note 797147: http://service.sap.com/diagnostics SAP JVM Monitoring tools and SAP JVM Tools SAPJVM Profiler SDN Link Java Memory Analyzer Tool: SAP Help MAT Project Java Thread Dump Analyzer is included with Memory Analyzer Tool MAT Project Persistency layer In the portal this is the database layer. The portal uses a few tables in the AS Java scheme. Recommended tools: NWA: Using Open SQL Monitors Client Client side measurements are based upon: 1. measuring Client OS browser process resources (such as process memory and CPU times) 2. Measuring network KPIs (such as round trips, data size, browser caching) June 2012 Page 4

A list of browsers compatible with SAP NetWeaverPortal can be found in the SAP PAM available at: Web Browser Dependencies SAP NetWeaver Portal uses the browser cache to improve performance. It is strongly recommended to enable full functionality of the browser cache for the end users. Recommended tools: OS utilities to measure process resources HTTP sniffers, HTTPWatch Browser specific tools, such as IE8 developer tools and Firefox Firebug Network Network architecture may consist of various topologies and the relevant expertise is required for correct network planning. When investigating performance overhead, the common approach is eliminating network overheads by configuration or during analysis. Using HTTP GZip compression is recommended for data sizes over 1kb. Recommended tools: Sniffer Backend application server Back-end application server performance issues should be treated using the specific back-end practices. Back-end connectivity to the portal or to a client browser must be verified. An external user repository (such as LDAP) can be considered as a back end. Recommended tools: Back-end specific monitoring utilities - ABAP Workload monitor SAP NetWeaver Administrator - NWA Monitoring (tools & logs) June 2012 Page 5

2. Tuning flow - Verifying Performance When applying a new portal system, there are a few practices that should be taken care of.the following paragraphs describe the procedures that may be used for tuning your portal server. 1. Sizing SAP offers a methodology to anticipate the required amounts of hardware resources while planning the new landscape. The sizing procedure is based on initial measurements, which are done at SAP, and represent certain content types. By calculating the number of concurrent items the implementation team can tell how much hardware is required to have the desired total throughput. For more information on sizing, go to http://service.sap.com/sizing. 2. Fine tuning After initial setup is complete, the SAP NetWeaver system can be fine tuned to best fit customer requirements and limitations. Using zero admin templates eliminates most of the VM tuning arguments, in case VM tuning is required, check notes: Note 1248926 - AS Java VM Parameters for NetWeaver 7.1 based products Note 723909 - Java VM settings for J2EE 6.40/7.0 (for relevant JVM parameters) Logs Configuration - It is recommended to minimize the amount of logging and tracing in order to avoid the impact of expensive I/O activity. Caches Configuration - Enabling the Portal caches can improve the Portal performance, for more info, please review the SCN Article: SAP NetWeaver Portal 7.3 - Tuning Caches. At this time, it is recommended to verify the stability and scalability over a simple content scenario. 3. Volume test optimization SAP provides guidance for tuning various components to run in the best manner. For more information, review http://service.sap.com/diagnostics. During and at the end of the tuning phase, we recommend running stability and scalability tests over a rich content scenario. June 2012 Page 6

3. Tuning the portal SAP JVM Configuration and Setup of SAP JVM Tuning the Applicatioin Server Configuring JVM parameters on AS Java o Set <-XX:SoftRefLRUPolicyMSPerMB=1000> (from default 1) Avoiding session leaks - Tracing Single User Sessions Tuning HTTP Provider Service Enabling production mode UME Cache Optimizing Performance With the UME Cache PCD Cache tuning The PCD uses a transient cache for all objects which are loaded from the database persistence. This cache is designed to be memory sensitive meaning that frequently used objects, those that are currently in use by client applications or likely to be used soon again, are kept in cache as long as there is enough memory. Read more and implement using Note 905211 - PCD Cache Optimizer Tuning PCD administration reference for 7.30 Configuring PCD Properties The following defaults are set for Portal 7.30: Pcd.Xfs.Cache.StartCacheOptimizer = false Pcd.Xfs.Cache.HardReferenceLimit = 1000 June 2012 Page 7

Navigation service To improve performance, the portal caches each set of navigation nodes required by a user. If a user accesses a navigation hierarchy that was previously accessed, the portal can retrieve the navigation hierarchy from the cache instead of generating it again. Caching Navigation Nodes Multiple locale configurations - Additional tuning is required: Configure the <defaultlocale> property with locales that should be added to the cache. Open the navigation service properties via NWA and set the property <portal.navigation.connector.cache.defaultlocales>. It should be configured as follows: en_us,de_ch, etc... Additional Search Provider configuration tunings: Configure all the languages in the Roles Index Provider click on Define Suggestion Languages Portal Runtime Cache Configuring the Portal Runtime Properties Activating and Clearing the Portal Runtime Cache OBN Cache Activating the OBN Cache June 2012 Page 8

4. Analyzing Performance Problems High-level steps for analyzing performance problems: 1. First identify the software components involved in the business scenario and the interaction between them. 2. Locate the appropriate performance monitoring tools for the component. 3. Reproduce the problematic scenario and monitor the relevant metrics of every component involved in the flow. 4. Analyze the results. CPU Verifying and improving CPU consumption Java Application Profiling with the SAP JVM Profiler End to end root cause analysis diagnostics Memory For more info on memory analysis and tuning: Java Memory Analysis Monitoring the GC Finding Memory Leaks with SAP Memory Analyzer June 2012 Page 9