ReleaseEngineering/How To/Add a slave to slavealloc
< ReleaseEngineering | How To
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.