Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 14:43:15 -0400 (EDT)
From:      Marc Tardif <intmktg@CAM.ORG>
To:        freebsd-net@freebsd.org
Subject:   clustering and netbooting
Message-ID:  <Pine.LNX.4.10.10004251413150.1066-100000@Gloria.CAM.ORG>

next in thread | raw e-mail | index | archive | help
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



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10004251413150.1066-100000>