《适用于 AppDev、DevOps 和 SRE 的实用遥测.pdf》由会员分享,可在线阅读,更多相关《适用于 AppDev、DevOps 和 SRE 的实用遥测.pdf(47页珍藏版)》请在三个皮匠报告上搜索。
1、#CiscoLive#CiscoLiveJason Davis/Distinguished EngineerSNMPguyDEVNET-1534Practical Telemetry for the AppDev,DevOps and SRE 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveEnter your personal notes hereCisco Webex App Questions?Use Cisco Webex App to chat with the speaker af
2、ter the sessionFind this session in the Cisco Live Mobile AppClick“Join the Discussion”Install the Webex App or go directly to the Webex spaceEnter messages/questions in the Webex spaceHowWebex spaces will be moderated by the speaker until June 9,2023.12343https:/ 2023 Cisco and/or its affiliates.Al
3、l rights reserved.Cisco PublicDEVNET-1534Agenda 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicImportance of Monitoring-Telemetry&InstrumentationAn example with CiscoLive NOCProcessesConclusionDEVNET-15344 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveA
4、lbert Einstein(also attributed to sociologist William Bruce Cameron)Not everything that can be counted counts and not everything that counts can be countedDEVNET-15345How often have you experiencedHave you wish you could have 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiv
5、eObservability-as a Car analogyDEVNET-15348 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveAPIsGet it!?Design considering varied data sourcesgRPCNETCONFRESTCONFRESTSNMPgNMICLIDEVNET-153410Its all about theApey Eyes 2023 Cisco and/or its affiliates.All rights reserved.Cisc
6、o Public#CiscoLiveThe State of Monitoring/OperationsMonitoring TechniqueMonitoring TechniqueComplexityComplexityReadRead-WriteWriteMaturityMaturityFutureFutureCommercial ToolsMinimalUsuallyVariesVariesCLIMinimal to HighUsuallyVariesLimitedSNMPMedium to HighRead-YesWrite-LimitedHighLimitedNETCONF/YAN
7、GMediumYesMedium to HighGoodRESTCONFMediumYesMedium to HighGoodgRPC Streaming TelemetryMediumRead-YesWrite-NoMediumIncreasingly GoodgNMIMediumYesLow-IncreasingIncreasingly GoodDEVNET-153412 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCommercial ToolsAppropriate and eff
8、ective if IT is considered a sustaining function of the businessMay lack breadth if IT is a competitive differentiator or if you are looking for deeper insightTypically have strong engineered methods and supportabilityUsually fixed to a product or domainIncreasing support of APIs for extensibility;l
9、ook for OpenAPI spec supportDEVNET-153413 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveCLIThe“original”methodGenerally intended for human interaction and are usually easy to read and comprehendMay be limited for programmatic useInteractive,flow control-based methods are
10、 inefficient for large-scale operationsSome tools like Ansible,Puppet,Chef abstract the CLI interaction with templatized declarationsDEVNET-153414 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveSNMPThe“original”poll-response protocolVery mature-widely implementedFocused o
11、n inventory,configuration,performance and faultLimited writable MIB objectsLack of security with SNMPv1 and 2cSNMPv3 brought security and enhanced algorithms;reasonable adoption nowMust load MIB definitions to understand numeric OID to named objectInefficient for high-volume metrics processingDEVNET
12、-153415 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveSNMPDecreasing focus in development and useSince October 2022 MIBs are published to GitHub https:/ LONGER on DEVNET-153416 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveNETCONF/YANGProtoco
13、l defined by the IETF to“install,manipulate,and delete the configuration of network devices”Transport over SSH is commonMature at this pointOriginal NETCONF protocol without YANG model functionality was limited;later development of YANG provided structure through modelsModels are published on GitHub
14、https:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveRESTCONFProvides a familiar REST API-like method for NETCONF-YANG models and dataDevice configuration and access to operational data is possibleGrowing in device supportYANG Models published on GitHub are necessary re
15、ference materialhttps:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLivegRPC Streaming TelemetryA remote procedure call developed by Google for low-latency,scalable interactions across clients and serversProvides push or pull methods to obtain metricsDevice network element
16、 to collector push method is one-way and efficient configuration of NE is requiredCollector to Device pull method is like SNMP poll-response;less-efficient,but less configuration managementDEVNET-153419 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLivegRPC Network Managemen
17、t Interface(gNMI)The latest management protocol for model-driven configuration and retrieval of operational dataSupports telemetry push,metric poll-response and configurationThe content provided through gNMI can be modeled using YANGgRPC carries gNMI and provides the means to formulate and transmit
18、data and operation requests.DEVNET-153420 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveProcessIdentify FUNCTIONS,device types and software versions involvedresearch instrumentation and telemetry available in commercial solutions already in use e.g.DNAC,Crosswork,ManageE
19、ngine OpsManager,Storage Management tool,virtualization management,etc.validatepursue work-arounds,if neededVALIDATEDEVNET-153421 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveProcess-Things to Look Out ForNon-existent metricsMetrics that report nothing,Zero or NULLMetri
20、cs with unexpected ranges or boundaries RPMs,microseconds,millivolts,*bits|bytes,in/out directionalityMetrics that dont update with a frequency as expected or desiredDEVNET-153422 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveProcess I appreciateSpend time getting the te
21、lemetry&instrumentation from various sourcesNormalize and transform the data;create new mash-ups where possibleFeed data into Influx or MySQLBuild Grafana visualizationsInfluxDB&GrafanaTransform/NormalizeDataDEVNET-153423 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveBy
22、The Numbers28,000 attendees with 74K mobile devicesOver 2,300 wireless access points650 network switchesmobile containerized data center ServersStorageFirewallsMonitoring/ProvisioningAppsTriple 100 Gigabit/secondInternet linksDEVNET-153424 2023 Cisco and/or its affiliates.All rights reserved.Cisco P
23、ublic#CiscoLiveAutomation Topology/FrameworkASR1009(2)Cisco PrimeNetwork Registrar(x6)DNACenterOrchestratorInternet3x100 GBService CataloggitbucketWebexInfluxDB&GrafanaSmartSheetCatalyst9800MerakiDEVNET-153425 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveTailored(w/open
24、 source)CommercialOpen SourceDEVNET-153426 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLivehttps:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDEVNET-153428 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLive320 Gig co
25、nnection with Internet drives what volume?DEVNET-153429 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDesign for an extended AudienceDEVNET-153430 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveand recognize needs of specialized audiencesDEVNE
26、T-153431 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDEVNET-153432 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDEVNET-153433 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveThink of alternativevisualizationsDEVN
27、ET-153434 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWhat is the Automation ROI?Measure it!DEVNET-153435 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWe found a classic memory leak!DEVNET-153436 2023 Cisco and/or its affiliates.All rights
28、 reserved.Cisco Public#CiscoLiveDEVNET-153437 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDEVNET-153438 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDEVNET-153439 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveh
29、ttps:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveDEVNET-153441 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveReuse our work!https:/ 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLivehttps:/Resources forEnterpriseA
30、ppDevsDevOps/SREInfra EngineersAPI GuidesLearning LabsReservable ResourcesCode ExchangeDeveloper ForumsTraining&CertificationToolsDEVNET-153443 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveWrap-UpThere are a LOT of telemetry and instrumentation options available-probabl
31、y much more than youre aware ofIf youre still depending on SNMP,know where the new github repo isAccelerate your Ops and Familiarize yourself with the github YANG model repoLook ahead to RESTCONF and gNMI options as your environment supports itWere here for you at to assist in your journey!DEVNET-15
32、3444 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLiveFill out your session surveys!Attendees who fill out a minimum of four session surveys and the overall event survey will get Cisco Live-branded socks(while supplies last)!These points help you get on the leaderboard and
33、increase your chances of winning daily and grand prizesAttendees will also earn 100 points in the Cisco Live Challenge for every survey completed.DEVNET-153445 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicContinue your educationVisit the Cisco Showcase for related demosBook your
34、one-on-oneMeet the Engineer meetingAttend the interactive education with DevNet,Capture the Flag,and Walk-in LabsVisit the On-Demand Library for more sessions at www.CiscoL you#CiscoLive#CiscoLive 2023 Cisco and/or its affiliates.All rights reserved.Cisco Public#CiscoLive49Gamify your Cisco Live exp
35、erience!Get points Get points for attending this session!for attending this session!Open the Cisco Events App.Click on Cisco Live Challenge in the side menu.Click on View Your Badges at the top.Click the+at the bottom of the screen and scan the QR code:How:123449 2023 Cisco and/or its affiliates.All rights reserved.Cisco PublicDEVNET-1534