From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N3aDW-0006ST-IW for garchives@archives.gentoo.org; Thu, 29 Oct 2009 18:59:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD0C4E0979; Thu, 29 Oct 2009 18:59:00 +0000 (UTC) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by pigeon.gentoo.org (Postfix) with ESMTP id 81DE4E0979 for ; Thu, 29 Oct 2009 18:59:00 +0000 (UTC) Received: by ewy2 with SMTP id 2so210227ewy.34 for ; Thu, 29 Oct 2009 11:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=9jMYXM+0SRcy1wOJgEb4pfw3EBx/roEC40V7GtCmtGc=; b=v+iEnyftJPNrAx68Xs28+EOG14gt99BeVitiWhiQPQbx4BidVy+ZiF08ILENx1sIQi +08Jbxv0N6IQHtHvXUDKiWZUlVSyNqWiOPSQpEGHh7E76qcYgdplmwbEvyjQUBwzbQFq WvleQqt9wosJHV+t3iEdTEtZQ8a2V4qJAuntE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=WZvDSBteK9a3lq9qQICsPcHeJJw1/RVZjqE8/51Yz24iOppiE2C7gpTvIYMhwiBlx7 l8BbguUYihZaWLUR63nTgqk8oPbuf7nyYc9651QbpLa7nsDv4ikCz4aHAIO7KcT6i+M5 r7hNrQyorEpUelSXOTHTT4cjlkAXpEqUltYxc= Received: by 10.210.152.4 with SMTP id z4mr579031ebd.7.1256842738027; Thu, 29 Oct 2009 11:58:58 -0700 (PDT) Received: from nazgul.localnet (196-210-153-40-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.40]) by mx.google.com with ESMTPS id 28sm6640051eyg.30.2009.10.29.11.58.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Oct 2009 11:58:57 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] executing commands on lots of servers at once Date: Thu, 29 Oct 2009 20:57:51 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-zen4; KDE/4.3.2; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200910292057.51103.alan.mckinnon@gmail.com> X-Archives-Salt: 3219ba97-a757-46d6-9e4c-526c0775718c X-Archives-Hash: 01d7a219db2a1be905ae224c99288eef On Thursday 29 October 2009 20:36:27 James wrote: > I have a cluster of Gentoo boxes I'd like to update all at once, along > with emerging specific packages to the servers simultaneously. > > Does anyone have any experience(s) with a good utility for doing this? > I've seen a few scripts online for accomplishing this but I'm not sure > how these scripts would handle the large amount of output that emerge > generates from all the servers simultaneously. > > Thoughts / ideas appreciated. I thought we answered this for you two days ago? Put the same world and config on every machine, and build everything on one host called the binhost. emerge -k on every machine will pull binary packages from the binhost. This is identical to working with say Ubuntu, except that it's not a maintainer building packages and putting them on a remote repo, it's you doing it and putting the packages on a machine on your local network. clusterssh will let you log into many machines at once and run emerge -avuND world everywhere -- alan dot mckinnon at gmail dot com