towards an elastic distributed sdn controller

16
TOWARDS AN ELASTIC DISTRIBUTED SDN CONTROLLER Advait Dixit, Fang Hao, Sarit Mukherjee, T.V. Lakshman, Ramana Kompella

Upload: zena

Post on 24-Feb-2016

151 views

Category:

Documents


0 download

DESCRIPTION

Towards an Elastic Distributed SDN Controller. Advait Dixit, Fang Hao , Sarit Mukherjee, T.V . Lakshman , Ramana Kompella. SDN Control Plane. Single point of failure Performance bottleneck. Distributed Control Plane. Physical Network Infrastructure. Spatial Partitioning. Overload. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Towards an Elastic Distributed SDN Controller

TOWARDS AN ELASTIC DISTRIBUTED SDN CONTROLLERAdvait Dixit, Fang Hao, Sarit Mukherjee, T.V. Lakshman, Ramana Kompella

Page 2: Towards an Elastic Distributed SDN Controller

Physical Network Infrastructure

SDN Control Plane

Distributed Control Plane

• Single point of failure• Performance bottleneck

Page 3: Towards an Elastic Distributed SDN Controller

Spatial Partitioning

Overload

Page 4: Towards an Elastic Distributed SDN Controller

Growing the Control Plane

Page 5: Towards an Elastic Distributed SDN Controller

Shrinking the Control Plane

Page 6: Towards an Elastic Distributed SDN Controller

Goals

•Build a distributed control plane which• Load balances• Grows• Shrinks

•This requires• Load estimation at controllers• Switch migration protocol

Page 7: Towards an Elastic Distributed SDN Controller

Naïve Switch MigrationSLAVEMASTER MASTERSLAVE

Role

Cha

nge

to

Mas

ter

Page 8: Towards an Elastic Distributed SDN Controller

Problem With Naïve Switch Migration

Packet-In

MASTER MASTERSLAVE SLAVE

Packet-OutRo

le C

hang

e to

Mas

ter

Packet-Out from Slave is dropped

Page 9: Towards an Elastic Distributed SDN Controller

Migration Protocol Requirements• Safety: Exactly 1 controller processes every message from the switch

• Liveness: For each switch, at least 1 controller is active at all times

• Openflow compliant

Page 10: Towards an Elastic Distributed SDN Controller

Flow-Add

Flow-DeleteFl

ow-R

emov

ed

4-Phase Switch Migration ProtocolMASTER SLAVE

Flow-Removed

EQUAL

Role

Chan

ge to

Mas

ter

SLAVE MASTER

Role

Chan

ge to

Equ

al

Barrier Request

Barrier Reply

Phase 1: Change from Slave to EqualPhase 2: Insert and remove dummy flowPhase 3: Flush in-

flight messagePhase 4: Change

from Equal to Master

Page 11: Towards an Elastic Distributed SDN Controller

A Mininet Testbed

Problem: Cannot generate sufficient traffic for a large distributed control plane

veth PairO

penv

Sw

itch

Ope

nvS

witc

h

veth Pair

Ope

nvS

witc

h

veth Pair

Emulation Host

Page 12: Towards an Elastic Distributed SDN Controller

A Multi-Host Mininet TestbedO

penv

Sw

itch

Ope

nvS

witc

h

Ope

nvS

witc

h Ope

nvS

witc

h

Ope

nvS

witc

h

Ope

nvS

witc

h

Emulation Host

Ope

nvS

witc

h

Ope

nvS

witc

h Ope

nvS

witc

h

GRE Tunnel`

GRE Tunn

el

GRE Tunnel

Emulation Host

Emulation Host

Page 13: Towards an Elastic Distributed SDN Controller

Evaluation

Page 14: Towards an Elastic Distributed SDN Controller

Evaluation

Page 15: Towards an Elastic Distributed SDN Controller

Next Step: ElastiCon

Physical Network Infrastructure

Core Controller Module

Application 1 Application 2

Core Controller Module

Application 1 Application 2

Distributed Data Store (e.g., Hazelcast)

Node 1

Load Measurements

Load Balance

Scale UpScale Down

Load Adaptation Decisions

Distributed SDN Control Plane

Node 2

Actions:• Migrate switch• Remove controller• Add controller

Page 16: Towards an Elastic Distributed SDN Controller

THANK YOU