Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Gentoo for many servers (was: Re: [gentoo-user] executing commands on lots of servers at once)
Date: Sat, 14 Nov 2009 18:14:13
Message-Id: 200911141836.06468.wonko@wonkology.org
In Reply to: Re: [gentoo-user] executing commands on lots of servers at once by Alan McKinnon
1 Alan McKinnon wrote:
2
3 > clusterssh will let you log into many machines at once and run emerge
4 > -avuND world everywhere
5
6 This is way cool. I just started using it on eight Fedora servers I am
7 administrating. Nice, now this is an improvement over my 'for $h in
8 $HOSTS; do ssh $h "yum install foo"; done' approach.
9
10 What do you guys think about using Gentoo for servers? At the institute I
11 partially work we chose Fedora. There is no special reason for that - we
12 already had some Fedora machines, the setup seemed to work, the reputation
13 was good, so we kept it. That was okay for me, why choose many different
14 environments and learn everything again. I mentioned Gentoo, but did not
15 really suggest to actually use it. Maybe I should have.
16
17 These 8 servers I mentioned are basically clones of the one I installed
18 manually. Instead of doing this again, I boot a live-cd on a new one,
19 create partitions, and extract tar files of the first server's partitions.
20 Then I do some extra configuration, like hostname and network setup. Done.
21
22 My plan for updating them is to take the first server down, and upgrade
23 the installation (if that works - I had some trouble with that before, so
24 maybe it will be better to reinstall from scratch). Then I will create a
25 snapshot of the new setup, transfer that to the other hosts, and unpack it
26 in new logical volumes. I plan to script this so I do not have to do it
27 manually every time - but that was before I knew ClusterSSH. When all is
28 done and there is some time to take the servers down, I will reboot into
29 the new system.
30
31 Now I am thinking about a Gentoo installation instead.
32
33 Pros:
34 - Continuous updates, no downtime for upgrading, only when I decide to
35 install a new kernel. This is really really cool. I fear the upgrade from
36 Fedora 10 to 12 which has to be done soon.
37 - Some improvement in speed. Those machines do A LOT of numbercrunching,
38 which jobs often lasting for days, so even small improvements would be
39 nice.
40 - Easier debugging. When things do not work, I think it's easier to dig
41 into the problem. No fancy, but sometimes buggy GUIs hiding basic
42 functionality.
43 - Heck, Gentoo is _cooler_ than typical distributions. And emerging with
44 distcc on about 8*4 cores would be fun :)
45 - I am probably the only one who can administrate them.
46
47 Cons:
48 - If something will not work with this not so common (meta)distribution,
49 people will say "always trouble with your Gentoo Schmentoo, it works fine
50 in Fedora". Fedora is more mainstream, if something does not work there,
51 then it's okay for the people to accept it.
52 - I fear that big packages like Matlab are made for and tested on the
53 typical distributions, and may have problems with the not-so-common
54 Gentoo. I think someone here just had such a problem with Mathematica
55 (which we do currently not use).
56 - I am probably the only one who can administrate them. I think Gentoo is
57 easier to maintain in the long run, but only when you take the time to
58 learn it. With Fedora, you do not need much more than the 'yum install'
59 command. There is no need to read complicated X.org upgrade guides and
60 such.
61
62 I think I already made my decision, but I am still interested in your
63 opinions, maybe some of you are in a similar position and like to share
64 your experiences. Whether I will be allowed to use Gentoo is another
65 question, I guess my boss will not like my idea at first, and I am not
66 even sure if he is right. But maybe I can test-install Gentoo on one
67 machine in a chroot, and see if things work fine.
68
69 Wonko

Replies

Subject Author
Re: Gentoo for many servers (was: Re: [gentoo-user] executing commands on lots of servers at once) Alan McKinnon <alan.mckinnon@×××××.com>
[gentoo-user] Re: Gentoo for many servers Andreas Niederl <rico32@×××.net>