User:Bhearsum/Master Setup

From MozillaWiki
Jump to: navigation, search

This page describes how to set-up a new Buildbot Master.

OS

  • Install glibc-2.5-42.el5_4.3 (CentOS 5.0 only)

The Master Instance

First, to get the master directory prepped and cronjobs set-up, do this on the machine:

# cltbld@wherever
BASEDIR=/builds/buildbot/my_master
MASTER_NAME=my_master_name # Must be one from ./setup-master.py -8 -l
PYTHON=/tools/python-2.6.5/bin/python
VIRTUALENV=/tools/python-2.6.5/bin/virtualenv
HG=/tools/python-2.6.5/bin/hg
hg clone http://hg.mozilla.org/build/buildbot-configs
cd buildbot-configs
make -f Makefile.setup all BASEDIR=$BASEDIR MASTER_NAME=$MASTER_NAME VIRTUALENV=$VIRTUALENV PYTHON=$PYTHON HG=$HG

Then, update whatever files the Makefile instructs you too with correct passwords, descriptions, etc.

Support files, Wikis

Update production-masters.json in tools and the master list, if appropriate

IT-related things

  • Nagios
    • PING
    • Swap
    • avg load
    • buildbot
    • disk - /
    • disk - /builds
  • Mysql access to the DB server
  • Add master to Tinderbox whitelist

SSH Keys

  • Copy production ssh keys (for ffxbld and trybld) to ~/.ssh.
  • Make sure you can ssh to ffxbld@dm-pvtbuild01.mozilla.org and ffxbld@stage.mozilla.org

Other

  • Make sure NTP is running!