Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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@ibm.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
- Loading branch information