User Tools

Site Tools


evn:feedbacktools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
evn:feedbacktools [2019/01/14 14:27] โ€“ added more info on session page generation jayevn:feedbacktools [2019/02/13 15:28] (current) โ€“ [Mattermost] jay
Line 1: Line 1:
-====Feedback Tools====+======Feedback Tools======
 This page contains information on how to manage and maintain the tools used for feedback both from, and to stations. These consist of three main parts: This page contains information on how to manage and maintain the tools used for feedback both from, and to stations. These consist of three main parts:
  
-===The Session Feedback Page and Database===+=====The Session Feedback Page and Database=====
 [[http://old.evlbi.org/session/feedback.html|The session feedback page exists here]] and must be generated for each session.\\ [[http://old.evlbi.org/session/feedback.html|The session feedback page exists here]] and must be generated for each session.\\
 To do so log into dop88 as jive and go to the session directory (for the jive password see Bob): To do so log into dop88 as jive and go to the session directory (for the jive password see Bob):
Line 78: Line 78:
 ./makesess mmmyy blockyy_#.asc ./makesess mmmyy blockyy_#.asc
 </code> </code>
 +
 +=====Feedbackplots=====
 +[[http://evlbi.org/feedbackplots/login|The "feedbackplots" web page]] provides both ampcal information and a searchable database of feedback from both station submissions and support scientist written PI letters.
 +This page is behind a login to prevent vandalism. All JIVE staff should know (or know how to find) this login information so ask anyone if you need it.\\
 +It runs on grafana connecting to a mysql database.
 +The grafana server is written in go and lives on dop288 in:
 +<code bash>
 +/export/jive/jops/feedbackplots
 +</code>
 +It can be started manually by simply running 
 +<code bash>
 +/export/jive/jops/feedbackplots/bin/grafana-server
 +</code>
 +However it should start automatically on all reboots due to the following crontab (as jops user):
 +<code bash>
 +jops@dop288:~/feedbackplots> crontab -el
 +MAILTO=blanchard@jive.eu
 +@reboot sleep 60 && cd ~/feedbackplots/ && screen -d -m  bin/grafana-server
 +</code>
 +The database server used is db0 and the database is called "ampcal" containing two tables: "ampcal" and "feedback" for the ampcal and feedback information respectively.\\
 +This database is fed by three scripts:
 +<code>
 +ampcal.sh
 +</code>
 +Lives on pipe (jop83) and takes the self calibration data from the pipeline to record amplitude calibration values per station.
 +<code bash>
 +www/evlbi.org/feedback/jivefbe.php
 +</code>
 +This is the script used by the feedback website to allow stations to enter feedback for each experiment. Inserts data into both old style "flat" text files and the db0 database.
 +<code>
 +parsePIletter.py
 +</code>
 +Lives on eee2 and parses the piletter written by support scientists, adding further feedback to the database.
 +
 +=====Mattermost=====
 +[[http://coms.evlbi.org|Mattermost]] is the communications tool hosted by JIVE used for chats within the EVN.\\
 +It is hosted on a virtual machine with hostname:coms.evlbi.org\\
 +Mattermost is installed as a service and can be administered by logging in to coms.evlbi.org as user coms:
 +<code bash>
 +ssh coms@coms.evlbi.org
 +service mattermost status
 +</code>
 +
 +Sometimes nginx (the webserver) tries to come back up too quickly after a network outage and will have to be manually restarted:
 +<code bash>
 +ssh coms@coms.evlbi.org
 +sudo  service nginx status
 +โ— nginx.service - A high performance web server and a reverse proxy server
 +   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
 +   Active: failed (Result: exit-code) since Fri 2019-01-18 12:57:59 CET; 2h 9min ago
 +sudo service nginx restart
 +</code>
 +The actual mattermost executables and files are stored in /opt/mattermost
 +\\
 +The mattermost database is backed up to ~jops/mmbackup/ every day
 +
evn/feedbacktools.1547476023.txt.gz ยท Last modified: 2019/01/14 14:27 by jay