public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-server] Managing multiple servers.
@ 2011-05-23 22:12 la Bigmac
  2011-05-23 23:11 ` Mark Shields
                   ` (3 more replies)
  0 siblings, 4 replies; 49+ messages in thread
From: la Bigmac @ 2011-05-23 22:12 UTC (permalink / raw
  To: gentoo-server

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]




Hello list, 

 

Seems to be a few people recently
wanting to discuss Gentoo as a server :-) so thought I would pose a question that
has been bugging me. 

 

What would you guys recommend to
manage multiple servers and the package versions? 

 

While I have a central emerge
server (rsync) and sync all of my servers to it I still manually update
the packages.

 

Example, openssh how should I be
updating openssh on all of my servers other than logging onto each one in turn
and running emerge openssh.

 

Should I cron schedule an emerge
--update world  and control the repository of packages or is there
a more elegant solution?

 

Regards,

 

Mat. 

 		 	   		  

[-- Attachment #2: Type: text/html, Size: 41514 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
* RE: [gentoo-server] Managing multiple servers.
@ 2011-05-24  1:31 Pandu Poluan
  0 siblings, 0 replies; 49+ messages in thread
From: Pandu Poluan @ 2011-05-24  1:31 UTC (permalink / raw
  To: gentoo-server

-original message-
Subject: Re: [gentoo-server] Managing multiple servers.
From: kashani <kashani-list@badapple.net>
Date: 2011-05-24 07:40

On 5/23/2011 3:12 PM, la Bigmac wrote:
>> Hello list,
>>
>> Seems to be a few people recently wanting to discuss Gentoo as a server
>> :-) so thought I would pose a question that has been bugging me.
>>
>> What would you guys recommend to manage multiple servers and the package
>> versions?
>>
>> While I have a central emerge server (*rsync)* and sync all of my
>> servers to it I still manually update the packages.
>>
>> Example, openssh how should I be updating openssh on all of my servers
>> other than logging onto each one in turn and running emerge openssh.
>>
>> Should I cron schedule an /emerge/ --/update world /and control the
>> repository of packages or is there a more elegant solution?
>
>I've become a huge Puppet nerd over the last year. I'm not managing 
>Gentoo on it, but it's supported and Puppet Labs does seem to fix Gentoo 
>bugs in a reasonable time.
>
>First you'll need Ruby 1.8.7 as 1.9.2 support in Ruby isn't quite there 
>yet. I'd also run unstable for Puppet and Facter. You're better off 
>jumping in at 2.6.x than 0.25.x.
>
>Puppet requires facter which is very cool in it's own right. It's local 
>discovery of the OS and those facts about your system can be used in 
>templates to make decisions. Here's an example for setting higher 
>thresholds on my large machines.
>
><% if processorcount.to_i >= 12 then -%>
>
>and here's an example of a module to make sure sudo is the latest 
>version and add a config file for my local sudoers additions.
>
>class sudo {
>   package { "sudo": ensure => latest, }
>
>   file { "/etc/sudoers.d/my_additions":
>     ensure  => present,
>     owner   => root, group => root, mode => 440,
>     require => Package["sudo"],
>     source  => "puppet:///modules/sudo/my_additions",
>   }
>}
>
>In order to make this work you'd really need to have modules for each 
>package in your world file and set ensure => latest rather than just 
>present. However it does make it easy to keep configs, users, settings, 
>which packages in sync across machines.
>
>That's Puppet in a very very tiny nutshell. They are some unique 
>challenges with using it well with Gentoo, but it would ultimately make 
>your system easier to reproduce.
>
>kashani

Interesting...

Now, I've never used Puppet before, so please forgive my apparently ignorant questions:

1. How does it handle differing USE flags? Or portage/env variables?

2. How does it update the systems it maintains? I mean, like doing compiling stuffs and such?

3. Does it use SLOTs to enable rollback, just in case?

I'm looking at 8 Gentoo servers -- soon to be 10 -- and I *will* seriously evaluate *anything* that promises to assist me with managing/maintaining them.

Anecdote time: just last week, I tried deploying a Squid proxy. I don't know what happened, but I failed doing that on two other distros; one has a buggy package, and the other just... did not work. It might be my mistake, but I was pressed for time. So I did a 'stage4' installation of Gentoo, emerged squid... and it Just Works(tm). Now I'm setting up two more proxies with Gentoo.

(You might've seen my question regarding configure flags back in [gentoo-user]. Yes, that's me building the 2nd proxy.)

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~

Sent from Nokia E72-1




^ permalink raw reply	[flat|nested] 49+ messages in thread
* Re: [gentoo-server] Managing multiple servers.
@ 2011-05-24 11:26 Fabiano - deStilaDo
  0 siblings, 0 replies; 49+ messages in thread
From: Fabiano - deStilaDo @ 2011-05-24 11:26 UTC (permalink / raw
  To: gentoo-server

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

On May 24, 2011 5:06 AM, "Ramon van Alteren" <ramon@vanalteren.nl> wrote:
> I'm / we are currently working on a new setup for our frozen snapshot
> + overlay + distfiles mirror.
> Ideally we're shooting for a setup were we continuously test the
> system set of packages for compilation and maybe a few functional
> test-cases (can I ssh into the server comes to mind :)
>
> This would allow us to stay closer to $UPSTREAM, in this case gentoo
> and avoid the large maintenance nightmare we have now. If possible we
> would possibly be looking to open up the infrastructure as open source
> and allow others to use it. However that is a future hope, not a
> promise :)

Did you take a look on the tools that gentoo devs use? If not, you may find
some useful stuff for what you are doing, or at least inspiring, they have
tools for managing repos, automated building/testing of the tree, etc.

__
Fabiano.

/* sent from an android device */

[-- Attachment #2: Type: text/html, Size: 1111 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2011-06-03 14:04 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-23 22:12 [gentoo-server] Managing multiple servers la Bigmac
2011-05-23 23:11 ` Mark Shields
2011-05-24  0:20   ` Stefan Behte
2011-05-25 18:43   ` Nils
2011-05-25 19:09     ` Kristjan Kalder
2011-05-25 19:27       ` mRyOuNg
2011-05-25 20:12         ` Kristjan Kalder
2011-05-25 22:24           ` mRyOuNg
2011-05-26  9:30           ` Christian Kauhaus
2011-05-27 14:00             ` Stefan Behte
2011-05-25 20:14       ` Stéphane Guedon
2011-05-25 20:01     ` [gentoo-server] Best backup service? Kristjan Kalder
2011-05-25 20:16       ` Jeff Rooney
2011-05-25 20:17       ` Denis Bondar
2011-05-25 21:33         ` John Lowry
2011-05-25 21:10       ` flockmock
2011-05-25 21:40       ` Homer Parker
2011-05-26  3:53       ` R. David Murray
2011-05-26  4:50         ` Kristjan Kalder
2011-05-26  6:00           ` AW: " Zemke, Kai
2011-05-26  6:09           ` Patrick Nagel
2011-05-26 18:01           ` R. David Murray
2011-05-26 11:33       ` Konstantin
2011-05-26 12:30         ` nirn
2011-05-30 15:54     ` [gentoo-server] Managing multiple servers Jean-François Maeyhieux
2011-06-02 19:31       ` Sven Vermeulen
2011-06-02 20:33         ` David
2011-06-03  9:37         ` Christian Kauhaus
2011-06-03 10:49           ` Joost Roeleveld
2011-06-03 13:24             ` Christian Kauhaus
2011-05-24  0:40 ` kashani
2011-05-24  2:44   ` Fabiano - deStilaDo
2011-05-24  5:32     ` Pandu Poluan
2011-05-24 11:50       ` Fabiano - deStilaDo
2011-05-24  1:12 ` kashani
2011-05-24 12:47   ` Matthew Marlowe
2011-05-24  7:37 ` Ramon van Alteren
2011-05-24  8:21   ` Pandu Poluan
2011-05-24  9:19     ` Robert Bridge
2011-05-24 10:11       ` Pandu Poluan
2011-05-24 16:04       ` kashani
2011-05-24 14:06     ` Ramon van Alteren
2011-05-24 12:40   ` Hacking Network Solutions - Gentoo List Subscriptions
2011-05-24 14:45   ` Christian Kauhaus
2011-05-24 15:36     ` Dawid Węgliński
2011-05-24 21:06     ` Ramon van Alteren
2011-05-25 16:16       ` Christian Kauhaus
  -- strict thread matches above, loose matches on Subject: below --
2011-05-24  1:31 Pandu Poluan
2011-05-24 11:26 Fabiano - deStilaDo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox