evn:feedbacktools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
evn:feedbacktools [2019/01/14 14:27] – added more info on session page generation 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 78: | Line 78: | ||
./makesess mmmyy blockyy_# | ./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.1547476023.txt.gz · Last modified: 2019/01/14 14:27 by jay