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 1HqY7w-0004ZO-Nz for garchives@archives.gentoo.org; Tue, 22 May 2007 17:26:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4MHPtgM020180; Tue, 22 May 2007 17:25:55 GMT Received: from 83864.com (spt174.nidaho.net [66.225.16.174] (may be forged)) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4MHO0RQ017823 for ; Tue, 22 May 2007 17:24:00 GMT Received: from localhost (localhost [127.0.0.1]) by 83864.com (Postfix) with ESMTP id 9DEFD4C4D1A for ; Tue, 22 May 2007 10:23:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at 83864.com Received: from 83864.com ([127.0.0.1]) by localhost (www.83864.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Al-XZyMo1yxG for ; Tue, 22 May 2007 10:23:23 -0700 (PDT) Received: from [10.0.1.6] (pool-68-238-142-196.sea.dsl-w.verizon.net [68.238.142.196]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by 83864.com (Postfix) with ESMTP id 941444C4C9F for ; Tue, 22 May 2007 10:23:22 -0700 (PDT) Subject: Re: [gentoo-server] Best practices in managing large server groups From: Wendall Cada To: gentoo-server@lists.gentoo.org In-Reply-To: <4653203B.5020700@spamcop.net> References: <4650937E.80301@spamcop.net> <4652270A.7020906@vanalteren.nl> <4653203B.5020700@spamcop.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7u1jKujfCHi4Ku7zcw5E" Date: Tue, 22 May 2007 10:23:47 -0700 Message-Id: <1179854627.4647.13.camel@localhost> 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 X-Mailer: Evolution 2.8.3 X-Archives-Salt: 467e931b-b498-4574-b6d6-85d4b87cda30 X-Archives-Hash: 362905b69f1c3b7e6d33e0d283707c0d --=-7u1jKujfCHi4Ku7zcw5E Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-05-22 at 11:54 -0500, Charles Duffy wrote: > Thank you for your advice. It's good to hear that someone else is in a=20 > similar scenario. >=20 > The only thing that's going to be a hard sell around here is Catalyst --=20 > our senior sysadmin (who is a considerably more seasoned Gentoo user=20 > than myself) has taken the position that using Catalyst is unnecessary=20 > and that emerge (targeting a chroot, with appropriate FEATURES set to=20 > generate binary packages) should be adequate. He's not immovable on such=20 > things -- but I'll need to have a very solid understanding of the=20 > benefits of using Catalyst before arguing any case to the contrary.=20 > (I've also contacted the author of gentoo-buildhoster to find out why he=20 > abandoned it, what he's using in its place, and whether he believes the=20 > project to be worth picking up; if he believes catalyst-2 to be more=20 > suitable for his use cases, understanding the reasoning behind that=20 > decision may provide some powerful arguments). >=20 I very much agree with his assessment here. This is what I do for binary distribution to desktop systems. It is very effective. I have played with Catalyst quite a bit, but agree that catalyst-2 is much more well suited for this. I use also use the method described here: http://m8y.org/gentoosync.txt to filter the portage tree. It makes for faster sync times, but primarily, it makes me take a look at any additions or changes to the tree. I've caught potential problems with updates by simply keeping a very clean tree, which is important on the build server. I surprises me how little work has gone into the binary support in portage with the sheer number of devs around here who use the features. I asked over three years ago about some specific bugs, and was assured that they would be fixed soon. I don't think there has been a single significant change in that time. Would be nice if -g/G was fixed. Here is the method I use for using -k/K: For package/*.tbz2 format: #!/bin/bash cd /usr/portage/packages/All/ all=3D`emerge -p $@ | grep "\[ebuild " | sed -e "s/\[ebuild[^]]*] //" | / awk '{print $1}'` for pkg in ${all} do `wget -nc http://binhost.tld/portage/packages/${pkg}.tbz2` done For *.tbz2 format: #!/bin/bash cd /usr/portage/packages/All/ all=3D`emerge $@ -p | grep "\[ebuild " | sed -e "s/\[ebuild[^]]*] //" / | sed -e "s/.*\///g" | awk '{print $1}'` for pkg in ${all} do `wget -nc http://binhost.tld/packages/All/${pkg}.tbz2` done Maybe someday, I'll turn it into a proper script, but for now, this works. Wendall --=20 Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;) -- Linus Torvalds --=-7u1jKujfCHi4Ku7zcw5E Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGUycY82rfGcS/u4ERAj4KAKCAtw3HPtGQ34taab28ZuKPaJRqBQCgjaAo MAdrvORdVCfTbeTdTi2ymcg= =jnXj -----END PGP SIGNATURE----- --=-7u1jKujfCHi4Ku7zcw5E-- -- gentoo-server@gentoo.org mailing list