From owner-freebsd-questions Wed Apr 26 8:10:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id 3C13637BF33 for ; Wed, 26 Apr 2000 08:10:43 -0700 (PDT) (envelope-from bartequi@neomedia.it) Received: from bartequi.ottodomain.org (ppp1-pa5.neomedia.it [195.103.207.113]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id RAA21128; Wed, 26 Apr 2000 17:10:37 +0200 (CEST) From: Salvo Bartolotta Date: Wed, 26 Apr 2000 16:13:28 GMT Message-ID: <20000426.16132800@bartequi.ottodomain.org> Subject: Multiple upgrading (was Re: clustering and netbooting) To: Marc Tardif , freebsd-questions@FreeBSD.ORG References: X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 4/26/00, 3:07:34 PM, Marc Tardif wrote regarding clustering and netbooting: > I am currently running 3 freebsd boxes sharing tasks for the same domain: > 192.168.0.1 web.server.com web > 192.168.0.2 sql.server.com sql > 192.168.0.3 mail.server.com mail > Problem is: how can I avoid having to build/install world and, to a lesser > extent, the kernel for each machine (same hardware)? > Solution 1: netbooting > I have already encountered the problem of compiling the kernel in aout= > format instead of the default elf format on 3.x in order to be able to= > netboot the kernel. Once that will be settled, one of the three machines > will act as the boot server for the other two. These machines will then > mount only need the local hdd to mount swap and the following directories: > /etc, /tmp, /var, /usr/local. > Problem is: even though my objective is reached and only one build/install > will be necessary, how much compromise in performance or potential > problems can I expect from such a setup? > Solution 2: mounting directories from fstab > If possible, this option would mount the directories installed during > "make installworld". This will prevent me from having to build/install= > world on each machine, but I'll still have to install a kernel for each > machine. > Problem is: how do I know which directories must be mounted in order to > avoid having to build/install world on each machine? Also, can I expect > any compromise in performance or potential problems for this kind of setup > also? > Marc Dear Marc Tardif, you might want to have a look at the "make world" section in the handbook. You'll find interesting suggestions in the Questions at the end of the tutorial: that is, "make world" on one machine, and then "installworld" onto the other target machine(s). Needless to say, if the machines to be updated are quite similar, you can also prepare other steps in the "main" (=3Dupdating) machine. For instance, the "make installworld" phase should require a few minutes, and if you have documented your mergemaster action i.e. if you have prepared the appropriate set(s) of config files, copying them is straitforward. Analogous considerations should apply to kernels etc. HTH, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message