Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-09 Thread Russell Bryant
On Wed, Aug 9, 2017 at 1:29 PM, Ben Pfaff wrote: > On Tue, Aug 01, 2017 at 12:19:18PM -0400, Russell Bryant wrote: >> Add native support for active-standby HA in ovn-northd by having each >> instance attempt to acquire an OVSDB lock. Only the instance of >> ovn-northd that currently holds the loc

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-09 Thread Ben Pfaff
On Tue, Aug 01, 2017 at 12:19:18PM -0400, Russell Bryant wrote: > Add native support for active-standby HA in ovn-northd by having each > instance attempt to acquire an OVSDB lock. Only the instance of > ovn-northd that currently holds the lock will make active changes to > the OVN databases. > >

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-09 Thread Russell Bryant
On Wed, Aug 9, 2017 at 5:01 AM, Miguel Angel Ajo Pelayo wrote: > Nice idea, I have btw some comments/thoughts/questions regarding this: > > 1) Does OVSDB have any heartbeat protocol? (to detect that one northd has > died even during inactive periods). Yes, it does. By deafult, both ends of an OV

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-09 Thread Miguel Angel Ajo Pelayo
Nice idea, I have btw some comments/thoughts/questions regarding this: 1) Does OVSDB have any heartbeat protocol? (to detect that one northd has died even during inactive periods). Otherwise we can document the need to tweak the tcp_keepalive settings of the system to have some sensible sett

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-02 Thread Russell Bryant
On Tue, Aug 1, 2017 at 9:21 PM, Numan Siddique wrote: > > > On Wed, Aug 2, 2017 at 1:18 AM, Russell Bryant wrote: >> >> On Tue, Aug 1, 2017 at 3:26 PM, Han Zhou wrote: >> > >> > >> > On Tue, Aug 1, 2017 at 9:19 AM, Russell Bryant wrote: >> >> >> >> Add native support for active-standby HA in ov

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-01 Thread Numan Siddique
On Wed, Aug 2, 2017 at 1:18 AM, Russell Bryant wrote: > On Tue, Aug 1, 2017 at 3:26 PM, Han Zhou wrote: > > > > > > On Tue, Aug 1, 2017 at 9:19 AM, Russell Bryant wrote: > >> > >> Add native support for active-standby HA in ovn-northd by having each > >> instance attempt to acquire an OVSDB loc

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-01 Thread Russell Bryant
On Tue, Aug 1, 2017 at 3:26 PM, Han Zhou wrote: > > > On Tue, Aug 1, 2017 at 9:19 AM, Russell Bryant wrote: >> >> Add native support for active-standby HA in ovn-northd by having each >> instance attempt to acquire an OVSDB lock. Only the instance of >> ovn-northd that currently holds the lock w

Re: [ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-01 Thread Han Zhou
On Tue, Aug 1, 2017 at 9:19 AM, Russell Bryant wrote: > > Add native support for active-standby HA in ovn-northd by having each > instance attempt to acquire an OVSDB lock. Only the instance of > ovn-northd that currently holds the lock will make active changes to > the OVN databases. > > Signed-

[ovs-dev] [PATCH] ovn-northd: Add native active-standby HA.

2017-08-01 Thread Russell Bryant
Add native support for active-standby HA in ovn-northd by having each instance attempt to acquire an OVSDB lock. Only the instance of ovn-northd that currently holds the lock will make active changes to the OVN databases. Signed-off-by: Russell Bryant --- NEWS| 1 + ovn