Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2023 11:16:04 +0000
From:      Pete French <pete@twisted.org.uk>
To:        stable@freebsd.org
Subject:   Re: How to upgrade a carp pair from 13 to 14 given the pfsync protocol changed ?
Message-ID:  <4391e5c5-ddd1-4ebf-b327-c8fa7e9fa68e@twisted.org.uk>
In-Reply-To: <72A77920-E4EC-4553-A99A-21A0B1BD5E09@jnielsen.net>
References:  <753f0ad9-bc19-4c81-ba78-1ed67aab8b99@twisted.org.uk> <72A77920-E4EC-4553-A99A-21A0B1BD5E09@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23/11/2023 01:41, John Nielsen wrote:
>> 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.
>

Ah, thankyou - I had forgotten pfsync was a service I can stop and 
start! Thats the critical bit of info I was missing...


-pete.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4391e5c5-ddd1-4ebf-b327-c8fa7e9fa68e>