pre-con ed: hack that api—your data, your way with ca performance management

23
World ® ’1 6 Pre Con Ed: Hack that API— Your Data, Your Way With CA Performance Management Jason Normandin, Sr. Principal Product Owner, CA Technologies DO4X66E DEVOPS – AGILE OPERATIONS

Upload: ca-technologies

Post on 07-Jan-2017

61 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

World®’16

PreConEd:HackthatAPI—YourData,YourWayWithCAPerformanceManagement

JasonNormandin,Sr.PrincipalProductOwner,CATechnologies

DO4X66E

DEVOPS– AGILEOPERATIONS

Page 2: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

CAPerformanceManagementleveragesmodernwebtechnologiesandanopenAPItoenableyoutocustomizeyourdataconsumptionexperience.Thishackathonsessionwillprovidehands-onaccesstothesolution'sopenAPIandtoexpertswhowillhelpyoucreateusableappsforcustomizingyourowndatavisualizations.Youdon’tneedwebtechnologydevelopmentexperiencetoparticipate—you’lllearnsomesimpletipsandtrickstobringyourdatatolife.

JasonNormandinCATechnologies,Sr.PrincipalProductOwner

Page 4: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

INSTALLAPPS

SETUPGROUPRULES

CUSTOMIZATIONSANDOTHERAPPS

DEFINEGEO-COORDINATESANDCONNECTIONS

VALIDATESETTINGS

VIEWMAP

1

2

3

4

5

6

Page 5: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

InstallApps

§ Pre-requisites:– CAPerformanceManagement3.0(requirescustomattributesfeature)– OpenAPIWeather-mapinstalled

§ GitHub:

– OpenAPI devicegeo-locationattributesdefined§ GitHub:

– OpenAPI interfaceconnectioninformation§ GitHub:

– FollowinstallinstructionsinREADMEforeachapp

Page 6: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CreateConnectionAttribute

Step1.Createcustomattributetodefineourdevicetodeviceconnections

§ POSTtoDataAggregator

§ ItemType:Port

§ Type:String

§ Name:ConnectsTo

Page 7: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CreateGroupRules

Step2.CreategroupofWeather-mapdevicesandinterfaces

§ Devicealiascontains‘Core’

§ Interfacealiascontains‘->’

Page 8: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

SetGeo-LocationData

Step3.Foreachdevicetobeplacedonmap

§ Setgeo-locationinformation

incontextpage

§ Setaliasto‘<SiteXYZ>Core

Router’

Page 9: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

SetCircuitConnections

Step4.Foreachdevicetobeplacedonmap

§ Setconnectioninformationin

interfacecontextpage– ConnectsTo <device>

§ Setaliasto‘LocationA->

LocationB’

Page 10: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ValidateConfiguration

Step5.AllowOpenAPIETLJobtocompleteandverifygroupcontentsandgeoandconnectiontagssetproperly

Page 11: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

VerifyGroupings

Step6.VerifyPerformanceCentergroupcontentsandaliasvaluesviainventoryviews

Page 12: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

InstallandLaunchWeather-map

Step7.LaunchPerformanceCenterWeather-mapAppdashboardandselectgroupcreatedinstep1

Page 13: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Weather-mapFunctionality

Eachsitewithintargetgroupdisplayedonmapandintable(sortedbyCPUUtil descending)

Sitecolorbasedonthresholdrange

Keymetricsforallconnectedcircuitsshown(sortedbyUtil desc)

Page 14: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Weather-mapFunctionality

HoveroversitetoviewInfoandKPIvalues

Page 15: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Weather-mapFunctionality

Selectasiteonmaporintabletoviewconnections

Circuitsfilteredtoonlyshowthoseto/fromselectedsite

Circuitcolorbasedonthresholdrange

Page 16: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Weather-mapFunctionality

HoveroveracircuittoviewinfoandKPIvalues

Page 17: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CustomizingWeather-mapAppOptions

§ OptionsareconfiguredasparameterspassedtoappviaPerformanceCenterbrowserview– connect=full|half

§ Controlsthewaytheconnectionsaredrawntoenablelineover-lapinlargerconfigurations

full half

Page 18: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CustomizingWeather-mapAppOptions

– scope=usa |europe |world(default)§ Allowmaptobefocusedonspecificcontinentformapsnotrequiringaglobalperspective

usa europe world

Page 19: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CustomizingWeather-mapAppOptions

– theme=dark|light§ Controlsthethemeandcolors

dark light

Page 20: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

OtherOpenAPIApps

§ VisitourGitHubRepositoryforothergreatappsthatcan easilybedeployedandcustomized

https://github.com/CA-PM

Page 21: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Summary

§ Refertoyourlabhand-outsforstepbystepinstructionsto– DeployAppsnecessaryforCAPerformanceManagementWeather-map

– Configurecustomattributeandgrouprulestosimplifydatavisualization

– LeveragetheOpenAPIAppstocreatethegeo-locationandconnectiondatawhichisconsumedbythemap

– Runandtroubleshoot

§ Whatcouldbechangedtomakethismoreapplicabletoyourenvironment?

§ Howwouldyoumakethosechanges?

Page 22: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Page 23: Pre-Con Ed: Hack that API—Your Data, Your Way With CA Performance Management

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.23 @CAWORLD#CAWORLD

DevOps– AgileOps

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