Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Question around 3 machines for pfsync/sasync/carp
To:
Robert Keizer <robert@keizer.ca>
Cc:
tech@openbsd.org
Date:
Fri, 18 Oct 2024 10:15:13 +0100

Download raw body.

Thread
On 2024/10/17 17:46, Robert Keizer wrote:
> I'm wondering what others think.
> 
> I would like to run OpenBSD on 3 hosts and have systems such as pfsync
> and sasync operate in quorum mode (2/3). The ideal implementation
> would be to block until 3/3 or a timeout AND 2/3 nodes respond.

pfsync already has a "wait for ack from one other system" mode,
see pfsync(4) "defer". It's normally used to work around problems
with asymmetric routing.

In practice, you only want this if you *really* need it. If you can
solve the problem another way that will usually give a better
experience. The delays are a problem.

> Are these types of patches to pfsync, sasync, and carp, of interest to
> others?  Effectively I want to know if I should bother to attempt to
> make these systems work in this way and upstream the changes.
> 
> I can solve my own issues in other ways, but I would like to confirm
> whether there is also interest from others around this functionality.
> 
> All the best,
> Rob
>