Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will...

48
Tasty Bits from the BI4 Admin Pickle Jar Greg Myers EVtechnologies

Transcript of Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will...

Page 1: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Tasty Bits from the BI4 Admin Pickle Jar Greg Myers

EVtechnologies

Page 2: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

EV Technologies

EV Technologies is an SAP BusinessObjects solutions firm •  SAP Software Solutions Partner •  SAP Certified Solutions provider •  Sybase Certified Solutions provider •  SAP BusinessObjects Enterprise Certified •  ASUG Members/Volunteers •  Migration experts – classic BusinessObjects products to

SAP BusinessObjects XI R2 – XI 3.1- BI4

Page 3: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP-PRESS

•  SAP BusinessObjects BI System Administration•  2nd Edition! •  BI4.1

•  Order online now @SAP-PRESS.com

Page 4: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Agenda •  I’m a BI4 Admin. Help me!!•  How to use the GLF Viewer on BI Platform logs•  How to use SAP Lumira on BI Platform logs•  The Currency of Concurrency•  How to use SAP Predictive Analysis to forecast

capacity•  How to use Microsoft Excel to forecast capacity•  Summary

Page 5: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP GLF Viewer for BI Platform logs Download from SAP Service Marketplace S-ID login required

Page 6: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP GLF Viewer for BI Platform Logs •  Filter your view on any column to quickly zero in on issues

– Analysis > Delay Visualizer makes a graphical

representation of the workflow and bottlenecks

Page 7: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP GLF Viewer for BI Platform Logs •  Export combined or filtered view as a single .glf file.

Great for uploading to SAP Support!

Page 8: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP GLF Viewer for BI Platform Logs •  Get even finer-grain workflow detail using the SAP Client Plugin

–  Download from SMP (S-ID Required)

–  Automatically “flips” on high-level BI4 server traces –  “Stamps” transactions with a unique ID

Page 9: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP GLF Viewer for BI Platform Logs •  Generates a file “BusinessTransaction.xml”

– Open the file in a text editor, copy the “id” value

Page 10: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP GLF Viewer for BI Platform Logs •  Use this value to filter import of your BI4 logs in the GLF Viewer

–  Will only import transactions that were “stamped” by the SAP Client Plug-in. Trace will be ONLY your transaction. Awesome!!

Page 11: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Decode SAP Passport with BI Platform Support Tool •  Open the BI Platform Support Tool

– Go to Tools > SAP Passport Decoder

Page 12: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Decode SAP Passport with BI Platform Support Tool •  Browse and open your BusinessTransaction.xml •  Copy out the value for the Introscope Query Filter

Page 13: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Open up SAP Extended Diagnostics •  Navigate to Workstation > Query Historical Events

Page 14: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Query String and Set Date Range •  Paste in the query string from the BI Platform Support Tool •  Set the date and time range based on the Support Tool info •  Click “Go”

Page 15: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Sort and Analyze

•  Select All transactions •  Click on Call time (ms) to sort – Longest Process will be on top

Page 16: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Sort and Analyze •  Tree View will show “stoplight” trees to spot bottlenecks

Page 17: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform logs

Page 18: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform Logs •  Mass rename your files to ensure SAP Lumira will open this content •  Notepad++ is your very very best friend as a free and advanced editor for

windows •  Trim headers of extraneous information so that SAP Lumira has the ability

to interpret the header information correctly •  Trim evil carriage returns that will prevent SAP Lumira from importing the

data correctly •  Fix known separator issues that have artificial spacing and piping •  Go forth and munge in SAP Lumira •  Why? One file can over 65,000 rows of data

Page 19: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform Logs •  Mass rename your files to ensure SAP Lumira will

open this content – Retrieve the files from your SAP BusinessObjects install

directory logging folder – Bulk rename with a simple command line statement

•  ren *.glf *.txt

Page 20: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform Logs

•  Notepad++ is your very very best friend as a free and advanced editor for windows – Download it free today at http://notepad-plus-plus.org/ – Other noteworthy tools in our toolbag:

•  Wireshark – Network tracing •  Fiddler 2 – HTTP tracing •  HTTP Watch – HTTP tracing •  7-zip – Compression tool

Page 21: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform Logs

•  Trim headers of extraneous information so that SAP Lumira has the ability to interpret the header information correctly –  Open all trace logs in the series in Notepad ++ by selecting them

all, right click, and choose Notepad ++

–  All actions taken from here on out in Notepad++ will happen across all files in a single batch action

Page 22: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform Logs •  Trim headers of extraneous information so that SAP Lumira has the ability to interpret the header

information correctly –  Two sections in grey selected here need to be removed with a search/replace to remove

them

–  With the text selected, visit the Search menu, select Replace, and note the “Find what” text is already populated and simply hit “Replace All in All Opened Documents”

•  Be sure to get the extra space at the end of the “Columns” row

Page 23: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Lumira for BI Platform Logs •  Trim evil carriage returns that will prevent SAP Lumira from importing the

data correctly –  Each row has some weird line wrapping happening

–  In the same manner as before, select the ending character of the first row and the pipe at the beginning of the second (highlighted in gray here)

–  Search and Replace as before to remove this

Page 24: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

How do you effectively measure concurrency ?

Page 25: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Concurrent CMS

sessions?

Page 26: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Running Crystal Jobs?

Page 27: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

The Currency of Concurrency

Concurrent Webi Threads?

Page 28: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

One row per second

Page 29: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Get all actions

Page 30: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Find the overlap

Page 31: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

7.6m Rows Over 2 Yrs

Page 32: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira
Page 33: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

The Currency of Concurrency •  Practical reasons why we care about concurrency:

–  Server tuning – how many people are doing things throughout the day? –  Troubleshooting – how do we ensure that the system is not maxing out

resources? –  Predicting growth – Anticipating the right time to scale licensing and

hardware based on past behaviors •  Risks:

–  These queries can be expensive –  These queries rely on you actually having Auditor enabled!

Page 34: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Applications Server tuning

Troubleshooting

Mashups to Metric data

Page 35: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Predictive Analysis for Forecasting

Page 36: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Predictive Analysis for Forecasting •  Import your performance metrics

Page 37: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

SAP Predictive Analysis for Forecasting •  Visualize it!

Page 38: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Select the Correct Algorithms

•  Build your prediction and run it – R-Single Exponential Smoothing used for this demo

Page 39: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Make it Pretty

•  Visualize it!

Page 40: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Microsoft Excel to Forecast Capacity Simple line graph of same data

Page 41: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Microsoft Excel to Forecast Capacity Add a Trendline and r-squared formula

Page 42: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Microsoft Excel to Forecast Capacity Forecast when you will reach 100% CPU Build the formula

Page 43: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Microsoft Excel to Forecast Capacity Get the result (which looks like a funky number)

Page 44: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Adjust Date Formats Format the number as a Date to get your answer

Page 45: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Microsoft Excel to Forecast Capacity •  Data set was pretty small •  Prediction and Forecast not really that accurate •  More data in actuals help to make better predictions

Page 46: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Where to Find More Information •  evtechnologies.com/blog

– A ridiculous number of posts, all about SAP BusinessObjects •  bit.ly/bi4e2etrace

– The SCN article by our pal, Toby Johnston, Software Engineer @ SAP

•  sap.com/upgradebi – An amazing resource aimed at helping customers implement

and upgrade SAP BusinessObjects

Page 47: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

More Information Contact: Greg Myers Email: [email protected] On the Web: http://evtechnologies.com Twitter: @gpmyers Contact: Eric Vallo Email: [email protected] On the Web: http://evtechnologies.com Twitter: @ericvallo

Page 48: Tasty Bits from the BI4 Admin Pickle Jar · • Mass rename your files to ensure SAP Lumira will open this content ... • Trim evil carriage returns that will prevent SAP Lumira

Questions?