Project

General

Profile

Wiki » History » Version 19

Kurt Biery, 03/27/2016 04:39 PM

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 5 Kurt Biery
* "CMSWBM":http://cmswbm.web.cern.ch/cmswbm/snapshot/ShowImageList.jsp (password protected)
7 1 Kurt Biery
8 2 Kurt Biery
h2. Introduction
9 2 Kurt Biery
10 4 Kurt Biery
The Screen Snapshot Service is logically composed of three parts:
11 1 Kurt Biery
12 2 Kurt Biery
* Producers that periodically capture snapshots of a specified computer desktop and send the snapshots to a server.
13 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.
14 2 Kurt Biery
* Consumers that periodically fetch updated images from the server and display them to a user. 
15 1 Kurt Biery
16 1 Kurt Biery
In the initial version of the system, these pieces have the following implementations:
17 1 Kurt Biery
18 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.
19 3 Kurt Biery
* The server is a web application that runs inside the Tomcat Java application server.
20 3 Kurt Biery
* The consumer is a combination of JSP pages and Javascript that are accessed with a web browser. 
21 1 Kurt Biery
22 3 Kurt Biery
h2. Downloads
23 1 Kurt Biery
24 9 Kurt Biery
Please see the "Files" area of this project for tar files with built versions of the Snapshot Service.
25 1 Kurt Biery
26 17 Kurt Biery
h2. Releases
27 17 Kurt Biery
28 18 Kurt Biery
* snapshotWebapp_v1.6b2_java1.7.0_67.tar.gz
29 18 Kurt Biery
** 26-March-2015
30 18 Kurt Biery
** Added exit confirmation and general tool-top text to the snapshot producer at the request of CMS.
31 18 Kurt Biery
* snapshotWebapp_v1.6b1_java1.7.0_67.tar.gz
32 18 Kurt Biery
** 29-Oct-2014
33 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.
34 18 Kurt Biery
* snapshotWebapp_v1.5b19_java1.7.0_67.tar.gz
35 18 Kurt Biery
** 10-Oct-2014
36 19 Kurt Biery
** Updated the version of Java used to compile the webapp and producer.
37 18 Kurt Biery
* snapshotWebapp_v1.5b18_java1.7.0_21.tar.gz
38 18 Kurt Biery
** 19-Sep-2014
39 19 Kurt Biery
** Updated the version of Java used to compile the webapp and producer.
40 18 Kurt Biery
41 3 Kurt Biery
h2. Instructions
42 1 Kurt Biery
43 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.
44 1 Kurt Biery
45 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.
46 17 Kurt Biery
* [[March 2016 LArIAT S3 Notes]]
47 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
48 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
49 17 Kurt Biery
50 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.
51 17 Kurt Biery
52 11 Kurt Biery
[[Installation Instructions (Linux)]]
53 11 Kurt Biery
[[Tips for JWS on Windows]]
54 10 Kurt Biery
55 8 Kurt Biery
h2. Slides
56 1 Kurt Biery
57 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
58 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
59 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
60 12 Kurt Biery
61 12 Kurt Biery
h2. Read-only Access to the Git Repository
62 12 Kurt Biery
63 12 Kurt Biery
<code>git clone http://cdcvs.fnal.gov//projects/screen_snapshot_service</code>