public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tomasz Szymczak <ex@valis.net.pl>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Best practices in managing large server groups
Date: Tue, 22 May 2007 14:58:18 +0200	[thread overview]
Message-ID: <200705221458.18851.ex@valis.net.pl> (raw)
In-Reply-To: <4650937E.80301@spamcop.net>

On Sunday 20 of May 2007 20:29:18 Charles Duffy wrote:
> I'm looking at replacing SuSE SLES9 with Gentoo for an enterprise
> application (for reasons of flexibility and licensing) (no, we don't
> have an enterprise application budget -- just the reliability
> requirements; yaaay, startups!). We're looking to be able to deploy and
> manage hundreds of geographically distributed servers.

I'm using some custom made gentoo setup, it's not perfect but works fine for 
me (>30 gentoo servers and >50 gentoo vservers in different locations)

Every gentoo server has mounted snapshot of portage tree compressed by 
squashfs = 40MB (vservers are using bind mounted version), it's extended by 
custom overlays (security, updates, etc). I can do 'big' upgrade of gentoo by 
putting newer portage snapshot.

I've made custom gentoo profiles (f.e. amd64-default-20061004) which are 
setting most things like cflags, use flags, overlays and inherits real 
profile at the end. Also I'm extending it by creating my subprofiles to force 
installing packages, for example:

x86-default-20061004/h  (vserver hardware node)
vserver-default-20061004/www/php5  (www vservers with php5)
vserver-default-20061004/mail  (mail vservers)

Most servers/vservers have /var/lib/portage/world empty, all packages are 
forced by putting it into 'system'. Also, /etc/make.conf on all servers are 
empty too :)

After emerge (compile) of package, it's sent into binhost server (via scp 
in /etc/portage/bashrc) and other servers in same profile are fetching binary 
version.


This solution is a little bit tricky, have some issues but after all - makes 
many things faster and easier for me.

regards
-- 
Tomasz Szymczak                                                   _.-.  jgs
GCS/M d- s-:- a-- C+++$ UL++$>++++$ P++ L++>++++ E W++ N+ w O+  '( ^{_}    (
PS+ PE !Y PGP+ t- X- R tv-- b++>+++ DI D>+++ G e>++++ h! r- y?    `~\`-----'\
Umysł sprawia, że wszystko się zmienia, żeby upozorować upływ czasu  )_)---)_)
--
gentoo-server@gentoo.org mailing list



      parent reply	other threads:[~2007-05-22 13:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-20 18:29 [gentoo-server] Best practices in managing large server groups Charles Duffy
2007-05-20 20:20 ` Nicolas MASSE
2007-05-20 20:34   ` Charles Duffy
2007-05-20 21:25 ` Ramon van Alteren
2007-05-21  9:04   ` Ronan Mullally
2007-05-21 13:44     ` Thilo Bangert
2007-05-21 14:30       ` Ronan Mullally
2007-05-21 14:36         ` Arturo 'Buanzo' Busleiman
2007-05-21 14:53           ` Ronan Mullally
2007-05-21 15:01             ` Arturo 'Buanzo' Busleiman
2007-05-21 15:28               ` Christian Bricart
2007-05-21 15:54                 ` Arturo 'Buanzo' Busleiman
2007-05-22  4:19             ` Justin Cataldo
2007-05-22  4:59             ` Brian Kroth
2007-05-21 15:10     ` Karl Holz
2007-05-21 15:51       ` Ronan Mullally
2007-05-21 16:27         ` Ryan Gibbons
2007-05-21 17:29           ` Ronan Mullally
2007-05-21 17:35             ` Petteri Räty
2007-05-21 17:46               ` Ronan Mullally
2007-05-21 17:47             ` José Costa
2007-05-21 17:54               ` José Costa
2007-05-21 22:58           ` Karl Holz
2007-05-21 23:11 ` Ramon van Alteren
2007-05-22  5:10   ` Brian Kroth
2007-05-22 16:54   ` Charles Duffy
2007-05-22 17:23     ` Wendall Cada
2007-05-22 21:06       ` [gentoo-server] " Charles Duffy
2007-05-23  1:33         ` Wendall Cada
2007-05-23  7:37     ` [gentoo-server] " Ramon van Alteren
2007-05-23 12:28       ` Andrew Gaffney
2007-05-23 13:03         ` Ramon van Alteren
2007-05-23 13:46           ` Andrew Gaffney
2007-05-26  9:53       ` Thilo Bangert
2007-05-22 12:58 ` Tomasz Szymczak [this message]

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=200705221458.18851.ex@valis.net.pl \
    --to=ex@valis.net.pl \
    --cc=gentoo-server@lists.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