Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dragnet:system_software [2017-06-01 14:18] – created: heading + long item list of system software and settings changes not in ansible/cobbler git repo amesfoort | dragnet:system_software [2017-08-18 01:04] (current) – [QPID Message Broker Config for Operations] clarify amesfoort | ||
---|---|---|---|
Line 3: | Line 3: | ||
All DRAGNET nodes were installed by Mike Sipior (ASTRON) with CentOS 7 using cobbler and ansible. The cobbler and ansible settings are available in a git repo on the dragnet headnode at ''/ | All DRAGNET nodes were installed by Mike Sipior (ASTRON) with CentOS 7 using cobbler and ansible. The cobbler and ansible settings are available in a git repo on the dragnet headnode at ''/ | ||
- | Many system software packages | + | Most changes |
- | Apart from /usr/local, most changes | + | Many system software packages |
- | ===== System | + | ===== LOFAR Builds ===== |
+ | LOFAR software builds on DRAGNET can be build+deployed and selected/ | ||
+ | * LOFAR-Dragnet-deploy.sh (takes ~15 mins) | ||
+ | * LOFAR-Dragnet-activate.sh (takes 10 s) | ||
+ | Normally, these scripts are kicked off via [[https:// | ||
+ | As described in the scripts, these scripts can also be run from the command-line //as user lofarbuild// | ||
+ | Regardless of which branch or tag you build via Jenkins, the Jenkins jobs //always// svn export from the trunk!\\ | ||
+ | |||
+ | The LOFAR package built on DRAGNET is named '' | ||
+ | |||
+ | Any LOFAR build on DRAGNET depends heavily on many dependencies, | ||
+ | |||
+ | We only have '' | ||
+ | |||
+ | Fixing LOFAR builds is thus often a matter of small commits to the config files and/or dependent software upgrades on DRAGNET, instead of fixing the deploy script. One deploy script caveat is that it assumes all DRAGNET nodes are working... | ||
+ | |||
+ | |||
+ | ===== Other Packages installed by Alexander ===== | ||
+ | Many packages installed by Alexander on DRAGNET have a ''/ | ||
+ | |||
+ | |||
+ | ===== QPID Message Broker | ||
+ | To keep this rather complex config beast as low profile as possible on DRAGNET, this is only set up on DRAGNET to facilitate observation feedback flowing back to Observatory systems | ||
+ | |||
+ | To use [[operator: | ||
+ | |||
+ | QPID is going to be used more and more, e.g. also for user ingest. | ||
+ | |||
+ | Reinoud (and Jan David) are the people to debug qpid trouble with. | ||
+ | |||
+ | |||
+ | === QPID Config for Feedback === | ||
+ | On DRAGNET, I created 3 queues on each node (twice, once for operations and once for the test system), and routes from all nodes to the head node, and from the head node to ccu001 (operations) and ccu199 (test).\\ | ||
+ | See **/ | ||
+ | |||
+ | Overview on a node (1st queue with pseudo-random name is from the viewing operation itself): | ||
+ | [amesfoort@dragnet ~]$ qpid-stat -q | ||
+ | Queues | ||
+ | queue | ||
+ | ========================================================================================================================= | ||
+ | a1fe3b70-1595-4e4d-9313-8d1706861ba0: | ||
+ | lofar.task.feedback.dataproducts | ||
+ | lofar.task.feedback.processing | ||
+ | lofar.task.feedback.state | ||
+ | test.lofar.task.feedback.dataproducts | ||
+ | test.lofar.task.feedback.processing | ||
+ | test.lofar.task.feedback.state | ||
+ | |||
+ | Overview of all routes //to// the '' | ||
+ | [amesfoort@dragnet ~]$ qpid-route route list | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | [...] | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | dragnet: | ||
+ | |||
+ | |||
+ | ===== System Config Changes ===== | ||
+ | On top of git repo with ansible/ | ||
+ | |||
+ | ==== Crontab ==== | ||
+ | === casacore measures tables === | ||
+ | On host '' | ||
+ | This auto-updates the casacore measures tables with info on observatories, | ||
+ | [amesfoort@dragnet ~]$ sudo crontab -u lofarsys -l | ||
+ | 0 4 * * 1 / | ||
+ | |||
+ | === resourcetool === | ||
+ | On any host but '' | ||
+ | This auto-updates storage claim end times in the Observatory' | ||
+ | [amesfoort@any_but_dragnet ~]$ sudo crontab -u lofarsys -l | ||
+ | 1,21,41 * * * * source / | ||
+ | |||
+ | ==== /etc ==== | ||
+ | Apply ''/ | ||
+ | |||
+ | ==== Other ==== | ||
< | < | ||
newgrp dragnet | newgrp dragnet | ||
Line 38: | Line 130: | ||
nethogs | nethogs | ||
erfa-devel | erfa-devel | ||
+ | armadillo-devel | ||
python-astropy | python-astropy | ||
python-jinja2 | python-jinja2 | ||
python-daemon | python-daemon | ||
python-matplotlib-qt4 | python-matplotlib-qt4 | ||
+ | python-psycopg2 mysql-connector-python PyGreSQL | ||
+ | python2-mock | ||
qpid-cpp-server-linearstore | qpid-cpp-server-linearstore | ||
patch | patch | ||
Line 93: | Line 188: | ||
librdmacm-devel | librdmacm-devel | ||
mstflint | mstflint | ||
+ | |||
+ | # Python packages N/A in CentOS package manager; use pip install | ||
+ | python-monetdb | ||
+ | xmlrunner | ||
+ | |||
/ | / | ||
Line 143: | Line 243: | ||
systemctl start NetworkManager-dispatcher.service | systemctl start NetworkManager-dispatcher.service | ||
- | Correct table example drg16: | + | Correct table example drg16 (except that CEP2 routes and sub-tables can now be removed): |
[amesfoort@drg16 network-scripts]$ ip ru | [amesfoort@drg16 network-scripts]$ ip ru | ||
0: from all lookup local | 0: from all lookup local | ||
Line 194: | Line 294: | ||
install pkgs from ~/pkg such as log4cplus, ... | install pkgs from ~/pkg such as log4cplus, ... | ||
- | add / | + | add changed |
/ | / | ||
Line 211: | Line 311: | ||
sudo systemctl restart qpidd | sudo systemctl restart qpidd | ||
(& check if systemctl enable qpidd (and start qpidd) are indeed in ansible) | (& check if systemctl enable qpidd (and start qpidd) are indeed in ansible) | ||
- | |||
- | add LofarObservationStartListener.service ? | ||
added routing table entries for drg*, dragproc in ansible | added routing table entries for drg*, dragproc in ansible | ||
- | |||
- | add michilli and mariaarias to dragnet group | ||
----- | ----- | ||
- | for lustre mount cep4 (drg nodes only (need ib atm), further install by hand atm (need rpm rebuild from src rpm)): | + | for lustre mount cep4 (drg nodes only (need ib atm), further install by hand atm (need rpm rebuild from src rpm)). On all drgXX nodes: |
# create / | # create / | ||
options lnet networks=o2ib(ib0) | options lnet networks=o2ib(ib0) | ||
+ | |||
+ | # create/ | ||
+ | #comment out any ' | ||
+ | options ko2iblnd peer_credits=128 peer_credits_hiw=64 credits=2048 concurrent_sends=256 ntx=2048 map_on_demand=32 fmr_pool_size=2048 fmr_flush_trigger=512 fmr_cache=1 | ||
+ | # optional: | ||
+ | install ko2iblnd / | ||
+ | |||
+ | # create mount point as root: | ||
+ | mkdir -p /cep4data | ||
# append to /etc/fstab | # append to /etc/fstab | ||
meta01.cep4.infiniband.lofar@o2ib: | meta01.cep4.infiniband.lofar@o2ib: | ||
- | mkdir -p /cep4data | ||
----- | ----- | ||