ReleaseEngineering/How To/Add a slave to slavealloc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(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 ...")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Release Engineering How To|Add a slave to slavealloc}}
This info has been moved to [[ReleaseEngineering:Buildduty:Slave_Management#Slavealloc]]
 
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
<pre>
/tools/slavealloc/bin/slavealloc dbimport -D $db_url --slave-data mydata.csv
</pre>
 
where $db_url is most easily found in slavealloc's shell history.  The CSV file should have the headers specified by 'slavealloc dbimport --help':
<pre>
name,basedir,distro,bitlength,purpose,datacenter,trustlevel,speed,environment,pool
</pre>
 
Adding masters is similar - see dbimport's help for more information.

Latest revision as of 22:12, 11 November 2013