Top Banner
Oliver Böhmer Principal Architect – Cisco Advanced Services 22-Jun-2017 BGP Monitoring Protocol Analytics BGP meets Big Data
17

BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Mar 20, 2019

Download

Documents

hanhi
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Oliver BöhmerPrincipal Architect – Cisco Advanced Services22-Jun-2017

BGP Monitoring Protocol AnalyticsBGP meets Big Data

Page 2: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Monitoring BGP – Snapshot vs. History

Page 3: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

BGP Monitoring Protocol – RFC 7854

BMP collector

BMP client

Inbound policy

BMP messages

BGP peers (external)

BGP peer (internal)

Outbound policy

Local RIB

• BGP updates are “mirrored” and sent to a BMP collector

• Pre- and/or post inbound policy

• Configurable on a per-peer base

• BGP events are also transmitted

Page 4: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

BGP Monitoring Protocol – Enhancements

BMP collector

BMP client

Inbound policy

BMP messages

BGP peers (external)

BGP peer (internal)

Outbound policy

Local RIB

• Additional monitoring points in local-RIB and outbound would allow for complete BGP Path selection and update process

• Check out draft-evens-grow-bmp-local-rib & draft-evens-grow-bmp-adj-rib

• Feedback appreciated!

Page 5: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Analysis via Streaming Network Analytics System (formerly known as OpenBMP)

AS Connectivity Path Variance

http://snas.io/

Page 6: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Analysis via Streaming Network Analytics System (formerly known as OpenBMP)Security Audit

Page 7: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Streaming Network Analytics System Architecture(formerly known as OpenBMP)

TCP Listener

Connection Thread

Ingress Buffer

Parser (BMP & BGP)

Produce

RAW (Native BGP)

Textual(JSON/CSV)

Kafka

collector

Router BMP Feed

database

Consumer

SQL Transformation

DB Connection

MariaDB API

Web UI

Page 8: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

• Millions of BGP events occurring every day

The Internet is very much ‘alive’

• 15 Routers Monitored

• 410 active peers (both IPv4 and IPv6)

• ~120,000,000 Prefixes Advertised

• ~950,000 events per day from a single transit peer

• ~202,000,000 changes per day

• ~6,000,000,000 changes per month

• How do we scale?

Page 9: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

PNDA.io – the platform

Page 10: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

• Volume of network data into terabytes

• Siloed data limits ability to perform correlation and causal analysis

• Relational databases limit the ability to mine the data

• Application of big data analytics to the network dataset is key to providing both real-time and historical insights

• Data science is driving the bifurcation of the OSS stack

Network data is becoming a big data problem

3-fold increase in total IP Traffic

>60% increase in devices and

connections

Telemetry data streamed in near

real-timeSource: Cisco VNI/GCI Global IP Traffic Forecast

Page 11: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

• Tight coupling of data aggregation/store/analysis

• Multiple analytics pipelines implemented from open source components

• Common design patterns ~75% of effort wasted / duplicated

• Siloes limit the potential of big data analytics and lead to industry divergence

Today’s siloed analytics pipelines

Telemetry

Metrics

Data sources

HDFS

Data store

Spark Streaming

MapR

Data analysis

Hbase

Storm

Kafka

Streamsets

Data aggregation

Kafka

Impala

Query

Outputs

Dashboard & ReportingNiFi

Logs

Page 12: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

• Simple, scalable open data platform

• Provides a common set of services for developing analytics applications

• Accelerates the process of developing big data analytics applications whilst significantly reducing the TCO

• PNDA provides a platform for convergence of network data analytics

PNDA

PNDAPlugins

ODL

Logstash

SNAS.io

pmacct

IOS XR Telemetry

Real-time

Data D

istribution

FileStore

Platform Services: Installation, Mgmt, Security, Data Privacy

App Packaging and Mgmt

Stream

Batch

Processing

SQL Query

OLAP Cube

Search/Lucene

NoSQL TimeSeries

DataExploration

Metric Visualisation

Event Visualisation PNDA

Mnged App

PNDA Mnged App

UnmngedApp

UnmngedApp

Query Visualisationand Exploration

PNDA Applications

PNDAProducer API

PNDAConsumer API

Bulk ingest

Custom

Page 13: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

• The PNDA console provides a dashboard across all components in a cluster

• Builtin platform test agents verify the operation of all components

• Active platform testing verifies the end-to-end data pipeline

PNDA Console

Page 14: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

Convergence of network data analytics

OperationalIntelligence

PlanningIntelligence

SecurityIntelligence

Page 15: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

What can we do with large-scale collection of historical event information?

• Event impact analysis –• Stability• Security• Misconfiguration• Forensics

• Application of Machine-Learning to BGP data-sets

• Pattern-detection and network ‘weather forecasting’• We count on your creativity and participation!

Potential

Page 16: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy

• http://www.snas.io & http://www.pnda.io

• Videos• https://youtu.be/Vd7-0SihA1M (short overview)• https://youtu.be/RdjEBy5uHVw (NANOG70 presentation)

• Update: Red-Pnda released to offer scaled-down Pnda installation, more information/code at https://pndablog.wordpress.com/2017/06/21/introducing-red-pnda-a-pnda-platform-for-development-demonstration-and-education/

More Information

Page 17: BGP meets Big Data - de-cix.net · BGP Monitoring Protocol –RFC 7854 BMP collector BMP client Inbound policy BMPmessages BGP peers (external) BGP peer (internal) Outbound policy