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 1QetFd-00072A-JF for garchives@archives.gentoo.org; Thu, 07 Jul 2011 18:24:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD7F521C0C5; Thu, 7 Jul 2011 18:23:15 +0000 (UTC) Received: from www01.badapple.net (www01.badapple.net [64.79.219.163]) by pigeon.gentoo.org (Postfix) with ESMTP id 78E1C21C0C5 for ; Thu, 7 Jul 2011 18:23:15 +0000 (UTC) Received: from [127.0.0.1] (173-8-169-73-SFBA.hfc.comcastbusiness.net [173.8.169.73]) (Authenticated sender: ramin@badapple.net) by www01.badapple.net (Postfix) with ESMTPSA id A72178446487 for ; Thu, 7 Jul 2011 11:23:14 -0700 (PDT) Message-ID: <4E15F993.1080901@badapple.net> Date: Thu, 07 Jul 2011 11:23:15 -0700 From: kashani User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Managing multiple Gentoo systems References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 3de50ad1d7a73cfeee98ae8d3a303213 On 7/2/2011 3:14 PM, Grant wrote: > After a frustrating experience with a Linksys WRT54GL, I've decided to > stick with Gentoo routers. This increases the number of Gentoo > systems I'm responsible for and they're nearing double-digits. What > can be done to make the management of multiple Gentoo systems easier? > I think identical hardware in each system would help a lot but I'm not > sure that's practical. I need to put together a bunch of new > workstations and I'm thinking some sort of server/client arrangement > with the only Gentoo install being on the server could be appropriate. > > - Grant > You may want to look at something like a config management system. I'm using Puppet these days, but Gentoo support isn't spectacular. It would be a bit complex to have Puppet install the packages with the correct USE flags. However you could use Puppet to manage all the text files and then manage the packages somewhat manually. Here's a snippet of a template for nrpe.cfg <% if processorcount.to_i >= 12 then -%> command[check_load]=<%= scope.lookupvar('nrpe::params::pluginsdir') %>/check_load -w 35,25,25 -c 35,25,25 <% elsif fqdn =~ /(.*)stage|demo(.*)/ then -%> command[check_load]=<%= scope.lookupvar('nrpe::params::pluginsdir') %>/check_load -w 10,10,10 -c 10,10,10 <% else -%> command[check_load]=<%= scope.lookupvar('nrpe::params::pluginsdir') %>/check_load -w 10,7,5 -c 10,7,5 <% end -%> If you were managing a make.conf you could set -j<%= processorcount*2 %> or whatever as well as pass in your own settings etc. Once you have things working it's pretty good at keeping your servers in sync and doing minor customization per server based on OS, hardware, IP, hostname, etc. kashani