From nobody Thu Nov 23 11:16:04 2023 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SbbCQ3VTFz51ty5 for ; Thu, 23 Nov 2023 11:16:18 +0000 (UTC) (envelope-from pete@twisted.org.uk) Received: from toybox.twisted.org.uk (toybox.twisted.org.uk [178.250.76.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SbbCM65FKz4ZwQ for ; Thu, 23 Nov 2023 11:16:15 +0000 (UTC) (envelope-from pete@twisted.org.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=twisted.org.uk header.s=tbx header.b=iQ+1QmD9; spf=pass (mx1.freebsd.org: domain of pete@twisted.org.uk designates 178.250.76.50 as permitted sender) smtp.mailfrom=pete@twisted.org.uk; dmarc=pass (policy=none) header.from=twisted.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twisted.org.uk; s=tbx; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tj/JkMKniLEqnN1nK1IgVUMQ0G3muF40RchCBGcG+gA=; t=1700738175; x=1701602175; b=iQ+1QmD93BjPHWZ4Uz8LtRyduuy4ElnfwhmAribGhqQfln5ze35PAXDQ9J8nGEoBJ3nFpZXeT/0 4FdZVaLwBX6v+5hYms+gECwcl4JD9+hnSnZ2bqo1GBHT+2K67w2ExTdS4e8pgjV+zk3xM/PHybGzG vGUIFknV0aIiNVe6YF/XZF7lFYokhs9q+EPbbwYOOc+dmq7ELzETmqtg3mrGSvBDQuIPddLfLnX5X VcI5GBmKdyQUmtr5QvfeVurcqJW+TivSKDHQoZ86A1wkhf85/jVTmHSU93GV6AG5uyn7/qi90qOgW jPeB/2fNp+qR0ZNFwKXQpi9EVHmrJnzvLs5A==; Received: from mailnull by toybox.twisted.org.uk with spamc-scanned (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1r67gj-0003jR-0O for stable@freebsd.org; Thu, 23 Nov 2023 11:16:07 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on toybox.twisted.org.uk X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=4.0.0 X-Spam-Score: -1.0 () Received: from balta.twisted.org.uk ([2001:470:6cc4:1::57]) by toybox.twisted.org.uk with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1r67gj-0003jO-06 for stable@freebsd.org; Thu, 23 Nov 2023 11:16:05 +0000 Message-ID: <4391e5c5-ddd1-4ebf-b327-c8fa7e9fa68e@twisted.org.uk> Date: Thu, 23 Nov 2023 11:16:04 +0000 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: How to upgrade a carp pair from 13 to 14 given the pfsync protocol changed ? To: stable@freebsd.org References: <753f0ad9-bc19-4c81-ba78-1ed67aab8b99@twisted.org.uk> <72A77920-E4EC-4553-A99A-21A0B1BD5E09@jnielsen.net> Content-Language: en-GB From: Pete French In-Reply-To: <72A77920-E4EC-4553-A99A-21A0B1BD5E09@jnielsen.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-spamc-toybox: true X-transport-toybox: lookuphost X-Spamd-Result: default: False [-2.92 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.93)[-0.927]; DMARC_POLICY_ALLOW(-0.50)[twisted.org.uk,none]; R_SPF_ALLOW(-0.20)[+ip4:178.250.76.50/32]; R_DKIM_ALLOW(-0.20)[twisted.org.uk:s=tbx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:12290, ipnet:178.250.72.0/21, country:GB]; MLMMJ_DEST(0.00)[stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[twisted.org.uk:+]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SbbCM65FKz4ZwQ X-Spamd-Bar: -- On 23/11/2023 01:41, John Nielsen wrote: >> On Nov 21, 2023, at 9:42 AM, Pete French 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.