Gentoo Archives: gentoo-admin

From: Ricardo Loureiro <rjlouro@×××××××.org>
To: gentoo-admin@l.g.o
Subject: Re: [gentoo-admin] gentoo and portage in a large scale environment
Date: Fri, 01 Jul 2005 04:39:28
In Reply to: [gentoo-admin] gentoo and portage in a large scale environment by Joe Rizzo
Hi all,

Funny you talk about this, cause i'm gonna be developing a similar
system starting next Semptember as part of the final project for my
graduation in Informatics Engineering (kinda Computer Science but
that's the official name). My project will be about deploying Gentoo
in a not so large environment (few dozen machines) and with similar
objectives. So i'd love to exchange ideas to anyone who had this
previous experience or is planning such a thing.

As to your questions, having a custom portage will be easy, just
insert what you need in a file and insert that file at
RSYNC_EXCLUDEFROM in make.conf. Be careful with depenencies.

Not having gcc will be a problem, as it's part of the base profile,
from which all profiles inherit. I don't know if modifying it for
your local systems will be a valid alternative.

Keeping binary packages is easy as long as you compile them with a
more wider set of flags that will be adequate to all machines, like
compiling them to i686. Problems will arrive if you have different
arch's there. Portage will happily work with binary packages, even
fetching them from a primary server using http or ftp.

My approach will be slightly different, i'm planing on having a
central portage database (a relational database, mysql or postgres)
and make a modified portage that will make all queries on this
database, to avoid rsync. Will be checking the (dead?) portagesql
project when I start.

Hope it helps.

Ricardo Loureiro

On Thu, 30 Jun 2005 19:18:02 -0700
"Joe Rizzo" <jrizzo@×××××××××.com> wrote:

> I hope I am posting this to the correct mailing lists. The > gentoo-servers and gentoo-admin mailing lists seem appropriate. > > I am looking at deploying a large scale installation of systems > running Gentoo. (Large scale being 200-300 systems) Currently, I > am mainly concerned with how to handle portage and packages. > > My current thinking is to have a limited portage tree that only > contains ebuilds needed by the systems. Included in this portage > tree will be ebuilds for custom software packages. The systems will > sync off of this custom maintained portage tree. I would like > binary packages to be available from a central repository and not > have gcc on the systems. I would like to avoid mounting a network > file system. Am I on the best path? > > Functionally, systems will be imaged the minimal base image via > systemimager. After that, packages will be deployed via emerge. > The packages will be precompiled and available. On going, packages > will be updated and deployed via emerge. > > Please provide experience or ideas on: > 1) Creating and maintaining a minimal gentoo image? > 2) Managing portage and packages for a large scale gentoo > environment? > > Thanks, > Joe Rizzo > > -- > gentoo-admin@g.o mailing list >