]> git.proxmox.com Git - mirror_ovs.git/commit - tutorial/ovs-sandbox
ovsdb: Introduce experimental support for clustered databases.
authorBen Pfaff <blp@ovn.org>
Mon, 1 Jan 2018 05:15:58 +0000 (21:15 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 24 Mar 2018 19:04:53 +0000 (12:04 -0700)
commit1b1d2e6daa563cc91f974ffdc082fb3a8b424801
tree9cc5df01b7af35962d5f40d0ffd8882fb277e047
parent53178986d7fc86bcfc2f297b547a97ee71a21bb7
ovsdb: Introduce experimental support for clustered databases.

This commit adds support for OVSDB clustering via Raft.  Please read
ovsdb(7) for information on how to set up a clustered database.  It is
simple and boils down to running "ovsdb-tool create-cluster" on one server
and "ovsdb-tool join-cluster" on each of the others and then starting
ovsdb-server in the usual way on all of them.

One you have a clustered database, you configure ovn-controller and
ovn-northd to use it by pointing them to all of the servers, e.g. where
previously you might have said "tcp:1.2.3.4" was the database server,
now you say that it is "tcp:1.2.3.4,tcp:5.6.7.8,tcp:9.10.11.12".

This also adds support for database clustering to ovs-sandbox.

Acked-by: Justin Pettit <jpettit@ovn.org>
Tested-by: aginwala <aginwala@asu.edu>
Signed-off-by: Ben Pfaff <blp@ovn.org>
68 files changed:
Documentation/ref/ovsdb.5.rst
Documentation/ref/ovsdb.7.rst
NEWS
lib/.gitignore
lib/automake.mk
lib/jsonrpc.c
lib/jsonrpc.h
lib/ovsdb-idl.c
lib/ovsdb-idl.h
lib/ovsdb-server-idl.ann [new file with mode: 0644]
lib/ovsdb-session.c [new file with mode: 0644]
lib/ovsdb-session.h [new file with mode: 0644]
lib/smap.c
lib/smap.h
lib/uuid.h
ovn/controller/ovn-controller.c
ovn/utilities/ovn-nbctl.8.xml
ovn/utilities/ovn-nbctl.c
ovn/utilities/ovn-sbctl.8.in
ovn/utilities/ovn-sbctl.c
ovsdb/TODO.rst [new file with mode: 0644]
ovsdb/_server.ovsschema
ovsdb/_server.xml
ovsdb/automake.mk
ovsdb/execution.c
ovsdb/file.c
ovsdb/file.h
ovsdb/jsonrpc-server.c
ovsdb/jsonrpc-server.h
ovsdb/log.c
ovsdb/log.h
ovsdb/ovsdb-client.1.in
ovsdb/ovsdb-client.c
ovsdb/ovsdb-server.1.in
ovsdb/ovsdb-server.c
ovsdb/ovsdb-tool.1.in
ovsdb/ovsdb-tool.c
ovsdb/ovsdb-util.c
ovsdb/ovsdb-util.h
ovsdb/ovsdb.c
ovsdb/ovsdb.h
ovsdb/raft-private.c [new file with mode: 0644]
ovsdb/raft-private.h [new file with mode: 0644]
ovsdb/raft-rpc.c [new file with mode: 0644]
ovsdb/raft-rpc.h [new file with mode: 0644]
ovsdb/raft.c [new file with mode: 0644]
ovsdb/raft.h [new file with mode: 0644]
ovsdb/replication.c
ovsdb/row.c
ovsdb/server.c
ovsdb/server.h
ovsdb/storage.c [new file with mode: 0644]
ovsdb/storage.h [new file with mode: 0644]
ovsdb/transaction.c
ovsdb/transaction.h
ovsdb/trigger.c
ovsdb/trigger.h
tests/.gitignore
tests/automake.mk
tests/ovs-macros.at
tests/ovsdb-cluster.at [new file with mode: 0644]
tests/ovsdb-idl.at
tests/ovsdb-monitor.at
tests/ovsdb-server.at
tests/ovsdb-tool.at
tests/ovsdb.at
tests/test-ovsdb.c
tutorial/ovs-sandbox