A build farm update

Stefan (metze) Metzmacher metze at samba.org
Sat May 3 09:04:07 GMT 2008


Andrew Bartlett schrieb:
> On Fri, 2008-05-02 at 14:53 +0200, Stefan (metze) Metzmacher wrote:
>> Hi Andrew, hi Jelmer,
>>
>>> It also reduces the admin load, as adding machines to the right files,
>>> sending passwords and subscribing users the the mailing list is now
>>> automated. 
>> That sounds nice. So we're using sqlite3?
> 
> Yep.
> 
>> Can you explain how machines are added, removed, listed...
>> so that other people can extent this work or fix bugs...
> 
> There are a few new files in the build farm subversion repo.  
> 
> hostdb.pm contains the logic
> admin.pl is the script run to add/remove/enquire about hosts - it simply
> prompts to the terminal.  It generates the rsyncd.secrets and
> web/hosts.list files after each edit.
> 
> fill_db.pl is run every 2 mins from cron, to add new builds as they are
> found.
> 
> mail-dead-hosts.pl runs every day to mail hosts which have not reported
> in for a week.  It will repeat this mail every week after.  The initial
> run sent out a pile of mail, but this hopefully won't be repeated, once
> the long-dead machines are weeded out.
> 
> If you have ssh access to the build account, you must be on the mail
> alias for build too, as the admin script will send an e-mail out from
> this account with the new machine's password.  All mails are also BCC'ed
> to the build alias (we may make this alias a mailman list of it's own). 
> 
> Users are also automatically subscribed to the build-farmers mailing
> list when they join (again by means of a mail from the script).
> 
> In short, to add/remove machines, ssh to the build account on samba.org,
> cd master; ./admin.pl
> 
> I hope this helps.

Yes, thanks:-)

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080503/b8bb1b2f/signature.bin


More information about the samba-technical mailing list