From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HqTyr-00016L-Ho for garchives@archives.gentoo.org; Tue, 22 May 2007 13:00:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4MD0FSf012277; Tue, 22 May 2007 13:00:15 GMT Received: from valis.net.pl (valis.net.pl [81.219.196.129]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4MCwGdI008523 for ; Tue, 22 May 2007 12:58:17 GMT Received: from ex.implix.com ([195.205.175.11] helo=[192.168.6.3]) by valis.net.pl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1HqTwN-0007cg-Mq for gentoo-server@lists.gentoo.org; Tue, 22 May 2007 14:58:16 +0200 From: Tomasz Szymczak 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 User-Agent: KMail/1.9.6 References: <4650937E.80301@spamcop.net> In-Reply-To: <4650937E.80301@spamcop.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200705221458.18851.ex@valis.net.pl> X-Spam-Score: -1.4 (-) X-Archives-Salt: c9b743a3-c116-457a-a470-b8aa4b6f2518 X-Archives-Hash: 7adb218fae43135c921873fe0920984d 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 fo= r=20 me (>30 gentoo servers and >50 gentoo vservers in different locations) Every gentoo server has mounted snapshot of portage tree compressed by=20 squashfs =3D 40MB (vservers are using bind mounted version), it's extended = by=20 custom overlays (security, updates, etc). I can do 'big' upgrade of gentoo = by=20 putting newer portage snapshot. I've made custom gentoo profiles (f.e. amd64-default-20061004) which are=20 setting most things like cflags, use flags, overlays and inherits real=20 profile at the end. Also I'm extending it by creating my subprofiles to for= ce=20 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=20 forced by putting it into 'system'. Also, /etc/make.conf on all servers are= =20 empty too :) After emerge (compile) of package, it's sent into binhost server (via scp=20 in /etc/portage/bashrc) and other servers in same profile are fetching bina= ry=20 version. This solution is a little bit tricky, have some issues but after all - make= s=20 many things faster and easier for me. regards =2D-=20 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=B3 sprawia, =BFe wszystko si=EA zmienia, =BFeby upozorowa=E6 up=B3yw c= zasu )_)---)_) -- gentoo-server@gentoo.org mailing list