[ovs-git] [openvswitch/ovs] 23c0db: ovn-ctl: Support NB and SB DBs to start without us...

GitHub noreply at github.com
Mon Jul 9 18:28:15 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 23c0db799249723fe748603e8d4b642c364f92d6
      https://github.com/openvswitch/ovs/commit/23c0db799249723fe748603e8d4b642c364f92d6
  Author: aginwala <amginwal at gmail.com>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M ovn/utilities/ovn-ctl

  Log Message:
  -----------
  ovn-ctl: Support NB and SB DBs to start without using remote connections.

e.g --remote=db:OVN_Southbound,SB_Global,connections and
    --remote=db:OVN_Northbound,NB_Global,connections

can be skipped for cases where slaves do not need to listen on nb and sb db
connection tables while using pacemaker with load balancer for ovndb clusters.

Signed-off-by: aginwala <aginwala at ebay.com>
Acked-by: Han Zhou <hzhou8 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: c0d60f0ec8947ac914a74d422b33afc0987eeaba
      https://github.com/openvswitch/ovs/commit/c0d60f0ec8947ac914a74d422b33afc0987eeaba
  Author: aginwala <amginwal at gmail.com>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M ovn/utilities/ovndb-servers.ocf

  Log Message:
  -----------
  ovndb-servers: Set connection table when using load balancer to manage ovndb clusters via pacemaker.

This is will allow setting inactivity probe on the master node.
For pacemaker to manage ovndb resources via LB, we skipped creating connection
table and hence the inactivity probe was getting set to 5000 by default.
In order to over-ride it we need this table. However, we need to skip slaves
listening on local sb and nb connections table so that LB feature is
intact and only master is listening on 0.0.0.0

e.g --remote=db:OVN_Southbound,SB_Global,connections and
    --remote=db:OVN_Northbound,NB_Global,connections

will be skipped for slave SB and NB dbs respectively by unsetting
--db-sb-use-remote-in-db  and --db-nb-use-remote-in-db in ovn-ctl.

Signed-off-by: aginwala <aginwala at ebay.com>
Acked-by: Numan Siddique <nusiddiq at redhat.com>
Acked-by: Han Zhou <hzhou8 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/4a04e0e51c6f...c0d60f0ec894
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list