3.19k likes | 5.45k Views
dynaTrace 6.0 – Core Concepts. Agenda. dynaTrace Solution & Architecture Installation & Configuration Applications PurePaths Measures Dashboards Sessions. dynaTrace Solution. New Generation APM with Compuware. Defined by APM Best Practices. Transaction Management. Lifecycle by
E N D
Agenda dynaTrace Solution & Architecture Installation & Configuration Applications PurePaths Measures Dashboards Sessions
New Generation APM with Compuware Defined by APM Best Practices Transaction Management Lifecycle by Design Technology & Analytics Exclusive Technology , Industries strongest analytics team Smart Analytics Fast Time To Value End-User Perspective Unified platform fosters collaboration between production, test & development teams 100% transaction visibility with deep-dive diagnostics for rapid problem resolution Real-time and historical business and IT analytics provide Answers, Not Data APMaaS platform, smart analytics, & advanced APM automation delivers value within hours Manage user experience across users, devices, browsers and geographies
Comprehensive Scope business end-to-end life-cycle all transactions deep
Performance Engineering (Arch Validation, Profiling) Automated Testing & ContinuousIntegration Integrate to Automate and Collaborate Development TeamEdition Test Center Edition Test Production Development Developers, CI Test Centers Production, Staging 24x7 End-to-endTransaction Tracing,Monitoring, Diagnostics AutomatedTesting, Tuning, Diagnostics StagingTests, Tuning,Diagnostics IDE, CI, Build Integration System Management Application Performance Management Test Tool Integration Production Edition Compuware/dynaTrace APM – One Platform – Single Product
Last Minute Search: menu.do, user=Joe, action=lastMinute Buy: sale.do, user=Jane, action=doBuy 100 % List: query.do, user=Bob, action=showAll Pay: menu.do, user=Joe, action=pay Call PaymentService.transferCash
Top Down: Automatic Application Health and Impact Analysis 1. Application Performance Which Applications have Health Problems right now? End User Impact Are there Performance or Functional Problems impacting our End Users? 2. End User Impact Are there Performance or Functional Problems impacting our End Users? 3. System Health Is the underlying System having problems? 2. End User Impact Are our End Users already frustrated?
Top Down: Automatic Transaction Health and Impact Analysis 1. Transaction Hotspots Which are the ones impacting End Users? 1. Transaction Impact Is it Performance or Functional Health Issues? 2. Transaction Impact Is it Performance or Functional Health Issues? 3. System Health Is the underlying System impacting this transaction?
Top Down: Automatic Baselining and Root Cause Analysis 1. Baseline Violations When did we see performance degrade? 2. Baseline Violations Is it related to unusual load on the system? 3. Baseline Violations Does it also impact failed transactions?
Top Down: Automatic Root Cause and Fault Domain Isolation 2. Fault Domain (Inter-Tier) Is Inter-Tier communication a bottleneck? 1. Fault Domain (Tier) Which Tier accounts for most of the time? 3. Fault Domain (Stack) Is a Tier slow because of underlying System Health Issues?
Bottom Up: Automatic Infrastructure Health and Impact Analysis 3. Impact on Applications Which Applications are impacted? 1. Infrastructure Health Which Hosts are impacted by CPU, Memory or Disk Space shortage? 2. Impact on Applications Does this impact any of the hosted applications or processes?
Bottom Up: Automatic Host and Process Health Host Health Get details on the actual host health problem
Bottom Up: Automatic Process Health - Web Server Process Health Get details on Web Server Health
Bottom Up: Automatic Process Health - JVM Process Health Get details on Java AppServer Health
Bottom Up: Automatic Process Health - .NET Process Health Get details on .NET AppServer Health
Bottom Up: Automatic Process Health - Native Applications Process Health Get details Native Process Health
Execution times, CPU, Remoting, Messaging, Web Services, I/O, Wait, Sync, Memory, GC, JMX, CLR, OS & PMI Metrics no statistical guesswork Only 24x7 heterogeneous always-on distributed global deep transaction trace no after-the-fact tracing Method args & returns, Exceptions, Logs, SQLs & Bind values business context dynaTrace Solution Architecture Mainframe, Native, … Web Server / PHP Java .NET Database Browser or Rich-Client Automatic Process and Host Monitoring Zero Config Lowest overhead through externalized data processing no app-side data processing Single file deployment no config files & no source code changes Agent/PurePath Collector Monitoring Collector Globally scalable collector architecture, secure, no problems with dynamic cloud and virtualization environments PerformanceWarehouse dynaTraceClient SessionsStore dynaTraceServer Real-time transaction analysis, business transaction mapping, alerting no averages Synthetic Role based dashboards, single point of configuration Ease-of-use across lifecycle Exported Session dynaTrace Memory Analysis Server Self-learning, Auto-discovery, Auto placement low maintenance Offline Session Analysis Large heap analysis service Background processing Offline Analysis of root-cause information (transactions, memory, threads & time series) Collaboration made easy Shared full-depth transaction & context information no guesswork
dynaTrace Server Architecture • The dynaTrace Server is comprised of two components: Mainframe, Native, … Web Server / PHP Java .NET Database dynaTraceClient Agent/PurePath Collector dynaTrace Server dynaTrace Frontend Server PerformanceWarehouse dynaTraceClient The dynaTrace Server is responsible for processing and analyzing incoming data. The dynaTrace Frontend Server is responsible for supporting User Analysis. dynaTrace Sessions dynaTraceClient
Overview – Install & Minimum Configuration Install dynaTrace Server, Collectors, Client, Performance Warehouse Step 1 Import License, Finish Basic Configuration Steps Use the Application Environment Configuration Wizard (Create System Profile and Define Tiers) Start Application Capture Data, Analyze, Monitor
Hands On – Install dynaTrace • Goal: Install dynaTrace • Steps: • Run dynaTrace Installer Package provided by your Instructor • Choose Basic Installation • Use DEFAULT Directories • Leave the “Immediately activate the dynaTrace .Net Agent” checkbox checked • Uncheck the “Immediately activate the dynaTrace IIS Agent” checkbox
Hands On – Install dynaTrace • Goal: Install dynaTrace • Steps: • When prompted, start the dynaTrace Server, dynaTrace Collector & dynaTrace Client: • Import the License Key provided by your Instructor
Verify Windows Services • You should have these Windows Services configured:
Hands On: Install easyTravel with Custom Scenarios • Goal: Install easyTravel and get familiar with main use cases of this sample application • Steps • Run the easyTravel Installer provided by your Instructor • Use DEFAULT Directories • Leave the “Use Microsoft Internet Information Services 7” checkbox unchecked • Start easyTravel Configuration UI - Training • Copy the userscenarios.xml file provided by your Instructor to the C:\Users\<user>\.dynaTrace\easyTravel 2.0.0\easyTravel\config directory • Shutdown easyTravel Configuration UI – Training • The Start/Shutdown is required to create the directory and prep easyTravel
Hands On: Install and work with easyTravel • Goal: Get familiar with main use cases of this sample application • Steps • Start easyTravel Configuration UI - Training • Launch Core Training -> Standard Scenario • Open easyTravel Customer Frontend (http://localhost:8080). Login, Perform a Search and Buy a Journey • Open easyTravel B2B Frontend (http://localhost:9000). Login with Personal Travel Inc. and view Journeys
What is a System Profile? What is an Application? • A System Profile ... • ... is the workspace for administrating the monitored application(s) • ... contains all the configuration settings for assigned Agents • … can distinguish between different logical applications • dynaTrace automatically creates a default System Profile called “Monitoring” • Applications … • … are automatically identified by the Host Name of incoming requests • http://www.easytravel.com/default.html -> www.easytravel.com • http://www.easytravel.at/default.html > www.easytravel.at • … can be configured using your own URL Patterns • … allow application-specific dynaTrace Settings • … allow application-specific performance and business analysis
Accessing the System Profile • Either through Configuration Panel • Or through Cockpit
Exploring the System Profile • System Profile Wide Settings • Custom Instrumentation Points (Sensors) • Measures (for Advanced Monitoring) • Business Transactions • Incidents (for SLA Management) • … • Agent Group / Tier Settings • Maps an Agent by Name to this Group / Tier • Defines what information is captured on this tier
What is an Agent? The Server Agent • Is a library loaded by a JVM, CLR, Web Server at startup according to configuration • Java: configured via JVM command line option • Agent is only loaded if configured • .NET: configured via environment variables and configuration tool • Agent is always loaded but only active when enabled for specific process • Web Server and PHP • Agent is loaded as Web Server Module • Automatically connects at startup to configured dynaTrace Collector • Intercepts class loading to inject Sensors. Hooks into callbacks to capture request data
Which Information is Captured? • PurePath data via deployed Sensors (transaction based) • Methods, Parameters, Return values • Exceptions, … • Auto Sensor (transaction based) • Method Hotspots on slow transactions • Host and Process data via OS API, process/JMX interfaces (10 seconds poll) • CPU, Memory, Disk and Network I/O • Additional Metrics from Application Server
Injecting an Agent for your Java/.NET/… Application • An Agent is defined by its Name and it connects to a Collector • For Java it is passed as part of the command line argjava -agentpath:<dthome>/dtagent.dll=name=<agentname>,server=<collectorhostname> • For .NET its configured in the .NET Agent Configuration Tool • .NET Configuration Tool is installed with .NET Agent Installer • Alternatively use Process Env Variables • DT_AGENTNAME • DT_SERVER (actually defines the Collector Host and optionally port) • …
Mapping an Agent to a System Profile • Agent is mapped to a single System Profile through the Agent Mappings The Application Environment Configuration Wizard defines the Name based on the Tier Name. The Agent Name given by the Application Environment Configuration Wizard will be TIERNAME_SYSPROFILE, e.g: CustomerFrontend_easyTravel
Connected Agents - Agents Overview • Verify the name of the agents • Verify the agents are connected • Verify the agents use the correct System Profile • Note: The agents of active Profiles must not overlap! • Note: Agent always maps to ONE single profile! 1. Open Agent Connection Status 2. Choose different groupings for the agent list 3. Verify Agent Names 4. Verify valid License 5. Verify the Agent Mapping
Agent Groups (=Tiers) Frontend Tier running on Nodes 1,2,3 Agent Group: Frontend Backend Tier running on Nodes 4,5,6 Agent Group: Backend name=„backend-6“ name=„backend-5“ host=„be-node-4“
Overview – Install & Minimum Configuration Install dynaTrace Server, Collectors, Client, Performance Warehouse Import License, Finish Basic Configuration Steps Use the Application Environment Configuration Wizard (Create System Profile and Define Tiers) Start Application Step 2 Capture Data, Analyze, Monitor
Describe Your System By Defining All Tiers • A System is described in a System Profile, e.g.: easyTravel • A Tier/Agent Group is identified by a logical name and a technology, e.g.: • Customer Frontend on Java/JBoss • Payment Backend on .NET • Feedback Application on PHP Business Backend Customer Frontend Credit Card Auth Feedback Forum Payment Backend B2B Frontend
Configuring Your Application Environment Click Here to Configure your Agent Groups
Choose your Application Type Instrument Web Servers and Application Servers for Web Applications Instrument Web Servers and the PHP Engine for PHP applications Instrument Native, Mainframe, and other Applications