Thanks Iwase.

Is it possible to run the same instance of ryu and have it acting as master
and slave. Or do we need to have two separate machines , with ryu running
on each one of them.


With respect to HA, what is the time taken for newly elected master to
assume its role.  Eg: suppose the current master crashes and a new master
had to get elected. How much time and what are sequence of steps carried
out in RYU.


Just read in the following link that it is possible to have same instance
acting as master and slave.

https://www.mail-archive.com/ryu-devel@lists.sourceforge.net/msg13338.html

$ ryu-manager --ofp-tcp-listen-port 6653
$ ryu-manager --ofp-tcp-listen-port 6654




Thanks,
subha.

On Fri, Oct 6, 2017 at 9:37 AM, Iwase Yusuke <iwase.yusu...@gmail.com>
wrote:

> Hi Subha,
>
> By default, Ryu will wait for the connection from switches on port 6653
> and 6633, So most of the
> required configuration is on switch side, I guess.
>
> If you are using Open vSwitch, please execute the following command on
> your switches.
>   $ ovs-vsctl set-controller <switch_name> "tcp:<controller1_addr>:6653"
> "tcp:<controller2_addr>:6653"
>
> Optionally, if you want to tell switches which controller is Master or
> Slave, send OFPRoleRequest
> message from your Ryu application.
>
> http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ry
> u.ofproto.ofproto_v1_3_parser.OFPRoleRequest
>
> Thanks,
> Iwase
>
>
> On 2017年10月06日 12:16, Subha wrote:
>
>> 2nd try!!
>> Thanks,
>> subha.
>>
>> ---------- Forwarded message ----------
>> From: *Subha* <subhadev...@gmail.com <mailto:subhadev...@gmail.com>>
>> Date: Thu, Oct 5, 2017 at 2:00 PM
>> Subject: Re: Reg: Multiple controller support using RYU
>> To: Ryu-devel@lists.sourceforge.net <mailto:Ryu-devel@lists.source
>> forge.net>
>>
>>
>> Making it a bit clearer. I want to have two controller running
>> simultaneously with one as Master and one as Slave.
>>
>> Any pointers on how to achieve this will be helpful.
>>
>> Thanks,
>> subha.
>>
>> On Thu, Oct 5, 2017 at 12:51 PM, Subha <subhadev...@gmail.com <mailto:
>> subhadev...@gmail.com>> wrote:
>>
>>     Hi ,
>>
>>
>>     Can someone share me some docs or steps to setup multiple controllers
>> using ryu.
>>
>>
>>     Thanks,
>>     subha.
>>
>>
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>
>> _______________________________________________
>> Ryu-devel mailing list
>> Ryu-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to