ReleaseEngineering/How To/Add a slave to slavealloc

From MozillaWiki
< ReleaseEngineering‎ | How To
Revision as of 22:29, 6 July 2011 by Djmitche (talk | contribs) (Created page with "{{Release Engineering How To|Add a slave to slavealloc}} Slaves are added to slavealloc via the 'dbimport' subcommand of the 'slavealloc' command. This is generally run as the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Slaves are added to slavealloc via the 'dbimport' subcommand of the 'slavealloc' command. This is generally run as the slavealloc user on the slavealloc server, which is most easily accessed via su from root.

You'll want a command line something like

/tools/slavealloc/bin/slavealloc dbimport -D $db_url --slave-data mydata.csv

where $db_url is most easily found in slavealloc's shell history. The CSV file should have the headers specified by 'slavealloc dbimport --help':

name,basedir,distro,bitlength,purpose,datacenter,trustlevel,speed,environment,pool

Adding masters is similar - see dbimport's help for more information.