Gentoo Archives: gentoo-server

From: Joby Walker <zorloc@××××××××.org>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] deployment server over NFS, feedback
Date: Sun, 29 Feb 2004 07:06:21
Message-Id: 40419044.3040802@imperium.org
In Reply to: [gentoo-server] deployment server over NFS, feedback by "Sancho2k.net Lists"
1 My experience from doing the same is that NFS is the wrong way to go.
2 Portage 2.0.50 supports downloading the .tbz2's via ftp or http. So I
3 build packages (emerge -b) on a build server then daily upload those
4 packages via rsync to a server that offers the packages via http
5 (apache). My hosts then use "emerge -g" to install.
6
7 jbw
8
9 Sancho2k.net Lists wrote:
10
11 > Greetz,
12 >
13 > I've seen the progress being made on a gentoo deployment project, very
14 > excited to see that developing.
15 >
16 > We're looking at deploying Gentoo on ~40 or so servers right now. We've
17 > thrown together the idea of a master build server where all packages
18 > will be built, and then NFS-mounting /usr/portage on the other boxen. We
19 > have a range of hardware from Pentium3 to Pentium4, some 2x CPU, most
20 > one CPU though. All common packages such as apache2, mysql, php/mod_php,
21 > and the like would be built there first and then distributed to the
22 > servers as needed (they would emerge the tbz2s from thier nfs-mount
23 > /usr/portage/packages/All directory). Since we are using -mcpu pentium3
24 > in the make.conf, our binaries should be portable across p3 and p4
25 > platforms, correct? Updates would be handled locally with an emerge
26 > world, which would rebuild the local server environment still using the
27 > shared /usr/portage directory. Any holes in these methods?
28 >
29 > For initial deployment, the idea is to configure the master server at
30 > first as we want it and then find a way to build a stage3 tarball from
31 > it's filesystem. Looking at the info on the Catalyst project though, it
32 > looks like building stage tarballs for different architectures has to be
33 > handled more carefully. We may try to create an installation CD that
34 > uses a properly prepared stage tarball to bootstrap the system and have
35 > a base installation that is common, neccesary parts. Standard
36 > configuration files would be stored in a configuration directory of
37 > /usr/portage/configs (e.g.) and a standard kernel config also available
38 > there. There was an idea to classify and enforce common config files and
39 > the like using cfengine (comments on this?)
40 >
41 > We'd also like to figure out the best way to enable a central
42 > authentication system during this rollout and for future installations
43 > also. Currently we have MS Active Directory available but may be open to
44 > using NIS or PAM/Winbind or LDAP to an external directory. Any advice on
45 > this?
46 >
47 > TIA for any comments/inputs.
48 >
49 > DS