Confirmed users
4,293
edits
(Fix dev-master1 hostname) |
|||
| Line 82: | Line 82: | ||
= Customize your configs = | = Customize your configs = | ||
* In <code>master/master_config.json</code>, adjust ports for <code> | * In <code>master/master_config.json</code>, adjust ports for <code>pb_port</code>, <code>http_port</code> & <code>ssh_port</code> | ||
** Check [http://slavealloc.build.mozilla.org/ui/#masters slavealloc] to see what ports are in use by others. Search for 'staging-pers' and be sure to Show all Entries. | ** Check [http://slavealloc.build.mozilla.org/ui/#masters slavealloc] to see what ports are in use by others. Search for 'staging-pers' and be sure to Show all Entries. | ||
** Try to use similar ports, i.e. if you choose 9099 for | ** Try to use similar ports, i.e. if you choose 9099 for pb_port, use 8099 for your http_port and 7099 for your ssh_port. | ||
* Consider [[#Optimizations|optimizing the number of branches]] you're running. | * Consider [[#Optimizations|optimizing the number of branches]] you're running. | ||
| Line 101: | Line 101: | ||
* or (newer) <tt>master/master_config.json</tt> to add the line: | * or (newer) <tt>master/master_config.json</tt> to add the line: | ||
"queuedir": "/dev/shm/${WHO}/queue" | "queuedir": "/dev/shm/${WHO}/queue" | ||
= Does it work? = | = Does it work? = | ||
* If you want production schedulers to run, then "<tt>cd $BASEDIR/master; ln -sf ../buildbot-configs/mozilla/universal_master_sqlite.cfg master.cfg; cd -</tt>" (build master) or "<tt>cd $BASEDIR/master; ln -sf ../buildbot-configs/mozilla-tests/universal_master_sqlite.cfg master.cfg; cd -</tt>" (tests master). <small>Note: the default scheduler <code>builder_master.cfg</code> is usually fine.</small> | * If you want production schedulers to run, then "<tt>cd $BASEDIR/master; ln -sf ../buildbot-configs/mozilla/universal_master_sqlite.cfg master.cfg; cd -</tt>" (build master) or "<tt>cd $BASEDIR/master; ln -sf ../buildbot-configs/mozilla-tests/universal_master_sqlite.cfg master.cfg; cd -</tt>" (tests master). <small>Note: the default scheduler <code>builder_master.cfg</code> is usually fine.</small> | ||