Hands-on Lab Session 9909 Introduction to Application Performance Management: Monitoring. Timothy Burris, Cloud Adoption & Technical Enablement

Similar documents
IBM Infrastructure Suite for z/vm and Linux: Introduction IBM Tivoli OMEGAMON XE on z/vm and Linux

Monitoring Agent for Tomcat 6.4 Fix Pack 4. Reference IBM

Using Hive for Data Warehousing

Lab DSE Designing User Experience Concepts in Multi-Stream Configuration Management

VMware vsphere 5.5: Install, Configure, Manage Lab Addendum. Lab 21: VMware vsphere Distributed Resource Scheduler

IBM Fault Analyzer for z/os

Hands-on Lab Session 9011 Working with Node.js Apps in IBM Bluemix. Pam Geiger, Bluemix Enablement

IBM z/os Management Facility Hands-on Lab

IBM Application Performance Analyzer for z/os Version IBM Corporation

Using Hive for Data Warehousing

IBM Software. IBM Forms V8.0. Forms Experience Builder - Portal Integration. Lab Exercise

SCREEN COMBINATION FEATURE IN HATS 7.0

IT Essentials v6.0 Windows 10 Software Labs

HP ALM Performance Center

Remote Support. User Guide 7.23

IBM Tivoli Composite Application Manager Solution: Using ITCAM to Monitor In-House website Solutions

Oracle Cloud Using Oracle Application Performance Monitoring

Response Time Monitoring Agent V for Linux and Windows. Reference

Introduction to IBM Rational HATS For IBM System i (5250)

vfabric Hyperic Monitoring and Management

Using Hive for Data Warehousing

Lotusphere IBM Collaboration Solutions Development Lab

Smarter Care Workshop

Understanding the Relationship with Domain Managers

vrealize Hyperic Monitoring and Management Guide vrealize Hyperic 5.8.4

WebSphere Performance

HATS APPLICATION DEVELOPMENT FOR A MOBILE DEVICE

vcenter Hyperic Monitoring and Management Guide

IBM DB Getting started with Data Studio Hands-On Lab. Information Management Cloud Computing Center of Competence.

We start by providing you with an overview of the key feature of the IBM BPM Process Portal.

Precise for BW. User Guide. Version x

Hands-on Lab Session 9020 Working with JSON Web Token. Budi Darmawan, Bluemix Enablement

VMware vsphere Optimize and Scale [v5.5] Custom Lab 12 Diagnosing CPU performance issues Copyright 2014 Global Knowledge Network Training Ltd.

Document Version Number: 1.0 Publication Date: August 2010 Review Date: August 2010 Type: Instructional Security Classification Classified

Using the Prime Performance Manager Web Interface

Using Hive for Data Warehousing

SAS Viya 3.2 Administration: Monitoring

Accessing Hadoop Data Using Hive

Tivoli Common Reporting V Cognos report in a Tivoli Integrated Portal dashboard

Monitoring Agent for Tomcat 6.4 Fix Pack 8. Reference IBM

vcenter Operations Manager for Horizon View Administration

ORACLE ENTERPRISE MANAGER 10g ORACLE DIAGNOSTICS PACK FOR NON-ORACLE MIDDLEWARE

Practice Labs User Guide

Quick Start Guide for Administrators and Operators Cyber Advanced Warning System

VMware vrealize Operations for Horizon Administration

Creating Basic Custom Monitoring Dashboards by

Privileged Access Management Android Access Console 2.2.2

Monitoring Agent for Microsoft Hyper-V Server Fix Pack 12. Reference IBM

Cisco Unified Serviceability

ICL02: Security Analytics: Discover More in your Endpoint Protection Dashboard Hands-On Lab

Avigilon Gateway Web Client User Guide. Version 6.10

BIG-IP Analytics: Implementations. Version 12.1

WebSphere Commerce Developer Professional

SteelCentral Insights for SteelConnect Users Guide

LiveNX Upgrade Guide from v5.2.0 to v5.2.1

JMP to LSAF Add-in. User Guide v1.1

Website Administration Manual, Part One

[ Getting Started with Analyzer, Interactive Reports, and Dashboards ] ]

Oracle User Productivity Kit Content Player

Sun VirtualBox Installation Tutorial

Configuration Manager

IBM Monitoring Agent for Citrix Virtual Desktop Infrastructure 7.2 FP3. User's Guide IBM SC

SAS Viya 3.4 Administration: Monitoring

User Guide HelpSystems Insite 1.6

rat Comodo EDR Software Version 1.7 Administrator Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Panopto. End-User Guide

Server Status Dashboard

1 User Guide. 1 Main screen

SAS Viya 3.3 Administration: Monitoring

DB Browser UI Specs Anu Page 1 of 15 30/06/2004

DNS Server Status Dashboard

Kewill Customs Getting Started

Red Hat JBoss Fuse 6.1

Sage Construction Central Setup Guide (Version 18.1)

MSS VSOC Portal Single Sign-On Using IBM id IBM Corporation

Upgrading from Call Center Reporting to

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux

Pure Storage FlashArray Management Pack for VMware vrealize Operations Manager User Guide. (Version with Purity 4.9.

SupportCenter Getting Started Guide

Storage Replication Adapter for VMware vcenter SRM. April 2017 SL10334 Version 1.5.0

Log & Event Manager UPGRADE GUIDE. Version Last Updated: Thursday, May 25, 2017

ALES Wordpress Editor documentation ALES Research websites

BEAWebLogic Server. Using the WebLogic Diagnostic Framework Console Extension

Sage Estimating (SQL) v17.13

Introduction...5. Chapter 1. Installing System Installing Server and ELMA Designer... 7

This section contains context-sensitive Online Help content for the Web Client > Dashboard tab.

Admissions & Intro to Report Editing Participants Guide

eclicker Host 2 Product Overview For additional information and help:

Create Your First Print-Quality Reports

VMware vrealize Operations for Horizon Administration

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

Managing Load Plans in OTBI Enterprise for HCM Cloud Service

Fleet Director Help File

IBM Infrastructure Suite for z/vm and Linux: Introduction IBM Wave

IBM Lotus Notes 8.5 Version to Version Comparison IBM Corporation

Value of managing and running automated functional tests with Rational Quality Manager

End User Monitoring. AppDynamics Pro Documentation. Version 4.2. Page 1

IBM Security QRadar Deployment Intelligence app IBM

N4A Device Manager 4.6.0

Cisco C880 M4 Server User Interface Operating Instructions for Servers with E v2 and E v3 CPUs

Transcription:

Hands-on Lab Session 9909 Introduction to Application Performance Management: Monitoring Timothy Burris, Cloud Adoption & Technical Enablement

Copyright IBM Corporation 2017 IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. This document is current as of the initial date of publication and may be changed by IBM at any time. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. This information is based on current IBM product plans and strategy, which are subject to change by IBM without notice. Product release dates and/or capabilities referenced in these materials may change at any time at IBM's sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way.

Contents Introduction to IBM Application Performance Management: Monitoring 5 Objectives 5 Exercise 1 Logging in to the APM VM 6 Exercise 2 Logging in to the LIN1 VM 7 Exercise 3 Starting DB2 7 Exercise 4 Modifying the gdc_custom.properties file 7 Exercise 5 Starting the DayTrader3 script 12 Exercise 6 Accessing the Performance Management console 15 Exercise 7 Monitoring WebSphere resources 18 Exercise 8 Monitoring the heap 28 Exercise 9 Accessing code-level data for WebSphere 31 Exercise 10 OPTIONAL: Generating more traffic 35 Exercise 11 Exploring aggregate topologies 41 Exercise 12 Exploring transaction instance topologies 45 Exercise 13 OPTIONAL: Creating a synthetic transaction 53 Exercise 14 OPTIONAL: Creating a synthetic application 55 Exercise 15 OPTIONAL: Viewing synthetic transactions 58 Page 3 of 62

Introduction to IBM Application Performance Management: Monitoring IBM Application Performance Management Advanced includes monitoring agents for a wide range of resources and several application servers. This lab features two of these agents: WebSphere Application Server agent Synthetic transactions agent Objectives In Exercises 1-6, you perform the following tasks: Log in to the lab images Start DB2 Configure the WebSphere agent to increase the amount of data gathered Start a Selenium script to generate data log in to the Performance Management Console In Exercise 7, you review resource monitoring dashboards In Exercise 8, you review heap dump analysis In Exercise 9, you review code-level analysis In optional Exercise 10, you generate more application activity In Exercise11, you review aggregate transaction topologies In Exercise 12, you review individual transaction topologies In Exercises 13-15, you perform the following tasks: Create a synthetic transaction Create a synthetic application Review synthetic transactions Page 5 of 62

62 Exercise 1 Logging in to the APM VM You now log in to the APM VM. 1. Click Other on the initial login dialog. 2. Enter root as the login ID and click Log In. 3. Enter the password object00. Page 6 of 62

Exercise 2 Logging in to the LIN1 VM You now log in to the LIN1 VM. 1. Enter root as the Username and click Log In. 2. Enter the password object00 and click Log In. Exercise 3 Starting DB2 You now start DB2 on LIN1. 1. Double-click the GNOME Terminal icon to open a command prompt. 2. Type this command and press Enter. su -- db2inst1 3. Type this command and press Enter. db2start 4. After DB2 starts, type exit to return to the root user. Exercise 4 Modifying the gdc_custom.properties file You now modify the gdc_custom.properties file to increase the amount of data that is collected and displayed in the Performance Management console. Page 7 of 62

62 You change three parameters: To collect diagnostic data for every request, set the property to false. dc.sampling.enable=false To collect method data for every request for which diagnostic data is collected, set the property to false. dc.sampling.methsampler.enabled=false To enable method data collection at server startup, set the property to true. dfe.enable.methoddata=true Note The instructions are based on using gedit. Feel free to use another Linux-based text editor and adapt the instructions. 1. On LIN1, double-click GNOME Terminal to open a command prompt. 2. Type gedit and press Enter. 3. Navigate to File > Open or press Ctrl-O. Page 8 of 62

4. Navigate to the gdc_custom.properties file at the location beneath the screen capture. Select the file and click Open. /opt/ibm/apm/agent/yndchome/7.3.0.11.0/runtime/was85.lin1node01cell.lin1node01.appsrv01.server1/custom/gdc/gdc_custom.properties 5. Press Ctrl-F to open a Find dialog and enter dc.sampling.enable and click Find. Attention The gedit Find dialog stays open after the search operation is complete. Click the main dialog to edit the parameter. The search string is highlighted in yellow. 6. Delete the # character at the head of the line. 7. At the end of the line, change true to false (without quotation marks). 8. Your parameter now looks like this screen capture: Page 9 of 62

62 9. Click in the Search for field of the Find dialog and enter dc.sampling.methsampler.enabled and click Find. 10.Delete the # character at the head of the line. 11. At the end of the line, change true to false (without quotation marks). 12. Your parameter now looks like this screen capture: 13.Click in the Search for field of the Find dialog and enter dfe.enable.methoddata and click Find. Attention This search also locates instances of the string in a comments section. You must modify the parameter proper. 14.Close the Find dialog. 15.Click the open file in gedit. 16. At the end of the line, change false to true (without quotation marks). Page 10 of 62

17. Your parameter now looks like this screen capture: 18.Press Ctrl-S to save your changes and close gedit. 19.Right-click the Start WebSphere desktop icon and select Open. 20. Wait until the Server server1 is open for e-business message in the terminal window. 21.Type the following command to stop the WebSphere agent. Wait for the operation to complete before proceeding. /opt/ibm/apm/agent/bin/was-agent.sh stop 22. Enter the following command to start the WebSphere agent: /opt/ibm/apm/agent/bin/was-agent.sh start Page 11 of 62

62 Exercise 5 Starting the DayTrader3 script With IBM HTTP Server Response Time plug-in, the top 10 resource timings are collected by default if your browser has JavaScript enabled. The Selenium IDE plug-in was installed in the Firefox browser on lin1.ibm.edu to capture traffic that the Response Time Agent can detect. You now start the Selenium script to generate application traffic. 1. Open a Firefox Browser on LIN1 by double-clicking the Firefox icon on the desktop. 2. Click the Selenium IDE icon in the upper right of the browser window. 3. Click File > Open. Page 12 of 62

4. Select the DayTrader3 file in the TestPlans folder on the desktop and click Open. 5. Position your cursor over the green button at the left of the slider while you hold down the left mouse button. 6. Drag the button all the way to the right to slow the execution of the Selenium script. 7. Select Options > Schedule tests to run periodically from the toolbar menu. Page 13 of 62

62 8. Select Run Now and Turn scheduler ON. Click OK. 9. Confirm success of the script. Page 14 of 62

10. Minimize the Selenium IDE dialog. 11. Proceed with the next exercise. Exercise 6 Accessing the Performance Management console You now open the Performance Management Console on the APM VM. 1. On the APM VM, click the toolbar icon to open a Firefox browser. Attention Do not access the console via the browser on the LIN1 VM, since the periodic running of the Selenium script takes over the browser on that system. 2. Open this web page: https://apm.ibm.edu:9443 Note You might be presented with dialogs that indicate untrusted connections. If so, accept any security risks you encounter to proceed to the console log in at Step 6 on page 17. Page 15 of 62

62 3. Click I Understand the Risks. 4. Click Add Exception. Page 16 of 62

5. Click Confirm Security Exception. 6. Enter the user ID apmadmin and the password object00; click LOG IN. Page 17 of 62

62 Exercise 7 Monitoring WebSphere resources This lab exercise demonstrates the resource monitoring features available for the WebSphere Application Server agent. The DayTrader application was already created for you. 1. Hover over the speedometer icon, then click Application Performance Dashboard in the Performance menu. 2. In the Performance Management console, select DayTrader in the application list. 3. Click Components in the Groups widget. Hint Throughout the rest of the lab, you can learn more about the attributes that are displayed in a widget by clicking the question mark icon at the upper right of the widget. Two examples are highlighted in the next screen capture. Page 18 of 62

4. Review the component widgets on the Status Overview dashboard. 5. Click the WebSphere widget to access the resource dashboard. Page 19 of 62

62 6. Review the resource widgets of the WebSphere Status Overview dashboard. 7. Click the JVM GC (history) widget to access the dashboard for garbage collection. 8. Review the dashboard widgets for JVM and Garbage Collection. Page 20 of 62

9. Hold down the left mouse button while you hover over one of the peaks in the JVM CPU Usage (history) widget to see the data point value and time. 10.Perform the same action on the JVM Garbage Collection and Throughput and Average Response Time widgets. Note On a lightly loaded lab system, none of the values in these charts are alarming. However, in a production environment, the ability to identify the precise time of a spike in CPU usage or Response Time is valuable. For chart widgets with multiple data attributes, you can position the mouse over the display area of the statistic for which you want the value for a specific time. 11. Move the mouse pointer over the purple data display area of the Heap Usage (history) chart to see values for the relevant attribute. You do not need to hold down the left mouse button. Page 21 of 62

62 12.Move the mouse pointer over the orange data display area of the Heap Usage chart to see values for the relevant attribute. You do not need to hold down the left mouse button. 13. Just below the Status Overview tab, click the Overview link to return to the main WebSphere resource dashboard. Note No further dashboards are available for JVM garbage collection. 14.Scroll down to locate and click the Busiest Thread Pools widget to access the resource dashboard for thread pools. Page 22 of 62

15.Click the header of the Average Pool Size column until the highest values are at the top. 16.Select the first item in the sorted Thread Pool Name list. Notice that the added prefix to the header of the Average Pool Size widget matches the thread that you selected in the previous step. Note The threadpool you select might have a different name and hence a different prefix. Page 23 of 62

62 17.Move the mouse pointer over the orange section of one of the bars in the Average Thread Pool Usage bar chart. Examine the flyover to see the average free threads for the selected pool for the current interval. 18.Move the mouse pointer over the purple section of one of the bars in the Average Thread Pool Usage bar chart. Examine the flyover to see the average active threads for the selected pool for the current interval. 19. Just below the Status Overview tab, click the Overview link to return to the main WebSphere resource dashboard. 20.Scroll down to the Log Messages widget and click it. Page 24 of 62

Note On a lightly loaded system like your lab image, you might not see any messages. This behavior is normal. If you see no messages, proceed to Step 25 on page 26. 21. Review the Log Messages widget. 22.Hover over the red portion of the bar, if present, to see the number of Errors in the last 100 log messages. Page 25 of 62

62 23.Hover over the yellow portion of the bar, if present, to see the number of Warnings in the last 100 log messages. 24.Hover over an entry in the Message text column to view the full text of a log entry. 25. Just below the Status Overview tab, click the Overview link to return to the main WebSphere resource dashboard. 26. Locate and click the EJB Containers (history) widget to access the resource dashboard. Page 26 of 62

27. Pay particular attention to a widget with the same name, EJB Containers (history), and note the greater level of detail provided. 28. Just below the Status Overview tab, click the Overview link to return to the main WebSphere resource dashboard. Note No data might be available for some widgets, such as Slowest Web Services. On test systems such as these, that behavior is normal. The Requests with Slowest Response Time, In-Flight Request Summary, and Heap Dump functions are covered in the next section. Page 27 of 62

62 Exercise 8 Monitoring the heap 1. Click View Heap Dump on the JVM GC (history) widget. 2. Scroll down to the Heap Snapshots and Heap Dump sections of the dashboard. Hint The highlighted snapshot is displayed in the Heap Dump table at the bottom of the dashboard. 3. Review the categories of data in the Heap Dump table. Page 28 of 62

4. Back in the Heap Snapshots widget, click Take Snapshot and wait until a new snapshot opens. 5. Confirm successful creation of the second snapshot. 6. Click OK to complete the operation. Note A minimum of 5 minutes is required between snapshots. If you see a message that indicaties the interval between snapshots was too short, wait a couple of minutes and click the Take Snapshot button again. Page 29 of 62

62 7. After successfully taking a second snapshot, click Compare Last Two. 8. Click to the right of the Percentage of Heap Size column header until the arrow points down and the heap sorts from the top down. 9. Review the categories of data in the table. 10.Examine the Delta Count and Delta Size (KB) columns. DELTA Negative numbers, if present, signify a decrease in the size or count for the selected allocated object in the second snapshot. Page 30 of 62

11. Just below the Status Overview tab, click the Overview link to return to the main WebSphere resource dashboard. Exercise 9 Accessing code-level data for WebSphere 1. Return to the top-level Status Overview dashboard for the DayTrader application. 2. Double-click the highlighted WebSphere topology node. Page 31 of 62

62 Note Your topology might look different. 3. Click Diagnose. 4. Click View Instance data for the first transaction instance in the list. Note Your list might contain only one transaction. Page 32 of 62

5. Click View request sequence for the request instance with the slowest Response Time. 6. Click any plus (+) signs to expand the request. Important Your requests might have fewer Events than the examples shown. Page 33 of 62

62 7. Continue clicking any subsequent plus (+) signs until the request is fully expanded. 8. Click through the request events, and note any events that have an associated Stack Trace, Request Context, or both. Note Depending on the nature and performance of the request, you might not see data in one of both of the request widgets. Page 34 of 62

Exercise 10 OPTIONAL: Generating more traffic If none of the daytrader/scenario transactions produces a stack trace, generate more transactions by stopping and restarting all applications in the WebSphere administrator console. If the daytrader/scenario transactions produced a stack trace, you can skip this exercise and resume with Exercise 11, Exploring aggregate topologies, on page 41. 1. Click the plus (+) sign to open a new tab in your browser. 2. Enter lin1:9060/ibm/console in the address bar of your browser and press Enter. 3. Enter the user ID wasadmin and click Log in. Page 35 of 62

62 4. Navigate to Applications > Application Types > WebSphere enterprise applications. 5. Click the Select All icon; click Stop. 6. Confirm that the applications were stopped successfully. Page 36 of 62

7. Click the Select All icon; click Start. 8. Confirm that the applications were started successfully. 9. Return to the Performance Management console and select DayTrader in the application list. Page 37 of 62

62 10.Double-click the WebSphere topology node. 11. Review the list of Requests with Slowest Response time, noting especially any additional requests that including the string /ibm/console/. 12. Click Diagnose at the lower left of the Requests with Slowest Response time widget. 13.Click View Instance data at the right of the worst performing transaction in the Request Summary widget. Page 38 of 62

Note The details of your list of transactions might be different. 14. Click View request sequence at the right of the worst performing transaction in the Request Instances widget. 15.Click any plus (+) signs to expand the request. Page 39 of 62

62 16. Click through the request events, and note any events that have an associated Request Context, Stack Trace, Method Summary, or a combination of the three. 17.Click the question mark icon of the Request Stack Trace widget to access online help for details of how to interpret the data. Page 40 of 62

Exercise 11 Exploring aggregate topologies In addition to resource monitoring and code-level diagnosis, IBM Application Performance Management Advanced supports transaction tracking, including transaction topologies. In this exercise, you explore aggregate topologies. 1. Return to the Performance Management console and select DayTrader in the application list. 2. Review the chart for top-level Requests and Response Time widget. The bars indicate the number of requests for a specific collection period. The three colors are for Good, Slow, and Failed requests. The single line at this level graphs response time. Page 41 of 62

62 3. Position the cursor over one of the bars, and note the request and time information. 4. Position the cursor over one of the nodes on the response timeline to see the flyover. The node is directly above or on top of the corresponding bar. Page 42 of 62

5. Review this sample Aggregate Transaction Topology, including the icons at the lower left. Note You might see a different set of icons in your topology. The purpose of this portion of the exercise is to demonstrate how the appearance of icons changes depending on which filters are selected. If you click the Critical icon in that example, you see the topology at Step 6 on page 44. Page 43 of 62

62 6. Note the changes in the Aggregate Transaction Topology when the critical icon is selected. a. The lin1 HTTP node previously had a normal status, which was indicated by a white check mark in a green box (see the screen capture in Step 5 on page 43). The node is now disabled for display purposes only. b. The lin1node01cell previously had a normal status, which is indicated by a white check mark in a green box, and is now disabled for display purposes only. c. The db2inst1 node was in a critical state and so is still displayed normally. d. The BROWSER and JNDI:corbaloc nodes are unmonitored. Because they have no assigned status, those nodes are unaffected by the filter. 7. Click the Critical node again to turn off the filter, returning the topology to the state shown at Step 5 on page 43. Page 44 of 62

Exercise 12 Exploring transaction instance topologies Aggregate topologies represent the average performance of a group of transactions. Instance topologies represent the performance of a single transaction. 1. Return to the top-level Status Overview dashboard for the DayTrader application. 2. Click anywhere on the Requests and Response Time widget. Page 45 of 62

62 3. Locate and click the /daytrader/scenario transaction in the Transactions Top 10 list. 4. Review the two graphs at the top of the /daytrader/scenario dashboard. The Transaction Requests and Response Time graph is similar to the graph at Step 2 on page 45. Page 46 of 62

5. Notice the added detail in the second-level Requests and Response Time chart, with a response time breakdown for Client Total Time and Server Response Time. Note The Client Total Time in this second-level graph corresponds to the Response timeline in the top-level graph. 6. Review the four elements of the Response Time Breakdown graph. 7. Click the question mark icon of the Render Time Breakdown widget for details of how to interpret the data. Page 47 of 62

62 8. Scroll down in the Help dialog to the definitions for the four render time elements. 9. Click the X to close the help dialog. 10. Scroll down and review the lower portion of the End User Transactions dashboard. Note The lack of subtransactions in this case is normal. 11. Scroll down in the same dashboard to the Transaction Instances widget. Page 48 of 62

12. Click the Response Time column header to bring the longest response time to the top. You might have to click the header more than multiple times. 13. Click the first transaction in the list. 14. Review the topology. Note The node at the right represents an uninstrumented external service. The details of your topology might be different. Page 49 of 62

62 15. Hover over the topology node for the WebSphere Application Server (note the highlighted icon) to view node-specific details. 16. Click the /daytrader/scenario node. 17. Click Diagnose on the Node Properties widget. 18.Click a request in the list. Page 50 of 62

19.Click all plus (+) signs to fully expand the Request Sequence. Your request might have fewer Events. 20. Double-click individual events to see whether they have an associated Request Context or Request Stack Traced. 21. Click the Transaction Topology link at the top of the dashboard. Page 51 of 62

62 22. Click the /daytrader/scenario node. 23.Consider drilling down into the WAS Status and Linux OS nodes for further investigation. Page 52 of 62

Exercise 13 OPTIONAL: Creating a synthetic transaction In the next three exercises, you create a synthetic transaction for Playback and monitoring. By completing these tasks, you enable periodic monitoring of the website that is accessed by the script. 1. In the Performance Management console, hover over the sliders icon to bring up the System Configuration menu; then, select Synthetic Script Manager. 2. Click the plus (+) sign to create a new transaction. 3. On the Upload a Script tab of the Synthetic Script Editor, enter the following parameters: a. Transaction Name: PlantsFromYourSite b. Description: Response from PlantsByWebSphere/promo.jsf. Page 53 of 62

62 c. Select URL option and enter http://lin1.ibm.edu/plantsbywebsphere/promo.jsf 4. Click the Schedule a Script tab and set the following Playback schedule and location. a. Playback Mode: Simultaneous b. Interval: 5 minutes c. Location: YourSite 5. Click Save Transaction to finish creating the transaction. 6. Click OK to close the confirmation window. You are returned to the Synthetic Script Manager. Page 54 of 62

7. Confirm that the transaction started. Exercise 14 OPTIONAL: Creating a synthetic application 1. Return to the Application Performance Dashboard. 2. Click the plus (+) sign to create a new application. The Add Application window opens. Page 55 of 62

62 3. Enter PlantsFromYourSite in Application Name. 4. In the Application components dialog, click the plus (+) sign to add a component. 5. Scroll down to Synthetic Transactions in the Select Component dialog box and click it. 6. In the Component Editor window, select the PlantsFromYourSite synthetic transaction. Page 56 of 62

7. Click Add to associate the synthetic transaction with the application. 8. Click Back to return to the Select Component window. 9. Click Close to exit the Select Component window. 10.Confirm that the PlantsFromYourSite synthetic transaction was added. 11. Click Save. 12. Click OK to complete the operation. Page 57 of 62

62 You are returned to the Application Dashboard. The PlantsFromYourSite application is displayed. If the application is not immediately displayed, click Refresh and wait a few moments for it to appear. Exercise 15 OPTIONAL: Viewing synthetic transactions 1. Click the PlantsFromYourSite application in the All My Applications list. 2. Synthetic transaction data is first displayed in the Availability Over Time widget. This screen capture shows a few hours of data because of when this system was set up. Your system shows much less data. Page 58 of 62

Attention Data might not appear immediately. Wait a couple of minutes and click Refresh. In the example that is shown, green indicates that all transactions are completing in less time than their threshold value. Yellow indicates transactions that are taking longer than the threshold value. Red indicates that some transactions are failing. 3. Roll your cursor over the bar chart and see the average times for all transactions in that aggregation period. 4. Click the Availability Over Time widget. The Synthetic Transactions page is displayed. Each of these widgets has only one row because this lab environment has only one transaction that is being run from a single location. Page 59 of 62

62 5. Click the PlantsFromYourSite transaction in the Transactions List widget to open the Synthetic Transaction window for more detail. The Synthetic Transaction page opens. ffthis page shows performance and availability data of this specific script over time. This sample transaction has no subtransactions. For transactions with subtransactions, more detail is available in the Subtransactions widget at the bottom of this dashboard. Page 60 of 62

6. Click the YourSite location to access a list of Transaction Instances for your location. 7. Click a Transaction Instance in the popup to access a summary page. The summary page includes: Widget that allows you select a different instance of that transaction Widget showing any errors that are encountered for the selected transaction Gantt chart for the selected transaction instance 8. Move to the Transaction Break Down widget for the selected transaction at the lower right. 9. Click any plus (+) sign to expand the transaction. Page 61 of 62

62 10. Scroll through the Transaction Break Down and click transaction events that have high response times or other indications of poor performance. 11. Hover over items in the Transaction Name column and review URL details in the flyovers. 12. Review the available metrics in the column header row. You have completed this lab. Conference: Let a proctor know that you are finished, so that the system can be reset for the next attendee. You are welcome to do other labs now. Page 62 of 62