Skip to content

m6schedulemon.py

HelgeRottmann edited this page Apr 24, 2018 · 1 revision

Tools

m6schedulemon.py

m6schedulemon.py is a tool for monitoring the recording state of a Mark6 recorder. It also validates the current Mark6 setup and configuration and will alert the user in case of inconsitencies found.

Usage: m6schedulemon.py {recorder} {path-to-xml-schedule}

Note: m6schedulemon.py does not start the schedule but only monitors its progress.

The script can be started at any time prior or after execution of the schedule.

Installation: on the EHT control computer: mkdir and cd to an {installation directory} e.g. /home/oper/src

git clone https://github.com/mpifr-vlbi/eht-tools/

git clone https://github.com/mpifr-vlbi/mark6-tools/

in /home/oper/.bashrc:

  • include {installation directory}/eht-tools in your PATH
  • include {installation directory}/mark6-tools/lib/mark6control in your PYTHONPATH

Behind the scenes

Apart from monitoring the schedule progres m6schedulemon.py checks the setup and state of the Mark6 recorder for the most common issues:

  • no input_streams have been defined yet
  • the number of disks discovered on a module by dplane is less than 8
  • the group is incomplete (forgot to turn the keys / or module was not properly discovered)
  • cplane / dplane are not running

Screenshots

to be done

Clone this wiki locally