|
|
| 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.
| |