Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

ODL + Minitet - Lab high availability

asked 2015-04-03 18:00:13 -0700

Jefferson gravatar image

Hello everyone!

I'm creating a basic laboratory with ODL + Mininet. After many tests with Helium SR3 and SR2, I just got success (install and control flows) using the version Base Hydrogem 1.0.

Now I need to create a high availability scenario. I want to install 02 Hydrogen (separate VMs) controllers, synchronizing flows between themselves and connected to Mininet (other VM). I imagine that the main would be the Master and the other would be the Slave. When executing the command to connect to the controller Mininet I should use a virtual IP, right?

"e.g.: sudo mn --controller=remote, ip=VIRTUAL-IP-ADDRESS --topo minimal"

The moment the Master controller goes offline, the Slave controller assumes the role and maintains connectivity with Mininet. So I can add new flows and modify existing ones.

How could I begin to do this?

Thanks Jefferson

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-04-06 10:08:04 -0700

I don't think you configure the mininet switches with a virtual IP address, but rather you use the individual controller IP addresses. This link should provide you with the information you're looking for.

https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin::Mininetwithmultiple_controllers

edit flag offensive delete publish link more

Comments

Thanks Phillip. I tested this wiki and managed to connect the Mininet with two controllers, this is the output of the dump command:

mininet>dump
<hosth1:h1-eth0:10.0.0.1pid=8371>
<hosth2:h2-eth0:10.0.0.2pid=8373>
<hosth3:h3-eth0:10.0.0.3pid=8375>
<hosth4:h4-eth0:10.0.0.4pid=8379>
<ovsswitchs1:lo:127.0.0.1,s1-eth1:none,s1-eth2:none,s1-eth3:nonepid=8384>
<ovsswitchs2:lo:127.0.0.1,s2-eth1:none,s2-eth2:none,s2-eth3:nonepid=8387>
<remotecontrollerc1:10.1.1.200:6633pid=8360>
<remotecontrollerc2:10.1.1.201:6633pid=8365>

Now I'm studying how to synchronize data between Controllers, e.g.: Add and edit flows.

Jefferson ( 2015-04-06 20:28:32 -0700 )edit
0

answered 2015-04-08 18:26:42 -0700

Jefferson gravatar image

I managed to configure high availability lab. Just follow the steps in this wiki https://wiki.opendaylight.org/view/OpenDaylight_Controller:Clustering:HowTo and the basic functions worked so far.

Remembering, was only with the Hydrogen Base version.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-03 18:00:13 -0700

Seen: 552 times

Last updated: Apr 08 '15