Project

General

Profile

March 2016 LArIAT S3 Notes » History » Version 3

Kurt Biery, 03/27/2016 05:05 PM

1 1 Kurt Biery
h1. March 2016 LArIAT S3 Notes
2 1 Kurt Biery
3 1 Kurt Biery
Setting up the Snapshot Service running on lariat-wbm.fnal.gov...  (25-Mar-2016, KAB)
4 1 Kurt Biery
5 2 Kurt Biery
From the _root_ account:
6 1 Kurt Biery
* 'chown tomcat.tomcat /opt/if-wbm/webapps'
7 1 Kurt Biery
* 'mkdir /scratch/wbm-support-tomcat/s3-images'
8 1 Kurt Biery
* 'chown tomcat.tomcat /scratch/wbm-support-tomcat/s3-images'
9 1 Kurt Biery
* added "JkMount /snapshot/* ajp13" to /etc/httpd/conf/httpd.conf
10 1 Kurt Biery
* 'apachectl -k graceful'
11 1 Kurt Biery
12 2 Kurt Biery
From the _tomcat_ account:
13 1 Kurt Biery
* 'cd /opt/wbm-support-tomcat/webapps/'
14 1 Kurt Biery
* 'tar -xvf ~/snapshotWebapp_v1.6b2_java1.7.0_67.tar.gz'
15 2 Kurt Biery
* made copies of SnapshotProducer.jnlp and ProducerAccess.xml in /opt/wbm-support-tomcat/webapps/snapshot/internal using the ".raw" template files in the same directory and modified these files for use on lariat-wbm and only allow access from 131.225.*.* producers
16 2 Kurt Biery
* modified the ShowImageList.jsp file in /opt/wbm-support-tomcat/webapps/snapshot to avoid the compiler error when using Comparator - this means that the list of thumbnails may not be sorted by name *(TODO - fix this in a better way)*
17 2 Kurt Biery
18 3 Kurt Biery
*NOTE*: at the moment, the S3 images directory is still under $TOMCAT_WEBAPPS, which is on the root disk partition that only has 16 GB total.  I tried various methods to get Tomcat to allow us to use a symbolic link to put the images on the /scratch disk, but none of those seemed to work.  (The methods that I tried included webapps/snapshot/META-INF, conf/context.xml, and conf/server.xml)  *TODO - move the images directory*