canmove, Confirmed users
1,394
edits
No edit summary |
|||
| Line 46: | Line 46: | ||
== Deployment == | == Deployment == | ||
The slave allocator server is deployed on a single host, <tt>slavealloc.build.mozilla.org</tt>. | |||
=== Server Setup === | |||
IT installed RHEL6 along with MySQL client libraries, and set up the proper firewall rules to allow database access. | |||
As root, virtualenv-1.5.2 was installed into the system Python library. The following system packages were installed via yum: | |||
* hg | |||
* MySQL-python | |||
=== Twisted Daemon === | |||
The 'slavealloc' user runs the twisted daemon on this host. The user account is locked and accessed only via su from root. | |||
The daemon is installed in a virtualenv at <tt>/tools/slavealloc-$rev</tt>, using the pre-checked python packages on the puppet server: | |||
cd /tools | |||
virtualenv --no-site-packages slavealloc-8fe4dbc09d03 | |||
/slavealloc-8fe4dbc09d03/bin/pip install -e hg+http://hg.mozilla.org/build/tools@8fe4dbc09d03#egg=tools \ | |||
--no-index --find-links=http://staging-puppet.build.mozilla.org/staging/python-packages/ | |||
== External Resources == | == External Resources == | ||