Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This repository contains scripts, configuration files and services for the project (Cluster with Raspberry Pi). You can find more information about the project on


  • Configuration files for
    • dnsmasq
    • Apache (vhosts)
    • snmpd
  • Ansible playbooks
  • Welcome page
  • Documentation as Jekyll Project (source for
  • Raspidog (Monitoring Tools)


Ansible for the Ansible stuff (Installing Master and Slaves)

Download this repo to your master node

Login as farmer, change to the home directory and clone this project:

cd ~
git clone ~/raspifarm/

It's important that the checked out content goes into ~/raspifarm !

Ansible Playbooks

Install master node

Login with farmer user, run the master playbook

ansible-playbook -i ~/raspifarm/ansible/raspifarm-inventory ~/raspifarm/ansible/playbooks/raspifarm-master-essentials.yml

This will install and/or configure

  • RubyGems
  • dnsmasq
  • Apache HTTPD
  • nodejs
    • npm (package manager for node.js)
    • pm2 (process manager for node.js, used for raspidog)
  • Raspidog

Install slave nodes

Login with farmer user, run the slaves playbook

ansible-playbook -i ~/raspifarm/ansible/raspifarm-inventory ~/raspifarm/ansible/playbooks/raspifarm-slaves-essentials.yml

This will install and/or configure on all slave nodes



In order to use the Intranet you have to use as your DNS-server.

Find all webservices on http://start.raspifarm

Service URL Address without URL
Startpage *.raspifarm none
Raspidog dog.raspifarm
JupyterHub jupyterhub.raspifarm


For the monitoring tool, SNMPD has to be installed on the slaves (see "Install slave nodes" above).
Basically, the URL http://dog.raspifarm should be available after installing the master-essentials with Ansible (see above). pm2 is supposed to start the node server automatically. If the URL does not work, try the following:

cd ~/raspifarm/public/raspidog/
node ./raspidog.js

Then open If this works, abort the process and check if raspidog-server is running in pm2:

pm2 status

If not, try start it with:

pm2 start ~/raspifarm/public/raspidog/raspidog.js


JupyterHub has to started manually in a seperate console:

sudo jupyterhub --no-ssl --port 8000

After that it should be reachable at or http://jupyterhub.raspifarm

You can’t perform that action at this time.