Re: [gentoo-dev] GeNUS : how I currently manage my gentoo network (200+ machines)

2006-10-25 Thread Hubert Mercier

Hi guys (and girls ;) ),

And sorry for the long delay of my answer, I was very busy in the last few 
days. I just cleaned up (a bit) and uploaded my script, with a set of fake 
configs, in a nice .tgz file (1). Feel free to contact me if something is 
not clear enough (high probability since I didn't wrote any documentation 
about it).


Preston Cody a crit :

Sounds interesting.  Would you perhaps be interested in helping with
the Scire project?


Sure I am ! I'll try to touch you on IRC asap.

Cheers,

Hubert.

(1) http://www.neskaya.free.fr/files/gentoo/
--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] GeNUS : how I currently manage my gentoo network (200+ machines)

2006-10-24 Thread Ramon van Alteren

Hi Hubert,

Hubert Mercier wrote:
Since this work saved me a lot of work / time / money in the past two 
years, I thought maybe it could help others. Just let me know if we 
could do something with this, if it sounds usefull/less to you, etc...


I would be very interested in this.

Can I download the code somewhere to have a look ?

Grtz Ramon


--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] GeNUS : how I currently manage my gentoo network (200+ machines)

2006-10-23 Thread Preston Cody

On Sat, 2006-10-21 at 08:22 +0200, Hubert Mercier wrote:

Hi,

When I recently officially joined the Gentoo Project, I had the idea
to share a part of my work, in the way of a scripts set I've been
working on for more than 2 years now, which I called GeNUS (Gentoo
Network Update System).



Sounds interesting.  Would you perhaps be interested in helping with
the Scire project?
http://www.gentoo.org/proj/en/scire/
and
http://agaffney.org/mediawiki/index.php/Main_Page
-Codeman
--
gentoo-dev@gentoo.org mailing list



[gentoo-dev] GeNUS : how I currently manage my gentoo network (200+ machines)

2006-10-21 Thread Hubert Mercier

Hi,

When I recently officially joined the Gentoo Project, I had the idea 
to share a part of my work, in the way of a scripts set I've been 
working on for more than 2 years now, which I called GeNUS (Gentoo 
Network Update System).


My lab and teaching department massively used Linux for 4 years now, 
and, since september 2004, I only use Gentoo on students computers. This 
means, more than 200 computers, located on different and distant sites, 
using VLANs. To deal with these machines, I had to create a set of 
scripts to help me install / remove / update / reconfigure machines, 
without leaving my cumfortable chair ;). I'll try to explain how it 
currently works...


I use a webserver to push software updates. On this server we can find 
a machine map : in fact a simple text file, containing one line per 
machine. Each machine (=client) is identified by its MAC address (easily 
extracted from the DHCP configuration). Each of these addresses is 
followed by one or more keywords, representing the scripts sets to 
apply on the client config (I currently use one scripts set per hardware 
architecture, to apply hardware configs, and another one per software 
profile). For each of these keyworks, the client downloads another 
file, called update list (.ul files). Each update list file contains 
the url of a few update scripts, which are to be ran on the client, to 
effectively install / remove software, etc... Of course, the client 
keeps a record of each update, in order not to re-run the same procedures.


To prepare the packages deployment, I use portage' hability to download 
and use binary packages : all my packages are pre-compiled on a staging 
machine, and then binary packages are created. This way, I save a lot of 
power (good for my planet), and a lot of time too (good for my users, 
and, consequently, for me :P).


GeNUS is launched at boot-time, using the local Gentoo service, and 
has an integrated auto-update procedure. It is actually written in bash, 
sometimes with a clean code, sometimes with a less clean code, and it 
would probably need to be re-written more efficiently. I would be glad 
to help to course.


Since this work saved me a lot of work / time / money in the past two 
years, I thought maybe it could help others. Just let me know if we 
could do something with this, if it sounds usefull/less to you, etc...


Cheers,

Hubert

--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] GeNUS : how I currently manage my gentoo network (200+ machines)

2006-10-21 Thread Alin Nastac
Hubert Mercier wrote:
 Since this work saved me a lot of work / time / money in the past two
 years, I thought maybe it could help others. Just let me know if we
 could do something with this, if it sounds usefull/less to you, etc...
Sounds pretty useful to me  :-P



signature.asc
Description: OpenPGP digital signature