Re: How to upgrade a carp pair from 13 to 14 given the pfsync protocol changed ?

From: John Nielsen <lists_at_jnielsen.net>
Date: Thu, 23 Nov 2023 01:41:57 UTC
> On Nov 21, 2023, at 9:42 AM, Pete French <pete@twisted.org.uk> wrote:
> 
> I spotted this in the release notes, but am unsure how to now actual do this. I have two machines running carp, as a failover pair, and I normally upgrade BACKUP, reboot, switch to MASTER, and do the other and flip back.
> 
> But I dont quite see how to do this from 13 to 14 - my worry is that when the upgraded machine comes back up, it will just take on MASTER and I will have two MASTERs.
> 
> I see that it's possible to make the talk the old protocol, but then how do I move to the new protocol ?

Specify the old protocol in rc.conf on both machines and do the upgrade one at a time. Once both are upgraded, stop pfsync on the standby machine, change the version on the active machine, restart pfsync on the standby machine also with the new version.