Actions
MLCR Deployment » History » Revision 21
« Previous |
Revision 21/42
(diff)
| Next »
Rogers, Chris, 06 June 2013 11:01
MLCR Deployment¶
There are three installations of MAUS in the MICE Local Control Room:
- The current version
.maus_release
(bound to lp:maus) - The previous version
.maus_release_old
(bound to lp:maus) - A development copy
.maus_control-room
(bound to lp:~maus-mlcr/maus/control-room/)
The current and previous version are updated by leapfrogging; at the moment only the control-room version is used for online reconstruction, the control room stuff was never merged into the trunk. Note that versions are in hidden folders (prefixed by '.'). To see them do
ls -hThere is a soft link that points to the "default" version (for use by shifters). This should usually point at the current version
.maus_release
.
New version of main MAUS release¶
To update to a new version:
- Let MOM know what you are doing
- First move the current MAUS install onto the fall back release
mv .maus_release_old .maus_release_old_
mv .maus_release .maus_release_old
- Reconfigure the old install
cd .maus_release_old; ./configure; source env.sh
- Check it is okay
bash tests/unit_tests.bash; bash tests/application_tests.bash
- Next get the current MAUS release copy (or a version as specified by MAUS experts)
- Do
bzr checkout lp:maus .maus_release
- Build the code
cd .maus_release; ./install_build_test.bash
- Run the integration tests
bash tests/application_tests.bash >& test.log
- Check that the online libraries are running okay
python python tests/integration/test_distributed_processing/_test_online_okay.py
- Run
tests/integration/test_analyze_data_online/test_analyze_data_online.py
. Bring up a browser and look at pretty plots. - Check that the integration tests passed; check that analyze_data_online and test_multi_vs_single_threaded tests did not skip.
- Do
- Check for changes in power cycle procedure Onrec_power_cycle_procedure or shifter instructions
- Check the updated installation functions correctly by following the shifter instructions
- A cosmics run is ideal
- Remove the old old release
rm -rf .maus_release_old_
- Add a note in the ELog
- Email MOGUL head and MOM to let them know that something changed
New version of control room branch¶
To update the control room branch
- Let MOM know what you are doing and MAUS online person.
- cd MAUS/.maus_control_room
bzr update
./install_build_test.bash
- Run whatever tests you want
Apache server (Not used)¶
If you want to use the Apache web server, then:
- Configure the web server,
cd /home/mice/MAUS.new/maus-apps ./configure rm -rf media/thumbs/* rm -rf media/raw/*
- As super user, restart Apache,
/usr/local/apache2/bin/apachectl restart
- Check the logs,
more /usr/local/apache2/logs/error_log
- You should see something like,
[Mon Mar 12 12:41:16 2012] [notice] Apache/2.2.22 (Unix) mod_wsgi/3.3 Python/2.7.2 configured -- resuming normal operations
- If you get a warning like,
httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
- Then unset
MAUS_ROOT_DIR
and try again:unset MAUS_ROOT_DIR /usr/local/apache2/bin/apachectl restart
- Then unset
Updated by Rogers, Chris almost 9 years ago · 21 revisions