evn:feedbacktools
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| evn:feedbacktools [2019/01/14 14:20] โ created jay | evn: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:// | [[http:// | ||
| 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 9: | Line 9: | ||
| cd / | cd / | ||
| </ | </ | ||
| + | Then create the block session file (filename format is blockyy_sessionNumber). A tool has been made to assist you with this called schparse.py. It will read the latest block schedule on the web and attempt to create a block session file for you. You should make sure to check and edit this file by hand. | ||
| + | <code bash> | ||
| + | ./ | ||
| + | emacs/ | ||
| + | </ | ||
| + | Here is an example file from session 3 2018: | ||
| + | < | ||
| + | EVN-SCHEDULE SESSION 3/2018 | ||
| + | |||
| + | PART 1 = 6 cm | ||
| + | =============== | ||
| + | |||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | 6 | ||
| + | |||
| + | PART 2 = 3.6/13 cm | ||
| + | =============== | ||
| + | |||
| + | 3.6 JIVE N18SX2 | ||
| + | 3.6 Titov | ||
| + | 3.6 Gunn CL18X2 | ||
| + | 3.6 Schulz | ||
| + | 3.6 Panessa | ||
| + | 3.6 Bietenholz | ||
| + | 3.6 Bietenholz | ||
| + | |||
| + | PART 3 = 18 cm | ||
| + | =============== | ||
| + | |||
| + | 18 JIVE N18L3 | ||
| + | 18 Polatidis | ||
| + | 18 Polatidis | ||
| + | 18 Gunn EP106E | ||
| + | 18 Tarchi | ||
| + | 18 Polatidis | ||
| + | 18 Marcote | ||
| + | 18 JIVE EP111C | ||
| + | 18 Gunn EM133C | ||
| + | |||
| + | PART 4 = 1.3/0.7 cm | ||
| + | =============== | ||
| + | |||
| + | 1.3 Schulz | ||
| + | 1.3 Tarchi | ||
| + | 1.3 Panessa | ||
| + | 1.3 Bach ET038G | ||
| + | 1.3 Bach EP113B | ||
| + | 1.3 Tarchi | ||
| + | 1.3 Bach FR051 | ||
| + | 1.3 | ||
| + | 1.3 | ||
| + | </ | ||
| + | Note the blank lines at the bottom. In this case the PI names have been shifted up and need to be manually reordered. | ||
| + | |||
| + | Finally run makesess to generate the actual html files: | ||
| + | <code bash> | ||
| + | ./makesess mmmyy blockyy_# | ||
| + | </ | ||
| + | |||
| + | =====Feedbackplots===== | ||
| + | [[http:// | ||
| + | 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> | ||
| + | / | ||
| + | </ | ||
| + | It can be started manually by simply running | ||
| + | <code bash> | ||
| + | / | ||
| + | </ | ||
| + | However it should start automatically on all reboots due to the following crontab (as jops user): | ||
| + | <code bash> | ||
| + | jops@dop288: | ||
| + | MAILTO=blanchard@jive.eu | ||
| + | @reboot sleep 60 && cd ~/ | ||
| + | </ | ||
| + | The database server used is db0 and the database is called " | ||
| + | This database is fed by three scripts: | ||
| + | < | ||
| + | ampcal.sh | ||
| + | </ | ||
| + | Lives on pipe (jop83) and takes the self calibration data from the pipeline to record amplitude calibration values per station. | ||
| + | <code bash> | ||
| + | www/ | ||
| + | </ | ||
| + | This is the script used by the feedback website to allow stations to enter feedback for each experiment. Inserts data into both old style " | ||
| + | < | ||
| + | parsePIletter.py | ||
| + | </ | ||
| + | Lives on eee2 and parses the piletter written by support scientists, adding further feedback to the database. | ||
| + | |||
| + | =====Mattermost===== | ||
| + | [[http:// | ||
| + | It is hosted on a virtual machine with hostname: | ||
| + | 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 | ||
| + | </ | ||
| + | |||
| + | 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 | ||
| + | | ||
| + | | ||
| + | sudo service nginx restart | ||
| + | </ | ||
| + | The actual mattermost executables and files are stored in / | ||
| + | \\ | ||
| + | The mattermost database is backed up to ~jops/ | ||
| + | |||
evn/feedbacktools.1547475650.txt.gz ยท Last modified: 2019/01/14 14:20 by jay