59
World ® ’1 6 Pre-Con Ed: Triage And Diagnose Apps through Improved Monitoring Coverage Andreas Reiss, Sr. Principal Engineering Services Architect, CA Technologies Guenter Grossberger, Sr. Engineering Services Architect, CA Technologies DO4X51E DEVOPS – AGILE OPERATIONS

Pre-Con Ed: Triage and Diagnose Apps through Improved Monitoring Coverage

Embed Size (px)

Citation preview

World®’16

Pre-ConEd:TriageAndDiagnoseAppsthroughImprovedMonitoringCoverage

AndreasReiss,Sr.PrincipalEngineeringServicesArchitect,CATechnologiesGuenterGrossberger,Sr.EngineeringServicesArchitect,CATechnologies

DO4X51E

DEVOPS– AGILEOPERATIONS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

OverthepastyearCATechnologieshasmadenumerousimprovementsthataredesignedtodramaticallyreducethetimerequiredtodiagnose,triageandremediateappperformanceproblems.Jointhislab-basedsessiontoreceiveadetailedtourofAPMTeamCenterwithdeep-divesintoDifferentialAnalysis,TimelineViewsandAssistedTriagefeaturesthatproactivelysuggestfixessoyoucanoptimizeappperformancewithminimaleffort.WewillalsodemonstratehowyoucanuseCACross-EnterpriseApplicationPerformanceManagementtomonitorbusinesstransactionsacrosscommonmiddlewareandmainframesubsystemswithasingleandintuitiveinterface.Pre-registrationstronglyencouragedasspaceislimited;pre-registeredattendeeswillbeadmittedfirst.

AndreasReissCA Technologies,Sr.PrincipalEngineeringServicesArchitect

GuenterGrossbergerCATechnologies,Sr.EngineeringServicesArchitect

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WELCOMETONOWHEREBANK

APPLICATIONTRIAGEREDEFINED

STATEOFTHEARTTRIAGE

FROMTRANSACTIONTOMAPCOMPONENTS

NEXTGENERATIONTRIAGE

1

2

3

4

5

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WelcometoNowhereBank

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIntroductiontoNowhereBank

NowhereBankServer

Portal

Mediator

Engine

HTTPCommunication

RequestQueues

ReplyQueuesQueueServer

§ Threetier application

§ HTTPcommunicationbetweenportalandmediator

§ Mediatorandenginecommunicatewithrequest/replyqueues

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsGettingNowhereBankStarted

§ LocateBanking-Control.cmd atfolderC:\NowhereBank andstartit.

§ Startinsequence– Messagingserver

– Engine

– Mediator

– Portal

§ LogintoCAAPMweb view– http://localhost:8080

1 2 3 4

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsGettingNowhereBankStarted

§ Starttraffic

§ Validatetransactiontracesininvestigator

1

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ApplicationTriageRedefined

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseApps

§ ProblemsinthehistoryofCAAPMhavechangedsignificantly

§ Thetimewhentheslowestcomponentisnolongertherootcause

EvolutionofProblems

CodingExceptions

Threadingand

Concurrency

SOAIntegration

Resource/Containers

BusinessModellingvs.Programming

LooseCoupledServices

Time

Complexity

/Abstractio

n

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseApps

§ CAAPMevolutioninsyncwithproblemevaluation

§ CAAPMdesignsanddevelopstofacetheproblemsoftomorrow

EvolutionofProblemsRequiresanEvolutionofCAAPM

Time

Evolution

Alerts

CustomDashboards

CustomPerspectives

AssistedTriage

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

StateoftheArtTriage

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsLegacyTriage

AlertFlooding BridgeCall

CrisisMeeting Restart PowerPoint

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsNextGenerationTriage

Awareness Understand

IdentifyCommunicate

IsolateDamageoftheoutbreak

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

FromTransactiontoMapComponents

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsFromTransactiontoMapComponents

Vertex attributes:

• Execution context

• System variables

AppA

Servlet WSCall

AppB

SQLWS

Transactions

discoveredby

themonitoring

agent

Discovery

ServletVertex

Vertexattributes

Automaticattributes

Customattributes

• Analysisoftransactions• Creationofvertexesfor

significantcomponents

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Dashboard

Homepage

ServletVertexMap

TriageAndDiagnoseAppsFromTransactiontoMapComponents

MyServlet

Perspectivesdefinethecolumnsofthedashboard;onevertex,

dependentonattributesappearsonmultiplecolumns

PerspectivesdefinethenestingandgroupingofVertexes.

UsePerspectivestointroducesemanticlayersofan

environment;avertexcanonlyappearonce

HomepagevisualizesmostleftVertexesas“Experiences”;an

experiencecanonlyappearonce

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsWarmUp

§ Defineaperspective“NowhereBankArchitecture”

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NextGenerationTriage

Awareness

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsAwareness

Alert

AlertAlert

Alert

Alert AlertAlert

Alert

Alert

Alert

Alert

AlertAlert

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsAwareness– UsingourDashboard(“StatusConsole”)

Perspectives

definethe

columns

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsTriggerScenario

§ Triggerourerror scenariobyclickingonthe”StartScenario”button

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIntroducingtheNewHomeScreen

Allstatus

information

on

experiences

Overallhealth

information

acrossall

experiences

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIntroducingtheNewHomeScreen

Vertex:

§ Name:ChargeAccount

§ Application:Portal

§ JVMA

ChargeAccountTeamCenterPerspective

PortalApplication

ChargeAccount

JVMA

JVMB

JVMC

Homepage

JVMA JVMB JVMC

ChargeAccount

PortalApplication

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Experience

xyz

xyz

TriageAndDiagnoseAppsExperiencevs.Problemvs.Anomaly

§ Experiences– Most left

components– Transaction

startcomponents

xyz xyz xyz

xyz

xyz xyz

xyz

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsHomeScreenSetUp

Defineahomescreenexperience“NowhereBankHealth”withvariationsof– Application

– Businesstransaction

– …

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NextGenerationTriage

Damage OfTheOutbreak

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsDamageoftheOutbreak

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsDamageoftheOutbreak

Quicklyidentifycallhierarchies

anddependencies

Identifyimmediatelythesize ofthe

damage

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsObservetheAwarenessFactor

§ Movetothedashboard viewtogetawareofproblemindicators

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsObservetheOutbreak

§ Movetothemapviewtoobservetheproblem

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsImpactoftheOutbreak

Healthscore/qualityof

transactions

Quickly identifythehealthofanexperience

Are problemsdeveloping?Howmanyproblemsto

takecareof?

Differentiatebetweenslowandfailingtransactions

What’s thetimedistributionamong

requests?Fasterthanonesecond?Two

seconds?Orslower?

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsAssistedTriageProblemvs.Anomaly

§ Manyroadblocks,trafficjams,constructionsites

§ Willitaffectme?

§ Howdoesitaffectmeonmytrip?

§ Doesitevenmakesensetostepintothecar?

34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsNextGenerationProblemAnalysis

Weexpectsometroubleonourway.“affected

transactionsonmyroute”

Weexpect7minutesdelay onourtripcompared

tousual

35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsImpactoftheOutbreak

§ Thehomescreenpresentrealtime“trafficinformation”foreveryexperience– Problems (DoIhavesevere problems

whereImaybeshouldnotevenstepintothecar)

– Anomalies (Maybesomeminorconstructionsiteswhicharenotaproblem, yet)

36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

xyz xyz

TriageAndDiagnoseAppsExperiencevs.Problemvs.Anomaly

§ Twocomponentswithproblemsidentified

§ Noexperienceaffected

Experience

xyz

xyz

xyz xyz

xyzThesystemdetectedoneanomalywithtwoaffectedcomponents

37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsExperiencevs.Problemvs.Anomaly

§ Onceanexperienceshowserrors,itsidentifiedasproblem

xyz xyz

Experience

xyz

xyz

xyz xyz

xyzThesystemdetectedoneproblemwiththree affectedcomponents

38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsObservetheOutbreak

§ Observehowdifferenttransactionsareimpactedandwhere

39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NextGenerationTriage

Isolate

40 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIsolate‒ FocusontheProblemRoute

§ Isolateproblemtransaction

§ FocusonproblemTRANSACTIONS

§ Howdoesoneproblemindicatingcomponentaffectend-to-endtransactions

41 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsNotebook– IsolatingData

§ Thenotebooktoisolatetransactionsendtoend§ Focusonproblemcomponentsandresolverelatedtransactions§ Comparetransactions,performancemetrics

42 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsNotebook– IsolatingData

§ Theisolationofproblemsandtransactionsis

nowonlyoneclickaway

Linktoanalyzetheexperienceinthenotebook

Linktoopenaproblemin

thenotebook

43 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsNotebook– Isolatingdata

Timelinewithindicators

Transactionhealth

information

Isolatedtransactioncomponents

Problemsandanomaliessection

44 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIsolatetheProblemTransactions

§ Isolatethetimeframe oftheprobleminthehomepage

45 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NextGenerationTriage

Understand

46 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsUnderstand

§ AssistedTriageisthelatestpatent-pendinginnovationtomoreefficientlyfindproblemsinsoftware

§ Blametherightsourceoftheproblem

§ Dealwithalertflooding

47 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsUnderstand

1.Analyzethetransactionpathend-to-end

2.Recordtypesofproblemtriggers

3.Putproblemsintocategoriesandsortthemchronological

18:22

18:35

18:42

18:48

48 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsUnderstand

§ Thenotebookasacombinedsolutiontoprovideallinformationrelatedtoaproblem

Businesstransaction/experiencerelated

toaproblem

Timestampoffirstandlastappearance

ofevidences

Alldetailedevidencesrelatedto

aproblem

49 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIsolatetheProblemTransactions

§ Analyzetheevidencesandstoryoftheproblem

§ Navigatetothenotebook

§ Identifytheproblemtransaction

50 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NextGenerationTriage

Identify

51 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIdentify

§ Explainthepathofaproblem

§ Differentiaterootcauseandimpactofaproblem

§ Compareproblemstateswithhistoricalperformancedata

52 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsAssistedTriage

xyz xyz xyz xyz

18:25– DifferentialAnalysistrigger

18:22-timeouts

18:20-stalls

Evidence types Errorcomponent Componentrelationships Problemsequences

Componentrelationships

Suspect(s)

53 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsIdentify

§ Validatetheproposedrootcause(suspect)oftheproblem

Suspect

54 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

NextGenerationTriage

Communicate

55 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsCommunicate

§ Communicatetheproblem

§ Answerwiththerightinformation

§ Sharetheinformation

56 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsCommunicate‒ Share

• Sharablelinktotheisolatedproblemdescription(notebook)

• Alldetailsandevidencesatoneplace

57 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriageAndDiagnoseAppsAnswerwiththeRightInformation

Howaretransactionsaffected?

Whichcomponentsinthesystemare

affected?

WhichBTsareaffected

Whatwastheproblem?

Whendidithappen?

Givemetheevidences?

58 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.

DevOps– AgileOps

FormoreinformationonDevOps– AgileOps,pleasevisit:http://cainc.to/wYXSg6