[ovs-discuss] Questions: OVS-DB running raft mode

aginwala aginwala at asu.edu
Wed Jan 29 20:51:08 UTC 2020


Hi Alexander:

You can refer to ovsdb(7) page @
https://github.com/openvswitch/ovs/blob/master/Documentation/ref/ovsdb.7.rst
;section clustered Database Service Model. Hope that will answer most of
your questions.

On Wed, Jan 29, 2020 at 8:11 AM Alexander Constantinescu <
aconstan at redhat.com> wrote:

> Hi
>
> My name is Alexander Constantinescu. I am working for Red Hat on
> implementing OVN in a cloud environment (effectively working on
> ovn-org/ovn-kubernetes) with an OVS database running in clustered mode.
>
> We have a couple of questions concerning the expected behaviour of the DB
> raft cluster w.r.t the amount of members during creation/runtime.
>
> Background: the DB cluster will be deployed across X master nodes - which
> is user defined (i.e the user can specify how much X is). Raft
> consensus requires at least (n/2)+1 nodes.
>
>    - What is expected from the OVS DB if a user decides to create only 1
>    master node, for example? We are noticing that it deploys just fine
>    (without any indication of issues in the logs), but is it *really *fine?
>    Is it even running in cluster mode? Can we expect transactions to the DB to
>    work fine? According to the consensus formula above it would just mean that
>    the cluster cannot lose any member, but I would just like to confirm that
>    my understanding is correct and aligned with the implementation.
>    - What is the expected behaviour if a raft cluster is created with an
>    amount of master nodes satisfying the requirement of raft consensus, but
>    some nodes disappear during its lifecycle and this condition ceases to
>    hold? We have noticed that the northbound/southbound databases ports close,
>    is this a correct deduction according to the clustered implementation?
>
> Thanks in advance for any answer(s)!
>
> Best regards,
>
>
> Alexander Constantinescu
>
> Software Engineer, Openshift SDN
>
> Red Hat <https://www.redhat.com/>
>
> aconstan at redhat.com
> <https://www.redhat.com/>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200129/8c48fdf6/attachment.html>


More information about the discuss mailing list