Book Image

Learning OpenDaylight

By : Reza Toghraee
Book Image

Learning OpenDaylight

By: Reza Toghraee

Overview of this book

OpenDaylight is an open source, software-defined network controller based on standard protocols. It aims to accelerate the adoption of Software-Defined Networking (SDN) and create a solid foundation for Network Functions Virtualization (NFV). SDN is a vast subject; many network engineers find it difficult to get started with using and operating different SDN platforms. This book will give you a practical bridge from SDN theory to the practical, real-world use of SDN in datacenters and by cloud providers. The book will help you understand the features and use cases for SDN, NFV, and OpenDaylight. NFV uses virtualization concepts and techniques to create virtual classes for node functions. Used together, SDN and NFV can elevate the standards of your network architecture; generic hardware-saving costs and the advanced and abstracted software will give you the freedom to evolve your network in the future without having to invest more in costly equipment. By the end of this book, you will have learned how to design and deploy OpenDaylight networks and integrate them with physical network switches. You will also have mastered basic network programming over the SDN fabric.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Distributed installation


Distributed deployment requires a minimum of three nodes. You can build a cluster with two nodes, but if one of the nodes fails, the cluster will not be operational (ODL doesn't allow you to build a cluster with two nodes). The ODL clustering mechanism checks whether the majority of the servers in a cluster are up; if yes, it allows you to switch over to the next active node. Another example: if you have four servers in a cluster and lose two, the cluster will not be operational.

As a rule of thumb, always try to design your cluster with odd number of member servers:

Cluster size

Maximum number of servers can be down

2

0

3

1

4

1

5

2

6

2

7

3

Each node in a cluster must have a unique identifier. ODL uses the role of each node for this purpose. Node roles are defined in the akka.conf file.

ODL's MD-SAL datastore uses the concept of shards. Shard is a partition or part of the whole data that can be stored on one or multiple servers. Data shards in ODL are used to store the MD-SAL database...