Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2023 18:41:57 -0700
From:      John Nielsen <lists@jnielsen.net>
To:        Pete French <pete@twisted.org.uk>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: How to upgrade a carp pair from 13 to 14 given the pfsync protocol changed ?
Message-ID:  <72A77920-E4EC-4553-A99A-21A0B1BD5E09@jnielsen.net>
In-Reply-To: <753f0ad9-bc19-4c81-ba78-1ed67aab8b99@twisted.org.uk>
References:  <753f0ad9-bc19-4c81-ba78-1ed67aab8b99@twisted.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 21, 2023, at 9:42=E2=80=AFAM, Pete French <pete@twisted.org.uk> wro=
te:
>=20
> =EF=BB=BFI spotted this in the release notes, but am unsure how to now act=
ual do this. I have two machines running carp, as a failover pair, and I nor=
mally upgrade BACKUP, reboot, switch to MASTER, and do the other and flip ba=
ck.
>=20
> But I dont quite see how to do this from 13 to 14 - my worry is that when t=
he upgraded machine comes back up, it will just take on MASTER and I will ha=
ve two MASTERs.
>=20
> I see that it's possible to make the talk the old protocol, but then how d=
o I move to the new protocol ?

Specify the old protocol in rc.conf on both machines and do the upgrade one a=
t 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 al=
so with the new version.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72A77920-E4EC-4553-A99A-21A0B1BD5E09>