From owner-freebsd-questions@freebsd.org Tue Dec 3 05:33:16 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36CFB1C8742 for ; Tue, 3 Dec 2019 05:33:16 +0000 (UTC) (envelope-from SRS0=O861=ZZ=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 47RrHH2vS9z3Pbc for ; Tue, 3 Dec 2019 05:33:15 +0000 (UTC) (envelope-from SRS0=O861=ZZ=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 47RrHF4QkPz2fjV5 for ; Mon, 2 Dec 2019 21:33:13 -0800 (PST) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Updating from 11.2 to 11.3 on a headless machine Date: Mon, 2 Dec 2019 21:33:13 -0800 References: <20191130162757.GA9364@chthonixia.chthonixia.net> <50ec5426-3206-4e83-7394-eb9d9da0325c@tx.rr.com> To: FreeBSD Questions In-Reply-To: <50ec5426-3206-4e83-7394-eb9d9da0325c@tx.rr.com> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 47RrHH2vS9z3Pbc X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of SRS0=O861=ZZ=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=O861=ZZ=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [-1.42 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.951,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.988,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.08)[asn: 5650(-0.36), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.216.177.71.list.dnswl.org : 127.0.10.0]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=O861=ZZ=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,SRS0=O861=ZZ=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 05:33:16 -0000 > On 30 November 2019, at 12:50, Paul Schmehl = wrote: >=20 > On 11/30/19 10:27 AM, Joe A. wrote: >=20 >> Hello... >>=20 >> I have a machine that I moved into a headless with no keyboard >> role and now I wish to update it to 11.3 from 11.2-RELEASE-p9. >>=20 >> Since it's headless, and it seems that FreeBSD update works on >> a headless machine, I plan to use it as outlined in the >> handbook in chapter 23.2. >>=20 >> First question: am I correct in understanding that FreeBSD update >> will work on an headless machine, as distinct from svnlite and a >> build from source? > Yes, you are correct. I maintain three servers, and all three are = headless. I update them routinely over ssh. The only downside is if the = server fails to reboot properly, you have to make a trip to the hosting = company site to complete the update. Usually, that does not happen. >> In section 23.2.3. Performing Major and Minor Version Upgrades, >> this appears: freebsd-update -r 9.1-RELEASE upgrade. On my >> desktop with a monitor and keyboard, I use snvlite; so when >> moving between major and minor upgrades, I use svnlite switch. >>=20 >> Second question: is it the case that 'freebsd-update -r' >> is a substitute for 'snvlite switch'? > I've never used snvlite, so I can't say. But freebsd-update works fine = for me. I also have a number of remote headless machines. Freebsd-update has = generally worked cleanly for me. However, I have encountered situations = where the bootstrap process would just hang Generally that has been the = result of a typo in rc.conf. It's a 3-4 hour drive (longer in rush = hours) to the farthest server. What we did was get a Rhapsberry Pi 3 = and load FreeBSD on it. I set it up to connect to the internet and also = a serial port connected to the serial port of the server. Now I can = access the server's console which makes it a lot easier when problems do = occur. SSH to the PI, cu to the server. It will not help when the = power gets disconnected. That requires a human to plug it back in. = That is usually not an issue during a system upgrade though. I don't = have to use the Pi connection very often, but when it's needed it is a = real time saver - not to mention the gas that otherwise would be = involved. -- Doug