Skip to content

LinuxSlave

Jonathan Guyer edited this page Sep 26, 2014 · 1 revision

Configuring a Linux Bitten Slave

These steps should enable a Bitten slave on Linux for building and testing FiPy.

 * [http://www.ctcms.nist.gov/fipy/Installation Install FiPy] and all prerequisites
 * Install the same version of bitten as the master (very important)
 * Test the Bitten slave 
 * Start the Bitten slave in an appropriate (non-`root`) account
 where attachment:bitten.sh and attachment:bitten.conf are assumed to be in `${HOME}/bitten/`.
 * Add a (non-`root`) `cron` job to keep the Bitten slave alive
  where "`/path/to/bitten.sh`" is the path to wherever you place attachment:bitten.sh 
 * The `bitten-slave` can get into some sort of incoherent state if the master goes down. Killing it at night and letting a new one start up seems to be helpful. Add a script like this. Call it `bitten-kill.sh`
 * And add to the crontab (`crontab -e`)
Clone this wiki locally