SMC - Installing software on Glomations - Experts Only¶
- Table of contents
- SMC - Installing software on Glomations - Experts Only
- Simple replacement of one slow controls rack monitoring "Glomation" box with another:
- Installing and updating the EPICS software and configuration files
- Installing standard Debian packages using apt-get
Simple replacement of one slow controls rack monitoring "Glomation" box with another:¶
In case of simply moving an already fully configured Glomation from one rack to another, or from spares (if we have any), then it should be sufficient to just change the contents of the file RACK in the home directory of the Glomation box. For example, if rack monitor box #4 is already configured for PM02, and we want to move it to the CRT2 rack, first login to the appropriate box as
Note that the last two digits correspond to the box number; the rest will be the same for every box. The password is the secure storage password (found on the E-log) followed by "uboonedaq" (without quotes). Then, simply change the RACK file to say "CRT2". A list of valid racks is kept in the RACKMAP file in source:projects/slowmoncon/rackmon_tools/rackmonupdater/RACKMAP. (See https://cdcvs.fnal.gov/redmine/projects/uboone-operations/wiki/SLC_-_Experts_Only#Rackmon-Glomation-boxes for a very small number of details --- needs to be expanded, I know.)
If you do this, please also edit RACKMAP in git and commit the change. Also, change the listed location of the box on the IP Standards page: https://cdcvs.fnal.gov/redmine/projects/uboonedaq/wiki/IPStandards_at_LArTF. Scroll down to the "Assigned IP address list and devices" table and update the location of the Glomation box. If you're unable to edit Wiki pages, ask the RunCo's to add you as an editor.
Installing and updating the EPICS software and configuration files¶
Scripts for initial configuration of the Glomations are in the git repository: see https://cdcvs.fnal.gov/redmine/projects/uboonedaq/repository/revisions/master/show/projects/slowmoncon/glomation_scripts
Scripts for updating Glomations already in service are also in the git repository: see https://cdcvs.fnal.gov/redmine/projects/uboonedaq/repository/revisions/master/show/projects/slowmoncon/rackmon_tools/rackmon_updater
More documentation should be added here. For now, hopefully the README files in the above directories are enough. If not, contact Andrzej for the initial config, Glenn for the updating.
Installing standard Debian packages using apt-get¶
Using apt-get on a Glomation outside the LArTF network¶
In this case, all you have to do is get it on a network with access to the internet and use
Exception: if you get an error about not being able to contact mirror.anl.gov, that is because mirror.anl.gov has ceased operation.
You need to edit
/etc/apt/sources.list.d/multistrap-debian.listand change it to readdeb [arch=armel] http://http.us.debian.org/debian wheezy main
Using apt-get on a Glomation on the LArTF private network¶
The LArTF private network 192.168.144.x has no gateway to the outside world. You need to create a proxy. Do this as follows.
1. Make sure that
deb [arch=armel] http://http.us.debian.org/debian wheezy main . (See above.)
2. Create a file named
/etc/apt/apt.conf.d/02httpproxy containing the following line:
3. Run an http proxy server on ubdaq-prod-smc that accepts connections on port 8080.
We don't have a proxy server officially installed, but you can usepython ~gahs/opt/PythonProxy/PythonProxy_any.py
and it will work. You can kill it when you're done updating.