diff options
author | Numan Siddique <numans@ovn.org> | 2020-01-07 10:24:48 +0530 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2020-01-07 12:32:22 -0800 |
commit | e988b8abeec9d4be94b519c5d4ed4586ff71fde0 (patch) | |
tree | 1b19f1d36a1507df4b6e4cc21c8583ece2a021e7 /ovsdb/ovsdb-server.1.in | |
parent | c3428f4399cc98885175bda89d3388859552241a (diff) | |
download | openvswitch-e988b8abeec9d4be94b519c5d4ed4586ff71fde0.tar.gz |
ovsdb replication: Provide option to configure probe interval.
When ovsdb-server is in backup mode and connects to the active
ovsdb-server for replication, and if takes more than 5 seconds to
get the dump of the whole database, it will drop the connection
soon after as the default probe interval is 5 seconds. This
results in a snowball effect of reconnections to the active
ovsdb-server.
This patch handles or mitigates this issue by setting the
default probe interval value to 60 seconds and provide the option to
configure this value from the unixctl command.
Other option could be increase the value of 'RECONNECT_DEFAULT_PROBE_INTERVAL'
to a higher value.
Acked-by: Mark Michelson <mmichels@redhat.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/ovsdb-server.1.in')
-rw-r--r-- | ovsdb/ovsdb-server.1.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-server.1.in b/ovsdb/ovsdb-server.1.in index 21f527bc6..338f3bc29 100644 --- a/ovsdb/ovsdb-server.1.in +++ b/ovsdb/ovsdb-server.1.in @@ -288,6 +288,11 @@ Switches the server to an active role. The server stops synchronizing its databases with an active server and closes all existing client connections, which requires clients to reconnect. . +.IP "\fBovsdb\-server/set\-active\-ovsdb\-server\-probe\-interval \fIprobe interval" +Sets the probe interval (in milli seconds) for the connection to +active \fIserver\fR. +. +. .IP "\fBovsdb\-server/set\-sync\-exclude\-tables \fIdb\fB:\fItable\fR[\fB,\fIdb\fB:\fItable\fR]..." Sets the \fItable\fR within \fIdb\fR that will be excluded from synchronization. This overrides the \fB\-\-sync\-exclude-tables\fR command-line option. |