Skip to main content
QUICK REVIEW

[Paper Review] Rama: Controller Fault Tolerance in Software-Defined Networking Made Practical

André Mantas, Fernando M. V. Ramos|arXiv (Cornell University)|Feb 5, 2019
Software-Defined Networks and 5GComputer Science1 references8 citations
TL;DR

Rama proposes a fault-tolerant SDN controller platform that ensures transactional, exactly-once processing of events and commands across controllers and switches—without modifying OpenFlow or switches—achieving strong consistency and correctness in production SDN deployments. It leverages existing OpenFlow mechanisms to provide fault tolerance with only modest performance overhead, enabling immediate deployment.

ABSTRACT

In Software-Defined Networking (SDN), network applications use the logically centralized network view provided by the controller to remotely orchestrate the network switches. To avoid the controller being a single point of failure, traditional fault-tolerance techniques are employed to guarantee availability, a fundamental requirement in production environments. Unfortunately, these techniques fall short of ensuring correct network behaviour under controller failures. The problem of these techniques is that they deal with only part of the problem: guaranteeing that application and controller state remains consistent between replicas. However, in an SDN the switches maintain hard state that must also be handled consistently. Fault-tolerant SDN must therefore include switch state into the problem. A recently proposed fault-tolerant controller platform, Ravana, solves this problem by extending fault-tolerant SDN control with mechanisms that guarantee control messages to be processed transactionally and exactly once, at both the controllers and the switches. These guarantees are given even in the face of controller and switch crashes. The elegance of this solution comes at a cost. Ravana requires switches to be modified and OpenFlow to be extended with hitherto unforeseen additions to the protocol. In face of this challenge we propose Rama, a fault-tolerant SDN controller platform that offers the same strong guarantees as Ravana without requiring modifications to switches or to the OpenFlow protocol. Experiments with our prototype implementation show the additional overhead to be modest, making Rama the first fault-tolerant SDN solution that can be immediately deployable.

Motivation & Objective

  • Address the critical gap in traditional fault-tolerant SDN solutions that fail to ensure consistency of switch state during controller failures.
  • Overcome the limitations of existing fault-tolerant SDN platforms like Ravana, which require protocol and hardware extensions that hinder real-world adoption.
  • Design a solution that maintains observational indistinguishability from a logically centralized controller, ensuring correct network behavior under failures.
  • Enable immediate deployment of fault-tolerant SDN by avoiding changes to OpenFlow or switch firmware.
  • Achieve strong consistency in event ordering, event processing, and command execution across controller replicas and switches without external protocol extensions.

Proposed method

  • Exploit existing OpenFlow mechanisms—such as flow table updates and packet-in messages—to orchestrate transactional processing of control events and commands.
  • Implement a two-phase commit-like protocol at the controller level to ensure that all components of the event-processing cycle are either fully executed or aborted.
  • Use controller replication with total order consensus (e.g., via Paxos or Raft) to ensure consistent state across replicas.
  • Introduce a command deduplication mechanism at the switch level using flow table entries and metadata (e.g., version tags) to prevent duplicate rule installation.
  • Leverage OpenFlow’s existing packet-in and packet-out semantics to implement idempotent command execution, ensuring commands are processed exactly once.
  • Design a state machine model where both controller and switch states are updated atomically and consistently across failures, using in-memory logging and replay mechanisms.

Experimental results

Research questions

  • RQ1Can fault tolerance in SDN be achieved without modifying the OpenFlow protocol or switch firmware?
  • RQ2How can switch state be consistently managed during controller failures to prevent command loss or duplication?
  • RQ3What is the performance overhead of a fault-tolerant SDN controller that relies solely on existing OpenFlow mechanisms?
  • RQ4Is it possible to achieve observational indistinguishability from a logically centralized controller using only standard OpenFlow features?
  • RQ5How can transactional processing of the entire event-command cycle be enforced across distributed controllers and switches without protocol extensions?

Key findings

  • Rama achieves the same correctness guarantees as Ravana—ensuring total event ordering, exactly-once event processing, and exactly-once command execution—without requiring any changes to OpenFlow or switches.
  • The prototype implementation shows only a modest performance overhead compared to non-fault-tolerant controllers, making it practical for real-world deployment.
  • The solution maintains strong consistency across controller replicas and switches, preventing network anomalies such as rule duplication or loss during controller failures.
  • By leveraging existing OpenFlow features like flow table updates and packet-in messages, Rama enables backward compatibility with existing SDN infrastructure.
  • The approach is fully transparent to network applications, allowing unmodified applications to run reliably in a fault-tolerant environment.
  • The open-source release of Rama (available at https://github.com/fvramos/rama) supports broader adoption and further research in production-grade fault-tolerant SDN.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.