Project

General

Profile

Wiki » History » Version 22

Kurt Biery, 02/23/2017 11:39 AM

1 1 Kurt Biery
h1. Screen Snapshot Service
2 1 Kurt Biery
3 1 Kurt Biery
h2. Sample Installations
4 1 Kurt Biery
5 16 Kurt Biery
* "NOvA DAQ":http://novadaq-far-gateway-01.fnal.gov:8083/snapshot/ShowImageList.jsp
6 22 Kurt Biery
* "screensnapshot.fnal.gov":http://screensnapshot.fnal.gov/app/snapshot/ShowImageList.jsp
7 21 Kurt Biery
* "LArIAT WBM":http://lariat-wbm.fnal.gov/snapshot/ShowImageList.jsp
8 5 Kurt Biery
* "CMSWBM":http://cmswbm.web.cern.ch/cmswbm/snapshot/ShowImageList.jsp (password protected)
9 1 Kurt Biery
10 2 Kurt Biery
h2. Introduction
11 2 Kurt Biery
12 4 Kurt Biery
The Screen Snapshot Service is logically composed of three parts:
13 1 Kurt Biery
14 2 Kurt Biery
* Producers that periodically capture snapshots of a specified computer desktop and send the snapshots to a server.
15 2 Kurt Biery
* A server that receives the snapshots from the producers, converts them to image files in an easily accessible format, and serves them to consumers.
16 2 Kurt Biery
* Consumers that periodically fetch updated images from the server and display them to a user. 
17 1 Kurt Biery
18 1 Kurt Biery
In the initial version of the system, these pieces have the following implementations:
19 1 Kurt Biery
20 3 Kurt Biery
* The producer is a Java application that runs on the host that has the display(s) that are interesting to remote users. It is deployed with Java Web Start.
21 3 Kurt Biery
* The server is a web application that runs inside the Tomcat Java application server.
22 3 Kurt Biery
* The consumer is a combination of JSP pages and Javascript that are accessed with a web browser. 
23 1 Kurt Biery
24 3 Kurt Biery
h2. Downloads
25 1 Kurt Biery
26 9 Kurt Biery
Please see the "Files" area of this project for tar files with built versions of the Snapshot Service.
27 1 Kurt Biery
28 17 Kurt Biery
h2. Releases
29 17 Kurt Biery
30 18 Kurt Biery
* snapshotWebapp_v1.6b2_java1.7.0_67.tar.gz
31 18 Kurt Biery
** 26-March-2015
32 18 Kurt Biery
** Added exit confirmation and general tool-top text to the snapshot producer at the request of CMS.
33 18 Kurt Biery
* snapshotWebapp_v1.6b1_java1.7.0_67.tar.gz
34 18 Kurt Biery
** 29-Oct-2014
35 18 Kurt Biery
** Added the option to specify "controls=<on|off>&fittowindow=<on|off>" to the ShowImage.jsp URL to disable the controls and force the fit-to-window choice when running the snapshot client from a program, such as the large displays in the remote operations center.
36 18 Kurt Biery
* snapshotWebapp_v1.5b19_java1.7.0_67.tar.gz
37 18 Kurt Biery
** 10-Oct-2014
38 19 Kurt Biery
** Updated the version of Java used to compile the webapp and producer.
39 18 Kurt Biery
* snapshotWebapp_v1.5b18_java1.7.0_21.tar.gz
40 18 Kurt Biery
** 19-Sep-2014
41 19 Kurt Biery
** Updated the version of Java used to compile the webapp and producer.
42 18 Kurt Biery
43 3 Kurt Biery
h2. Instructions
44 1 Kurt Biery
45 17 Kurt Biery
As mentioned above, the snapshot server runs inside of Tomcat, and the snapshot producer runs using Java Web Start. As such, the first steps for installing the snapshot service boil down to installing Tomcat on your server PC and enabling Java Web Start on your producer hosts.  (We don't have instructions for those in this Wiki yet.)  After that, deploying the S3 webapp in Tomcat is mainly all that needs to be done.
46 1 Kurt Biery
47 17 Kurt Biery
The following Wiki pages may provide some useful information.  They are records of the steps that we used when installing S3 for LArIAT and NOvA.
48 17 Kurt Biery
* [[March 2016 LArIAT S3 Notes]]
49 17 Kurt Biery
* "October 2011 Notes":https://cdcvs.fnal.gov/redmine/projects/nova-daqcluster-ndos/wiki/Oct_2011_Notes_on_S3_deployment_and_Tomcat_restarts
50 17 Kurt Biery
* "May 2011 Notes":https://cdcvs.fnal.gov/redmine/projects/nova-daqcluster-ndos/wiki/May_2011_Notes_on_Installing_Tomcat_and_the_Screen_Snapshot_Service
51 17 Kurt Biery
52 17 Kurt Biery
The following links provide some older instructions for installing S3, and they don't go into details of Tomcat or Java installation.
53 17 Kurt Biery
54 11 Kurt Biery
[[Installation Instructions (Linux)]]
55 11 Kurt Biery
[[Tips for JWS on Windows]]
56 10 Kurt Biery
57 8 Kurt Biery
h2. Slides
58 1 Kurt Biery
59 1 Kurt Biery
* Introductory talk presented at the 08-May-2007 LAFS meeting: "PPT":https://cdcvs.fnal.gov/redmine/attachments/download/21389/S3_Intro_08May2007.ppt "PDF":https://cdcvs.fnal.gov/redmine/attachments/download/21390/S3_Intro_08May2007.pdf
60 10 Kurt Biery
* Diagram prepared for Alan's RT07 poster: "PPT":https://cdcvs.fnal.gov/redmine/attachments/download/21387/S3_Drawing.ppt "PDF":https://cdcvs.fnal.gov/redmine/attachments/download/21388/S3_Drawing.pdf
61 10 Kurt Biery
* Introductory talk presented at the 23-Jan-2007 SiTracker meeting: "PPT":https://cdcvs.fnal.gov/redmine/attachments/download/21385/S3_Intro_23Jan2007.ppt "PDF":https://cdcvs.fnal.gov/redmine/attachments/download/21386/S3_Intro_23Jan2007.pdf
62 12 Kurt Biery
63 12 Kurt Biery
h2. Read-only Access to the Git Repository
64 12 Kurt Biery
65 12 Kurt Biery
<code>git clone http://cdcvs.fnal.gov//projects/screen_snapshot_service</code>