[ovs-dev] [PATCH v4 1/4] ovn: ovn-ctl support for HA ovn DB servers

Andy Zhou azhou at ovn.org
Sat Nov 5 06:01:04 UTC 2016


On Wed, Nov 2, 2016 at 1:33 AM, Babu Shanmugam <bschanmu at redhat.com> wrote:

> This patch adds support to start_ovsdb() function in ovn-ctl to start the
> ovn db servers in backup mode. This can be done in the following ways
> 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to
>    set the addresses of the active server.
> 2. Create files $etcdir/ovnnb-active.conf and $etcdir/ovnsb-active.conf
>    with the tcp url of the active servers.
>
> Additional functions to promote a backup server to active and demote
> active server to backup mode are also added in this patch
>
> One can optionally set the DB parameters for northd in
> $etcdir/ovn-northd-db-params.conf. For example,
>
> --ovnnb-db=tcp:172.16.247.230:6641 --ovnsb-db=tcp:172.16.247.230:6642
>
> The parameters will be used as is, by start_northd(). If this file exists,
> start_northd() will not start the DB servers even if $OVN_MANAGE_OVSDB is
> 'yes'.
>
> Signed-off-by: Babu Shanmugam <bschanmu at redhat.com>
>

I have trouble applying them cleanly. Do you mind repost them against the
master?
BTW, the 2nd patch introduces an extra blank line:


Checking patch ovn/utilities/automake.mk...
Checking patch ovn/utilities/ovndb-servers.ocf...
.git/rebase-apply/patch:462: new blank line at EOF.
+



More information about the dev mailing list