From: Chris Gianelloni <wolf31o2@gentoo.org>
To: Ron OHara <rono@sentuny.com.au>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Maintaining production systems - and losing ebuilds
Date: Wed, 12 Nov 2003 08:41:39 -0500 [thread overview]
Message-ID: <1068644499.16749.21.camel@localhost> (raw)
In-Reply-To: <3FB1ACC1.9070800@sentuny.com.au>
[-- Attachment #1: Type: text/plain, Size: 4332 bytes --]
On Tue, 2003-11-11 at 22:45, Ron OHara wrote:
> Chris Gianelloni wrote:
>
> >On Mon, 2003-11-10 at 23:39, Ron OHara wrote:
> >
> >
> >>Chris Gianelloni wrote:
> >>
> >>
> >>
> >>>On Sun, 2003-11-09 at 22:46, Ron OHara wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Lisa Seelye wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>On Sun, 2003-11-09 at 22:00, Ron OHara wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi,
> >>>>>>
> >>>>>>I want to raise an issue resulting from my experience so far in using
> >>>>>>Gentoo as the basis of production systems. Some may ask why? - but
> >>>>>>basically 'portage' seems to offer the very best framework for ongoing
> >>>>>>maintenance/admin of systems, though it's not perfect in that role.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>There are a couple things you may want to look into.
> >>>>>
> >>>>>First, have you considered setting up your own rsync repository?
> >>>>>Second, how about using PORTAGE_OVERLAY to save ebuilds.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>An rsync repository is another part of the production deployment issues,
> >>>>(especially for bandwidth issues) but ideally the overall process should
> >>>>not force me to duplicate the managment effort that already goes into
> >>>>maintaining the Gentoo portage 'repository'. That work is already being
> >>>>done so it seems silly to have to manually administer a downstream
> >>>>repository just to preserve 'old' ebuilds - and even then, the true
> >>>>repository of which ebuilds are needed for a specific system is held on
> >>>>that system .. not on another server.
> >>>>
> >>>>To a degree, the same thing applies to the PORTAGE_OVERLAY setting -
> >>>>that tree may be a suitable place to preserve older ebuilds that are
> >>>>being removed from the central portage, but I dont want to maintain it
> >>>>manually on hundreds of systems.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Two words...
> >>>
> >>>NFS mounts
> >>>
> >>>=]
> >>>
> >>>
> >>>
> >>>
> >>>>--
> >>>>gentoo-dev@gentoo.org mailing list
> >>>>
> >>>>
> >>>>
> >>>>
> >>Hmmm ... NFS works when the systems are all nicely connected with
> >>bandwidth, but most of these will be unique nodes on a private microwave
> >>network (to avoid the local Telco charges .a.k.a 'gouging' - at $0.19
> >>per megabyte of traffic)
> >>
> >>
> >
> >That makes a big difference. In that case, I would run your own rsync
> >mirror for portage and have all the machines sync to your mirror. I
> >would also make a packages mirror, where you store your packages, and
> >have all the machines pull their packages from that site. That way
> >nothing gets added or removed from portage, except what you specifiy,
> >and you also get the added upgrade speed and ease of binary packages.
> >
> >
> >
> I am assuming the deployment of a private rsync mirror (and packages
> mirror) - BUT - the current setup removes .ebuilds unless I manually
> intervene. Something I want to avoid. I just want to accumulate ebuilds
> by default to match the exact version of compiled code on each box. Then
> any given machine can be recompiled if required, without regard to
> accessing an external repository.
Well, what I would do is have the rsync mirror *not* mirror the
"official" Gentoo tree into its rsync, but rather into the normal
/usr/portage. I would then manually move ebuilds for security fixes and
any upgrades I wanted into the rsync tree. The same would be true of
the packages. That way you only have *exactly* what you want and have
approved available to the client machines.
e.g. /usr/portage is normal portage tree, /usr/portage/packages is
normal package tree, /var/rsync/portage is YOUR portage tree. I would
publish the packages via a web server. The nice thing about this is
that you can standardize on quite a bit of packages. If you wanted
everyone using KDE, for example, you simply don't copy any of Gnome's
ebuilds to your /var/rsync/portage tree.
--
Chris Gianelloni
Developer, Gentoo Linux
Games Team
Is your power animal a pengiun?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-11-12 13:45 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 3:00 [gentoo-dev] Maintaining production systems - and losing ebuilds Ron OHara
2003-11-10 3:29 ` Lisa Seelye
2003-11-10 3:46 ` Ron OHara
2003-11-10 12:01 ` Chris Gianelloni
[not found] ` <3FB067E4.3010806@sentuny.com.au>
[not found] ` <1068556496.27965.2.camel@localhost>
[not found] ` <3FB1ACC1.9070800@sentuny.com.au>
2003-11-12 13:41 ` Chris Gianelloni [this message]
2003-11-10 3:30 ` Luke-Jr
2003-11-10 3:31 ` Jason Stubbs
2003-11-10 4:54 ` Matthew Kennedy
2003-11-11 4:31 ` Ron OHara
2003-11-11 5:04 ` Benjamin Coles
[not found] ` <20031111172402.GB32708@redhate.futuretel.com>
2003-11-11 17:36 ` Benjamin Coles
2003-11-11 18:25 ` Lisa Seelye
2003-11-11 20:53 ` Spider
2003-11-11 21:06 ` Don Seiler
2003-11-11 21:28 ` Paul de Vrieze
2003-11-11 21:24 ` Paul de Vrieze
2003-11-11 21:52 ` Spider
2003-11-11 22:28 ` Paul de Vrieze
2003-11-12 0:41 ` Benjamin Coles
2003-11-12 5:16 ` Owen Ford
[not found] ` <1068584457.8080.162.camel@aragorn>
[not found] ` <20031111223833.366e1bc3.spider@gentoo.org>
2003-11-11 21:48 ` Matt Wilson
2003-11-11 22:06 ` Spider
2003-11-10 9:14 ` Antonio Dolcetta
2003-11-10 9:36 ` Eldad Zack
2003-11-10 11:26 ` Jens Hoffrichter
2003-11-10 11:43 ` Luke-Jr
2003-11-10 17:48 ` Eldad Zack
2003-11-11 20:52 ` Paul de Vrieze
[not found] ` <200311111718.45352.sami.naatanen@cs.helsinki.fi>
2003-11-11 21:19 ` Ron OHara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1068644499.16749.21.camel@localhost \
--to=wolf31o2@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=rono@sentuny.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox