Alan:
It seems that you have to install a ZK server first.
But, these code have not merged into upstream for some reasons.

Iwase:
BTW, Are there any roadmap of RYU to support HA instead of
Implementing it in user app?

On Wed, Jul 20, 2016 at 1:51 PM, Alan Wang <alan820...@gmail.com> wrote:
> Hi All,
>
> Thanks for your reply.
>
> I tried to run these code of multiple_controllers_zk.py
> https://sourceforge.net/p/ryu/mailman/message/29583433/.
>
> It just show this (loading app
> site-packages/ryu/app/multiple_controllers_zk.py).
>
> Can anyone tell how to do next step to run multiple controllers in computer?
> I have tried many ways.
>
> Thanks,
>
> Alan
>
>
>
> 2016-07-19 15:27 GMT+08:00 Iwase Yusuke <iwase.yusu...@gmail.com>:
>>
>> Hi Alan,
>>
>> Please keep mailing list.
>>
>>
>> On 2016年07月19日 15:55, Alan Wang wrote:
>>>
>>> Hi,
>>>
>>> thanks for your reply.
>>>
>>> I have tried ryu cluster using hapraxy or zookeeper.
>>>
>>> But i failed. Have you implemented ryu cluster?
>>>
>>> Can you teach me specifically?
>>
>>
>> Sorry, I don't have any implementation for Ryu cluster.
>>
>> FYI, Ryu had the HA implementation with ZooKeeper named
>> multiple_controllers_zk.py,
>> but this might be too old and probably does not work well with the latest
>> Ryu.
>>   https://sourceforge.net/p/ryu/mailman/message/31561519/
>>
>> Thanks,
>> Iwase
>>
>>>
>>> Thanks,
>>>
>>> Alan
>>>
>>> 2016-07-19 10:53 GMT+08:00 Iwase Yusuke <iwase.yusu...@gmail.com
>>> <mailto:iwase.yusu...@gmail.com>>:
>>>
>>>     Hi,
>>>
>>>
>>>     On 2016年07月18日 10:37, Alan Wang wrote:
>>>
>>>         Hi All,
>>>
>>>         Can anyone implement ryu multi-thread controller? how to
>>> implement it?
>>>
>>>
>>>     You can use ryu.lib.hub.spawn and ryu.lib.hub.spawn_after for
>>> multi-threading in your RyuApp.
>>>       https://github.com/osrg/ryu/blob/master/ryu/lib/hub.py#L47-L87
>>>
>>>
>>>         And how to implement ryu-cluster? i search ryu-cluster, but its
>>> data is too little.
>>>
>>>
>>>     To implement cluster, there are too many ways to do such.
>>>      e.g.) Zookeeper, Pacemaker, maybe Docker and so on
>>>
>>>     So, Ryu does not define the standard way for the Ryu Cluster.
>>>     The implementation is depending on your application design, I think.
>>>
>>>     Thanks,
>>>     Iwase
>>>
>>>
>>>         please tell me how to do them specifically.
>>>
>>>         Thanks,
>>>
>>>         Alan.
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>         What NetFlow Analyzer can do for you? Monitors network bandwidth
>>> and traffic
>>>         patterns at an interface-level. Reveals which users, apps, and
>>> protocols are
>>>         consuming the most bandwidth. Provides multi-vendor support for
>>> NetFlow,
>>>         J-Flow, sFlow and other flows. Make informed decisions using
>>> capacity planning
>>>         reports.http://sdm.link/zohodev2dev
>>>
>>>
>>>
>>>         _______________________________________________
>>>         Ryu-devel mailing list
>>>         Ryu-devel@lists.sourceforge.net
>>> <mailto:Ryu-devel@lists.sourceforge.net>
>>>         https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>



-- 
Shuoling Deng
Dept. of Computer Science and Technology
Xi'an Jiaotong University
Xi'an, 710049, P.R. China

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to