From: Brian Jackson <iggy@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Large scale deployments - and portage
Date: Sun, 17 Aug 2003 19:42:30 -0500 [thread overview]
Message-ID: <200308171942.30838.iggy@gentoo.org> (raw)
In-Reply-To: <3F3FFCFF.2080804@sentuny.com.au>
You could pin packages in the world file (/var/cache/edb/world).
<apache-2
<courier-0.42.3
<mysql-4.0.5
etc. etc. Then copy that file to each server, and tada, you've got a standard
profile type thing.
--Brian Jackson
On Sunday 17 August 2003 05:09 pm, Ron O'Hara wrote:
> Hi,
>
> I may have missed something in all the docs, but as far as I can see
> there is what should be a fairly simple enhancement to portage that
> would help considerably in making Gentoo more practical in larger
> deployments.
>
> I came to gentoo to get the advantages of being able to tailor my
> system(s) and still have a simple, consistent upgrade path for all the
> component software - portage is great for that. From the developer and
> tinkerer point of view it is hard to see improvements in the overall
> strategy behind portage.
>
> BUT - for larger deployments, there are extra needs which are not
> currently handled by portage - but should be a snap to implement.
>
> In large deployments, it is critical to maintain strong change control
> and have predictable environments that you can validate application
> performance in. Many places use a strategy like: "All production
> servers are RedHat 7.1 (or Solaris 2.7, or Windows 2000 +SP5 ... etc)"
>
> At present I cant see a way to easily do that with gentoo. Eg. Gentoo
> 1.4 final is really just a starting point - the minute you do an 'emerge
> sync', you have an unknown mix of software. And worse, if you do it an
> hour later on a different machine, it could be a slight different mix
> again - different from the first box.
> It is relatively easy to compare the portage trees and work out what the
> differences are, but thats not much help
>
> If it were possible to 'tag' the portage tree with labels at regular
> intervals, and and do an 'emerge sync' with a nominated 'tag' - then you
> would have the equivelant of the fixed points that other distributions
> have when they cut a release CD.
>
>
>
>
> As an example scenario for someone building deployment images in a huge
> telco.
>
> After some experimentation, they decide that their basic gentoo system
> will be 'gentoo with rsync tag gentoo-1.4-Aug-2003'
>
> They take the first box and do a standard gentoo install, but at the
> 'emerge sync' point in the instructions, they do 'emerge sync
> tag=gentoo-1.4-Aug-2003'.
> They then complete all the package installations and tweaking that they
> want - site specific choices.
>
>
> This is a repeatable process!! - critical for duplicating an environment.
>
> As each of the systems is deployed - they are in a known state. Even
> nicer is that deployed systems can be easily upgraded to some other
> 'known environment' by doing an 'emerge sync tag=xxxx' to some later tag.
>
> For 'hotfixes', deployed boxes probably need the normal 'emerge sync'
> which will give them acvcess to the latest and greatest bug fix - but
> you would probably not do an 'emerge -u world' on these boxes unless
> moving it from one 'tag level' to another.
>
> Now the only question is - did I miss something and this already exists?
>
> Regards
> Ron O'Hara
>
>
>
>
>
>
>
>
> .
>
>
> --
> gentoo-dev@gentoo.org mailing list
--
Home -- http://www.brianandsara.net
Gentoo -- http://gentoo.brianandsara.net
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-08-18 0:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-17 22:09 [gentoo-dev] Large scale deployments - and portage Ron O'Hara
2003-08-17 22:13 ` Stuart Herbert
2003-08-17 23:27 ` Ron O'Hara
2003-08-18 0:22 ` Matt Thrailkill
2003-08-18 14:14 ` Stuart Herbert
2003-08-17 23:17 ` Robin H. Johnson
2003-08-17 23:37 ` Don Seiler
2003-08-18 8:24 ` Paul de Vrieze
2003-08-18 9:38 ` Robin H. Johnson
[not found] ` <200308181026.44148.chris.rs@xtra.co.nz>
2003-08-18 0:34 ` Ron O'Hara
2003-08-18 8:38 ` Paul de Vrieze
2003-08-18 0:42 ` Brian Jackson [this message]
2003-08-18 14:45 ` Stuart Bouyer
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=200308171942.30838.iggy@gentoo.org \
--to=iggy@gentoo.org \
--cc=gentoo-dev@gentoo.org \
/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