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

Jump to navigation Jump to search
no edit summary
(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 ...")
 
No edit summary
Line 1: Line 1:
{{Release Engineering How To|Add a slave to slavealloc}}
This info has been moved to [[ReleaseEngineering:Buildduty#Adding_a_slave]]
 
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.
Confirmed users
3,990

edits

Navigation menu