Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-admin
Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-admin@g.o
From: Robert Larson <robert@...>
Subject: Re: Distributed administration of gentoo - easy or hard?
Date: Mon, 23 Jan 2006 11:59:08 -0600
Hello,

I have been working on setting up a build host recently for similar reasons.  
I have a network of Gentoo servers in production environments and I am 
running a non-production workstation with Gentoo.  It will be very beneficial 
not to have my network slow to a crawl everytime I want to update packages.  

I am in the progress of setting it up and learning a lot about what can and 
can't be done.  I have been referencing these documents:

This one helped with setting up CCACHE and BINHOST:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3

This one describes simply providing binary packages across the network:
http://gentoo-wiki.com/TIP_Providing_binary_packages

This one describes the process of actually setting up a build host:
http://gentoo-wiki.com/HOWTO_Create_A_Build_Host

I must say though, please take these last 2 documents with a grain of salt.  I 
am finding some inefficiencies (possibly due to outdated content) in how they 
are setup as well as mentioning half-truths on how it can be setup 
(unforeseen pitfalls that can be prevented using your head and doing some 
research).

Just my 2 cents...  This is going to be the least hassle if all of the 
machines you build binary packages for use the same make.conf.  If that is 
the case, you can just use "buildpkg" in FEATURES variable, or run quickpkg 
on packages you've already built.

On the other hand, if you use 2+ different make.conf configurations then it is 
likely that you'll need to emerge each app twice.  The main reason for this 
is because of the processor architecture.  Another good reason though is the 
USE flags.  Perhaps you can set them up the same?

In my setup, unfortunately, I am having to setup a separate build environment.  
Basically, my build host is a different arch all together than my servers, so 
I'm creating scripts to copy various files into the build environment and 
mount /usr/portage, etc.  Then I chroot in.  This build environment was built 
from a stage1 tarball, bootstrapped and then an "emerge -e system" was 
performed.

I'm almost to the point where I can distribute the packages for testing.  Let 
me know if you want to know more on my specific setup.  I can also provide 
scripts if anyone is interested.

A possible alternative may be to setup distcc, more information can be found 
here:
http://www.gentoo.org/doc/en/distcc.xml

Regards,

Robert Larson


On Monday 23 January 2006 11:11 am, Andrew Kesterson wrote:
>  	I've recently begun admining a few gentoo boxes in a distributed
> setting (mainly boxes that my friends asked me to set up for them on a
> personal, at-home basis.) I'm noticing that while portage makes updates
> alot smoother, compiling them takes forever, especially on initial
> installations. OpenOffice installs and updates are particularly heinous.
>  	How do you guys handle this? Do you configure all your systems the
> same, and set up a binary package host on the system somewhere for them to
> fetch binaries from? Or do you just use straight portage?
-- 
gentoo-admin@g.o mailing list


Replies:
Re: Distributed administration of gentoo - easy or hard?
-- Alex V. Koval
References:
Distributed administration of gentoo - easy or hard?
-- Andrew Kesterson
Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Distributed administration of gentoo - easy or hard?
Next by thread:
Re: Distributed administration of gentoo - easy or hard?
Previous by date:
Re: Distributed administration of gentoo - easy or hard?
Next by date:
Re: Distributed administration of gentoo - easy or hard?


Updated Jun 17, 2009

Summary: Archive of the gentoo-admin mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.