简体   繁体   English

opendaylight 中的集群

[英]Cluster in opendaylight

I am trying to set up cluster according to this manual我正在尝试根据本手册设置集群

https://docs.opendaylight.org/en/stable-magnesium/getting-started-guide/clustering.html https://docs.opendaylight.org/en/stable-magnesium/getting-started-guide/clustering.html

But i also woukd like to know how does it work.但我也想知道它是如何工作的。 There is written that i choose which node/controller is leader and which will follow after leader is down using member role - 1 - 2 in akka.config.有人写道,我使用 akka.config 中的成员角色 - 1 - 2 选择哪个节点/控制器是领导者,以及领导者关闭后将跟随哪个节点/控制器。 But in some work i have read it is using RAFT algorithm to choose/elect leader.但在我读过的一些工作中,它使用 RAFT 算法来选择/选举领导者。 Am i mixing it up somehow?我是不是把它弄混了? Can someone explain it to me please?有人可以向我解释一下吗?

The nodes you specify when setting up an OpenDaylight cluster are all equal, there is no pre-selection of a leader.在设置 OpenDaylight 集群时指定的节点都是平等的,没有预先选择领导者。 When the cluster starts up, the controller nodes will participate in a RAFT election to choose the leader.当集群启动时,controller 节点将参与 RAFT 选举来选择领导者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM