Date: Wed, 26 Apr 2000 16:13:28 GMT From: Salvo Bartolotta <bartequi@neomedia.it> To: Marc Tardif <intmktg@CAM.ORG>, freebsd-questions@FreeBSD.ORG Subject: Multiple upgrading (was Re: clustering and netbooting) Message-ID: <20000426.16132800@bartequi.ottodomain.org> References: <Pine.LNX.4.10.10004261006070.11138-100000@Gloria.CAM.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 4/26/00, 3:07:34 PM, Marc Tardif <intmktg@CAM.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000426.16132800>