[ovs-git] [openvswitch/ovs] 1b3739: Add monitoring to ovsdb-server
noreply at github.com
Fri Aug 26 16:39:18 UTC 2016
Author: Conner Herriges <conner.herriges at ibm.com>
Date: 2016-08-26 (Fri, 26 Aug 2016)
Add monitoring to ovsdb-server
Monitoring is a valid option on POSIX based platforms. The monitor
creates an additional process to monitor the ovsdb-server daemon. If
the daemon dies due to a programming error, then the monitor process
starts a new copy of it. If the daemon dies or exits for another
reason, the monitor process exits.
The monitor option is not currently enabled for either OVN Northbound or
Southbound databases. The simplest method for doing this is to add
--monitor to the calling lines in the start_ovsdb function in ovn-ctl, which
is where ovsdb-server for ovn is currently started. This is the method employed
by this patch.
The second option would be to modify the code used by ovs-ctl to start
ovsdb-server so that it will work for ovn, so that start_daemon from ovs-lib
is used correctly and without modification. This option is certainly the
more complex option, especially considering the northbound and southbound
databases in ovn.
Signed-off-by: Conner Herriges <conner.herriges at ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git