OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

Embed Size (px)

Citation preview

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    1/79

    Week 3 Unit 1:Authentication and

    Single Sign On (SSO)

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    2/79

    2013 SAP AG. All rights reserved. 2Public

    Authentication and Authorization

    Roles

    Groups

    Groups

    vs.

    Is this a valid user? Does the user have rights to the

    application or content?

    Authentication Authorization

    STS/SNC

    Central Management Server

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    3/79

    2013 SAP AG. All rights reserved. 3Public

    Web Tier Authentication

    The following major logon methods are supported, with various methods ofSSO:

    Windows AD SSO achieved via Kerberos, using the Quest Vintela plug-in

    Web application server can run on any platform; however, the Central ManagementServer MUST be on a Windows or Linux (as of 4.0 SP05) system

    LDAP

    SSO is supported with integration through CA SiteMinder

    SAP SSO achieved through consumption of SAP SSO tickets

    Enterprise

    Native BI authentication model. SSO can be achieved through Trusted Authentication

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    4/79

    2013 SAP AG. All rights reserved. 4Public

    Details on Active Directory SSO with Kerberos

    Active Directory SSO with

    Kerberos allows for end-to-end

    Single Sign-On to the database

    Scheduling a report will not carry forward

    the Kerberos ticket even with Schedule

    Now

    It is not possible to set up AD SSO withKerberos for scheduling

    Interactive refresh enables SSO

    A detailed walkthrough can be found on

    Service Marketplace:

    http://service.sap.com/sap/support/notes/1631734

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    5/79

    2013 SAP AG. All rights reserved. 5Public

    Details on LDAP SSO

    LDAP Single Sign-On is enabled

    using SiteMinder

    SiteMinder is an access management

    application delivered by CA Technologies

    Integrates with virtually any LDAP

    server, as well as Active Directory

    LDAP SSO is for front door entry

    only and cannot be used to achieve

    SSO to the database

    SSO to the database can be achieved

    using secondary credentials or by mixing

    with SAP SSO methods for data access

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    6/79

    2013 SAP AG. All rights reserved. 6Public

    Web Services SSO

    Setting up Web services SSO for

    Windows Active Directory is

    required to enable SSO for the

    following clients:

    LiveOffice

    Query as a Web Service

    BI Widgets

    Crystal Reports for Enterprise

    Dashboard Designer

    Setup is s imilar to configuring the

    BI launch pad, see SAP Note

    1646920

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    7/79

    2013 SAP AG. All rights reserved. 7Public

    Trusted Authentication

    BI trusts the underlying application

    server to perform the

    authentication

    The Application Server passes a shared

    secret and user ID to BI to facilitate SSO

    No user password is passed to BI

    Enables most other authentication

    methods such as X.509, SAML,

    SecureID, etc.

    None of the desktop client tools

    support Trusted Authentication

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    8/79 2013 SAP AG. All rights reserved. 8Public

    Configuring Trusted Authentication

    There are a number of ways to pass user information in trusted

    authentication

    Web Session

    HTTP Header

    User Principal (new method using JAAS authentication)

    Remote User (new method using JAAS authentication)

    Cookies and Query String not recommended, supported for legacy purposes

    It is possible to bind a different incoming user ID to an exist ing user in the

    BI system using trusted.auth.user.namespace.enabled

    Requires the user to manually log on the first time and binds the assertion user ID with

    the BI account the user logs on with Remember, you are trusting the application server, so you must secure the

    Web Application

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    9/79 2013 SAP AG. All rights reserved. 9Public

    Dimensional Semantic Layer (DSL) Connectivity

    Kerberos SSO

    MS SQL Server

    Oracle DB

    SAP HANA

    Security Token Service (STS)

    SAP NetWeaver BW

    Appl icable to the fol low ing c lients:

    Crystal Reports for Enterprise

    Web Intelligence

    Dashboards

    Explorer

    Analysis OLAP

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    10/79 2013 SAP AG. All rights reserved. 10Public

    Legacy Semantic Layer (.unv)

    Kerberos SSO

    MS SQL Server

    Oracle DB

    Server SNC

    SAP NetWeaver BW

    Stored user credentials

    All other databases

    Appl icable to the

    following clients:

    Crystal Reports 2011 Web Intelligence

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    11/79 2013 SAP AG. All rights reserved. 11Public

    Propagating User Attr ibutes

    Leverage metadata from

    user directories like

    region, department, or

    time zone, and apply via

    universe security

    Personalize report datawith flexible user

    attributes

    Full overview on SCN

    http://scn.sap.com/comm

    unity/bi-

    platform/blog/2012/07/05/

    user-attribute-mapping-

    in-bi4

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    12/79 2013 SAP AG. All rights reserved. 12Public

    Mobile SSO

    Mobile currently uses

    username and password

    only

    The username and

    password can be saved

    locally on the device This option can be disabled

    by administrators if desired

    Mobile SSO remains in

    the roadmap for a future

    release

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    13/79 2013 SAP AG. All rights reserved. 13Public

    SAP HANA: Kerberos SSO

    BI on Windows

    Configure AD SSO with Kerberos or

    manually log on using AD credentials

    No scheduling SSO

    BI on Linux Configure LDAP connectivity to Active

    Directory

    Enable Kerberos from the LDAP

    authentication plug-in

    Manually log on, then SSO to HANA

    becomes possible

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    14/79 2013 SAP AG. All rights reserved. 14Public

    SAP HANA: Secondary Credentials

    Save database credentials to use

    for SSO using the SAP HANA

    native authentication

    Minimal configuration for BI

    Credentials can automatically be

    captured when the user manually

    logs on to BI launch pad

    Cannot use with SSO to BI Launch

    Pad as password wi ll be blank

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    15/79 2013 SAP AG. All rights reserved. 15Public

    SAP HANA: HANA Authentication

    Accessible under CMC >

    Appl ications

    Establishes BI as a

    trusted authentication

    source for HANA

    Less work to configure thanKerberos

    Supported with all BI clients

    except Design Studio and

    Analysis Office

    Works with any type of

    authentication to BI

    Enterprise, AD, LDAP, SAP,

    etc.

    Supports all platforms

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    16/79

    Thank you

    Contact information:

    [email protected]

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    17/79 2013 SAP AG. All rights reserved. 17Public

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    18/79

    Week 3 Unit 2: Best Practices for

    Troubleshooting

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    19/79

    2013 SAP AG. All rights reserved. 2Public

    Agenda

    BI4.0 Platform Monitor ing

    Managing and Configuring Logs

    Troubleshooting Tools

    What To Do When

    Exercises

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    20/79

    2013 SAP AG. All rights reserved. 3Public

    SAP BusinessObjects BI 4.0 Platform Monitoring

    Overview

    Monitoring is a new BI 4.0 application embedded into the Central Management

    Console

    Provides a dashboard showing an overview of SAP Business Objects

    deployment

    Records the metrics surfaced by the different BI 4.0 servers

    Captures historic trends and provide a graphical visualization component

    Provides Threshold notifications

    Delivers default watches for all the servers

    Integrates with SAP Solution Manager through CA Wily Introscope

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    21/79

    2013 SAP AG. All rights reserved. 4Public

    Examples of Typical Monitor ing Uses

    1. Understand overall system health and

    server deployment metrics:

    Dashboard with health status of each server in

    the deployment

    Understand the key deployment level metrics

    and how they are performing

    2. Monitor the system health and

    understand root cause of problems

    Can provide an alert in case of problems

    Perform root cause analysis using the

    corresponding Watch (which triggered the alert)

    3. Monitor system performance

    With the help of probes, configure the system

    to provide alerts in the case of performance

    issues

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    22/79

    2013 SAP AG. All rights reserved. 5Public

    Main Concepts of the BI4.0 Platform

    Monitoring

    Metric a system of related measures that facilitates the quantificationof some particular characteristic

    Probe a utility to check the availability of SAP Business Objects BI4.0

    services by simulating workflows

    Watch an abstraction of a part of the BI Landscape, providing real-

    time statuses and historical trends of servers and workflows within the

    SAP Business Objects Enterprise environment

    Alert a notification generated by the monitoring application, when a

    user-defined threshold value set for different metrics applied to a watchis breached

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    23/79

    2013 SAP AG. All rights reserved. 6Public

    BI4.0 CMC Integration Monitoring Dashboard

    Provides an overview of the entire BIPlatform landscape

    The KPIs show

    the deployment

    level metrics

    Alert no. in

    brackets shows

    unread,

    unconfirmed

    alerts only.

    On click, user

    navigates to Alert

    Inbox (filtered by

    alerts for that

    watch) to view all

    alerts for that

    watch.

    The graph shows

    the state of watch

    selected

    It shows all the watches along with state

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    24/79

    2013 SAP AG. All rights reserved. 7Public

    BI4.0 CMC Integration Server Health

    The server status is determined by its associated watch.

    Watches provide real-time statuses of servers and workflows

    within the SAP Business Objects environment.

    The traffic light is associated with each watch to indicate the

    watch state.

    Click the server health icon to show watch details.

    Click to go see

    watch details

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    25/79

    2013 SAP AG. All rights reserved. 8Public

    Third-Party Integration

    Integration with IBM Tivoli via Tivoli Enterprise monitoring agent

    Integration with SAP Solution Manager (incl. CA Wily Introscope)

    Open JMX framework allows simple integration with other ESM vendor tools

    Provides SDK for writing new probes

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    26/79

    2013 SAP AG. All rights reserved. 9Public

    Agenda

    BI4.0 Platform Monitoring

    Managing and Configur ing Logs

    Troubleshooting Tools

    What To Do When

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    27/79

    2013 SAP AG. All rights reserved. 10Public

    Managing and Configuring Logs

    What It Is?

    System-level messages generated by BI platform servers are traced and written to

    log files. Traces are recordings of events that occur during the operation of a

    monitored component. The traced events range from severe exception errors on one

    end to simple status messages at the other.

    Typical Uses

    These log files are used by system administrators to monitor performance or for

    debugging purposes.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    28/79

    2013 SAP AG. All rights reserved. 11Public

    Managing and Configuring Logs Overview

    Logging Components

    SAP BI40 Processing servers logging

    SAP BI40 Web application logging

    SAP BI40 Client tools

    Trace Log

    Generic log file (.glf) extension

    System-level messages generated by BI platform

    Trace Log Levels

    Unspecified (tracing specified trough .ini)

    None (logging rare critical events)

    Low

    Medium High

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    29/79

    2013 SAP AG. All rights reserved. 12Public

    Managing and Configuring Logs Overview

    Configuring tracing for processing servers

    "TraceLog Service" for a specific server or a group in CMC

    Manually with the BO_trace.ini file C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\conf

    Configuring tracing for web applications

    "Trace Log" application settings in CMC

    The location for logs is in the user home folder

    Manually with the BO_trace.ini file C:\Program Files (x86)\SAP BusinessObjects\Tomcat6\webapps\BOE\WEB-INF\TraceLog

    Configuring tracing for BI40 client tools

    Manually with the BO_trace.ini file

    Create environment variables (BO_TRACE_LOGDIR, BO_TRACE_CONFIGFILE)

    Configur ing tracing for the Upgrade Management Tool

    Manually with the BO_trace.ini file (same as processing servers)

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    30/79

    2013 SAP AG. All rights reserved. 13Public

    Agenda

    BI4.0 Platform Monitoring

    Managing and Configuring Logs

    Troubleshooting Tools

    What To Do When

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    31/79

    2013 SAP AG. All rights reserved. 14Public

    HTTP Tracing

    Useful for determining

    What content (css, js, etc.) is being sent to the client (browser)

    How much data is coming from the database (CMS)

    If the content is being cached or not

    If the content has been compressed or not

    Where the slowness in loading pages may reside

    How a specific page is constructed

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    32/79

    2013 SAP AG. All rights reserved. 15Public

    Fiddler: www.fiddler2.com/fiddler2

    Fiddler shows you the size of the request.

    If the page is cached or has an expires tag:

    Allows you to find the parent and child requests so you can calculate how long it took to load

    a page:

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    33/79

    2013 SAP AG. All rights reserved. 16Public

    Fiddler

    Adding the size of each request body gives you the total amount of data being sent to theclient (browser), and taking the time from the first request until the last request will tell you

    how long it took to load the page.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    34/79

    2013 SAP AG. All rights reserved. 17Public

    Network Tracing

    Useful for determining

    Network latency

    Why and who may be closing a network connection

    Errors received in the TCP/IP layer

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    35/79

    2013 SAP AG. All rights reserved. 18Public

    Wireshark: www.wireshark.org

    Enable it on the correct network interface and IP:

    Filter on IPs, protocol, ports

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    36/79

    2013 SAP AG. All rights reserved. 19Public

    Wireshark

    Creating a flow graph of a capture:

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    37/79

    2013 SAP AG. All rights reserved. 20Public

    Wireshark

    The Follow TCP Stream option allows you to easily get all the relevant packets together to

    determine where the problem may be:

    Change the time display format to let Wireshark calculate how much time the packet took:

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    38/79

    2013 SAP AG. All rights reserved. 21Public

    Wireshark

    Mark the first packet as the reference packet:

    Wireshark will now show you a listing of all the relevant packets and how much time each

    one took:

    Also, consider HTTPWatch: www.httpwatch.com

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    39/79

    2013 SAP AG. All rights reserved. 22Public

    OS Monitoring

    Useful for determining

    How and what resources (CPU, memory, etc.) are being consumed

    What files and libraries are being referenced and loaded

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    40/79

    2013 SAP AG. All rights reserved. 23Public

    Process Monitor SysInternals ToolIncludes RegMon and FileMon

    Lets you determine what files, registry keys, and libraries are being used or referenced:

    Allows you to easily exclude non-relevant processes:

    Tip: Hit Jump To to browse to the folder location:

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    41/79

    2013 SAP AG. All rights reserved. 24Public

    Process Explorer

    Useful to determine what command line options a specific process is running with

    Useful to determine which threads are consuming the most CPU

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    42/79

    2013 SAP AG. All rights reserved. 25Public

    Process Explorer

    See which .dlls are being referenced for a given process:

    Find which processes are using a

    specific .dll:

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    43/79

    2013 SAP AG. All rights reserved. 26Public

    Perfmon

    One of the least used tools, but one of the best for diagnosing performance issues

    Works on the principle of setting counters for what you want to monitor

    Tip: Put the log into Excel and create a chart

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    44/79

    2013 SAP AG. All rights reserved. 27Public

    Unixnmon

    nmon is for Linux and AIX only

    Useprstat on Solaris

    Download from: http://www.ibm.com/developerworks/aix/library/au-analyze_aix/

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    45/79

    2013 SAP AG. All rights reserved. 28Public

    Agenda

    BI4.0 Platform Monitoring

    Managing and Configuring Logs

    Troubleshooting Tools

    What To Do When

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    46/79

    2013 SAP AG. All rights reserved. 29Public

    What To Do When

    performance, hang, high memory, high CPU issue

    Collect the required data What is the actual issue? A hang is not the same as a crash

    Time the issue occurred

    Process IDs of all affected processes

    CPU/Memory data (i.e.: task manager, perfmon, etc)

    Logs (captured when the issue is occurring)

    Is the issue repeatable? If so, capture the detailed workflow HTTP/Network traces if applicable

    Take a memory dump (C++ or Java thread dump)

    If you have a core dump, run a backtrace

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    47/79

    Thank you

    Contact information:

    [email protected]

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    48/79

    2013 SAP AG. All rights reserved. 31Public

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    49/79

    Week 3 Unit 3: Troubleshooting

    Clients with Fiddler

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    50/79

    2013 SAP AG. All rights reserved. 2Public

    Troubleshooting Clients with Fiddler

    Collect HTTP trafficbetween client and

    server

    Demo of how to use

    Fiddler to compare

    response times betweenXI 3.1 and BI 4.x

    Capture a regression in

    Web Intelligence drill

    filters

    Expedite delivery of a fixusing the collected

    output

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    51/79

    Thank you

    Contact information:

    [email protected]

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    52/79

    2013 SAP AG. All rights reserved. 4Public

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    53/79

    Week 3 Unit 4: Troubleshooting BI

    Platform with Wireshark

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    54/79

    2013 SAP AG. All rights reserved. 2Public

    Troubleshooting BI Platform with Wireshark

    Capture all networktraffic with Wireshark

    Demo of how to use

    Wireshark to monitor the

    Kerberos protocol

    between ApplicationServer and KDC

    Fundamental for

    resolving problems that

    occur in the network

    stack

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    55/79

    Thank you

    Contact information:

    [email protected]

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    56/79

    2013 SAP AG. All rights reserved. 4Public

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    W k 3 U it 5 T bl h ti

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    57/79

    Week 3 Unit 5: Troubleshooting

    with BW Transaction

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    58/79

    2013 SAP AG. All rights reserved. 2Public

    BW Workf lows on the BI Platform

    Note 1609534 How to enable SAPJCO

    trace on Adaptive Processing Server in

    Business Intelligence 4.x

    Dont underestimate

    the importance ofsplitting APS to

    isolate MDAS, DSL,

    and DF workflows.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    59/79

    2013 SAP AG. All rights reserved. 3Public

    Process Overview Using Transaction /nSM50

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    60/79

    2013 SAP AG. All rights reserved. 4Public

    Query Monitor Using Transaction /nRSRT

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    61/79

    2013 SAP AG. All rights reserved. 5Public

    Trace Tool Using Transaction /nRSTT

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    62/79

    2013 SAP AG. All rights reserved. 6Public

    Performance Analysis Using Transaction /nST05

    Types of traces include: RFC, SQL, and HTTP.

    Use SQL trace to validate the effectiveness of RSRT settings, by checking

    modifications to SQL statements (i.e. flag selection of structure elements)

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    63/79

    2013 SAP AG. All rights reserved. 7Public

    Validating MDX Expressions Using Transaction /nMDXTEST

    See video: How

    to Retrieve and

    Use MDXStatements

    from MDA Logs

    1711416 - BI 4.0: How to enable MDA tracing for OLAP-based universes

    Copy/paste the

    Select

    statement into

    MDXTEST

    select Run

    mode

    Check the output in

    the list viewer to

    ensure accuracy of

    data / columns /

    runtime / stability

    possible correction

    Notes.

    Gathering Runtime Statistics in BW:

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    64/79

    2013 SAP AG. All rights reserved. 8Public

    Gathering Runtime Statistics in BW:Using Transactions RSDDSTAT, and SE16 Table: RSDDSTAT_OLAP

    Overview of EventIDs:http://help.sap.com/saphelp_erp60_sp/helpdata/en/45/f0

    488a1aa03115e10000000a1553f7/content.htm

    Filter!

    (User/Date)

    Table

    RSDDSTAT_OLAP

    Filter ByEventID

    Gatherruntimes

    Gathering Runtime Statistics in BW Using

    Click RFC to

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    65/79

    2013 SAP AG. All rights reserved. 9Public

    Gathering Runtime Statistics in BW UsingTransaction /nSTAD

    Choose

    view

    Filter by User

    Double-click

    RFC row with

    long Response

    time

    Restrict

    time

    Click RFC to

    see the

    statistical record

    Click Calls to see the single BAPI usage

    (e.g. BAPI_MDDATASET_GET_AXIS_DATA)

    Check size of dataset sent.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    66/79

    2013 SAP AG. All rights reserved. 10Public

    Workload Monitor Using Transaction /nST03N

    An overview cockpit for gathering upruntime statistics at a global

    (instance) level.

    Can be navigated using predefined

    selections/views

    Integrated functions allow drillingdown into details and into individual

    stat levels (as per /nSTAD)

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    67/79

    2013 SAP AG. All rights reserved. 11Public

    BW Analysis Using Transaction /nDB02

    A neat way to interpret cube content & table storage on the host.

    Can quickly focus on objects that have worrying metrics (facts,

    compression..)

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    68/79

    2013 SAP AG. All rights reserved. 12Public

    Cube Data Browser Using /nListcube

    Browse the

    source cube See the raw

    data before the

    BEx OLAP

    layer.

    Helps target

    specific rows,withouthit-and-

    hope!

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    69/79

    2013 SAP AG. All rights reserved. 13Public

    Online resources

    How to performance optimize Web Intelligence on BW BICS reporting:https://scn.sap.com/docs/DOC-33706

    How to performance optimize Web Intelligence on BW MDX report ing:

    www.service.sap.com/~sapidb/011000358700000750762010E

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    70/79

    Thank you

    Contact information:

    [email protected]

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    71/79

    2013 SAP AG. All rights reserved. 15Public

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    2013 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.

    National product specifications may vary.

    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.

    SAP 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 other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    Week 3 Unit 6: Performance

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    72/79

    Week 3 Unit 6: Performance

    Testing with JMeter

    Performance Testing

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    73/79

    2013 SAP AG. All rights reserved. 2Public

    Performance TestingValue Proposition

    PerformanceTesting

    IncreasedCustomer

    Satisfaction

    ImprovedROI

    ExpandedUsage

    Lower TCO

    As business applications become more complex, it is imperative to consider the impact performance has

    on our end users. By testing and tuning performance-related aspects, such as response time and

    throughput, we enable a number of benefits.

    Users are happier with applications that perform well

    Business use is more effective, resulting in

    increased returns on the investmentDrive additional consumption and

    wide-spread usage based on

    confidence in platform response

    Effective use of server resources results in

    lower total cost of ownership

    Performance Testing

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    74/79

    2013 SAP AG. All rights reserved. 3Public

    Performance TestingThe Dream

    SAPEnablementfor core BI

    Clients

    Ecosystemcollaboration

    Better SAPBI forEveryone

    Wiki content explaining how to correlate dynamic

    data for WebI, Crystal, Dashboards, etc.

    Customers and Partners contribute use cases and experiences

    Large or Small,

    performance

    testing for all

    Performance Testing

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    75/79

    2013 SAP AG. All rights reserved. 4Public

    Performance TestingResults Analysis

    OverallPerformance

    OverallPerformance

    Response TimeResponse Time

    ThroughputThroughputJava ProcessPerformanceJava ProcessPerformance

    Server ResourceUtilization

    Server ResourceUtilization

    A h JM t A O i

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    76/79

    2013 SAP AG. All rights reserved. 5Public

    Apache JMeter An Overview

    Apache JMeter is open source software, a100% pure Java desktop application designed

    to load test functional behavior and measure

    performance.

    May be used to test performance both on static and

    dynamic resources (Files, Servlets, Perl scripts, JavaObjects, Databases and Queries, FTP Servers, and

    more).

    Can be used to simulate heavy load on a server,

    network, or object to test its strength or to analyze

    overall performance under different load types.

    Used to make a graphical analysis of performance or to

    test your server/script/object behavior under heavy

    concurrent load.

    JM t C bil it i

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    77/79

    2013 SAP AG. All rights reserved. 6Public

    JMeter Capabil it ies

    Can load and performance test many

    different server types:

    Web - HTTP, HTTPS

    SOAP

    Database via JDBC

    LDAP

    JMS

    Highly Extensible:

    Full multithreading framework allows concurrentsampling by many threads and simultaneous

    sampling of different functions by separate thread

    groups.

    Data analysis and visualization plugins allow great

    extensibility as well as personalization.

    Functions can be used to provide dynamic input to a

    test or provide data manipulation.

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    78/79

    Thank you

    Contact information:

    [email protected]

    2013 SAP AG All rights reserved 2013 SAP AG All rights reserved

  • 8/10/2019 OpenSAP BIFOUR1 Week 3 Troubleshooting Performanc Testing Authentication

    79/79

    2013 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.

    National product specifications may vary.

    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.

    SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG inGermany and other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

    2013 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.

    National product specifications may vary.

    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.

    SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG inGermany and other countries.

    Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.