Skip to content
Snippets Groups Projects
thijs snijder's avatar
Taya Snijder authored
Merge branch 'master' of https://git.astron.nl/lofar2.0/tango into L2SS-399_12-10-2021_add_statistics_writer_reconnect
b1330998
History

Tango Station Control

Station Control software related to Tango devices.

Installation

Prerequisites

After checking out this repo, be sure to also check out the submodules:

git submodule init
git submodule update

You will also need:

  • docker
  • docker-compose
  • make
  • bash

Bootstrap

The bootstrap procedure is needed only once. First we build all docker containers, and load the initial configuration. This may take a while:

cd docker-compose
make bootstrap

If you lack access to LOFAR station hardware, configure the devices to use their simulators instead:

for sim in ../CDB/*-sim-config.json; do
  ../sbin/update_ConfigDb.sh ../CDB${sim}-config.json
done

Now we can start all containers, and make sure everything is up:

make start
make status

If not, you can inspect why with docker logs <container>. The containers will automatically be restarted on reboot or failure. Stop them explicitly to bring them down (make stop <container>).

Most notably, you will have web interfaces available at http://localhost:8888 (Jupyter Notebook), and http://localhost:3000 (Grafana).