The electronic Logbook Making the next step

Download Report

Transcript The electronic Logbook Making the next step

The electronic Logbook
@ the TTF VUV-FEL
Making the next step
R. Kammering
-MVPDESY in Hamburg
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Overview
• Introduction
• The TTF e-logbook
– The basic technology
– How does it look like?
– Changes since the first version
• E-logs @ XYZ
• Security: Authentication, authorization, …
• Conclusions / The next step
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Introduction
The days before the electronic …
log
[Encyclopædia Britannica]
also called maritime log instrument for measuring the speed of a
ship through water. The first practical log, developed about 1600,
consisted of a pie-shaped log chip with a lead weight on its curved
edge that caused it to float upright and resist towing. When the log
was tossed overboard, it remained more or less stationary while an
attached line (marked off with equally spaced knots) was let out
behind…
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Introduction
The 20'th century
2002 - The year of the XML hype
2003 - the elog got standard
Today
Year 20XX
?
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Classic client – server architecture:
User program
Web browser
client
client
Print
Text
+
images
Upload,
typing
Text
+
images
e-logbook
Web server
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
HTML
+
JPEG
or
PDF
Combined
content
The TTF e-logbook
User program
Web browser
client
client
1. Print
1. Request
e.g.
HTML
PS
2. Store convert create
JAVA servlets
2. Read
JPEG
3. Create
XML
Web server
e-logbook folder
PDF
XSLT / XSL FO
UNIX pipe - script
PS
5. Response
servlet engine
e-logbook server
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
4. Combine
content
layout
XML
XML
XML
XSL
The TTF e-logbook
Let’s have a look:
External:
https://ttfinfo.desy.de/TTFelog-secure
Internal:
http://ttfinfo.desy.de/TTFelog
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Main window
Navigation
Status info.
Integrated shift
summary
Powerful
search
Create new entry
Generate PDF
Automatic hyper linking
Edit entry
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Edit window
Set of (configurable) standard information
Spellchecker
Mail to an expert
File upload
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Natural integration of documentation
Complex tree
structures possible
Many supported
data formats
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Short abstract
(gets indexed)
The TTF e-logbook
TTF VUV-FEL document tree:
•
•
•
•
> 600 entries
> 200 Mb (mostly) PDF documents
fully integrated into elog (fast access)
support for MS/Open Office formats
underway
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Changes since the first version:
all HTML code ported to JSP (Java Server Pages)
to allow:
1. parameterization of e-logbook specific values
2. one central (XML) conf. file per e-logbook
3. access this values via JSTL (Java Server Pages
Standard Tag Library) from within every JSP files
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Central e-logbook configuration file
logbook name
<!-- define the name of the logbook, displayed on each page -->
<name>DAQ eLogBook</name>
…
shift period
<!-- period to create a new shift -->
<!-- formats are: Y = year, M = month, W = week, D = day, 3 = 3 shifts a day -->
<new_shift>M</new_shift>
language setting
<!-- language code, possible values: en, de -->
<lang_code>en</lang_code>
date format
<!-- date formatting, posssible formats are: -->
<!-- date_fmt>MM/dd/yyyy</date_fmt -->
<!-- date_fmt>yyyy-MM-dd</date_fmt -->
<date_fmt>dd.MM.yyyy</date_fmt>
date title format
<!-- title string for each shift in strftime(3C) format -->
<title_date>%B %Y</title_date>
text layout
<!-- Shall text be 'above' or 'beside' the images -->
<!-- text_pos>above</text_pos -->
<text_pos>beside</text_pos>
background color
…
<!-- Background color for overall style of the HTML pages (standard rgb notation)-->
<bgcolor>ffffff</bgcolor>
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
per e-logbook conf. file allows modular XSL architecture:
elog.xsl
imports
work.xml
+ conf.xml
XSL
XML
parse
keywords
HTML
get data
from conf.
…
spellchecker
include rules
ORACLE
include
oracle.xsl
final
XSL
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
include oracle.xsl
The TTF e-logbook
Further changes: Interoperability
• Storing of shift data to ORACLE DB (JDBC Java
Database Connectivity)
• Acquisition of machine statistics (ORACLE)
Beam statistics
Down times
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The TTF e-logbook
Further changes: Markup functionality (Wiki style)
Bold to emphasize
Tables are more readable
Links
Lists to order things
Lines to comment
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
E-log @ XYZ
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
E-log @ XYZ
the mother
of all these elogs
The TTF elog
got popular …
Thanks: S. Karstensen, D. Sertore,
P. Krejcik and J. Tsai for the snapshots
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
E-log @ XYZ
Some statistics:
TTF elog is in operation since: Oct. 2001
> 41000 entries have been made
~ 18Gb graphical data / ~25Mb ASCII text
Today >30 TTF like e-logbooks
are running on ~12 servers
…
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
E-log @ XYZ
ttfinfo.desy.de - Number of unique visitors
1200
1000
400
First SASE
200
All users
0
Nov- Dec- Jan- Feb- Mar- Apr- May- Jun03
03
03
03
03
03
02
02
shutdown
600
shutdown
# of visitors
800
rebuilding of TTF to VUV-FEL
Trend?
Jul- Aug- Sep- Oct- Nov- Dec- Jan- Feb- Mar- Apr- May- Jun04
04
04
04
04
04
03
03
03
03
03
03
Date
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Secure
access
Jul- Aug- Sep- Oct- Nov- Dec- Jan- Feb05
05
04
04
04
04
04
04
Security: Authenti., authori.
Stepwise integration of security:
0. No authentication (2002 version)
1. (multiple-) sign on (since 2005)
2. Single sign on (SSO)
3. Cross domain SSO (CDSSO)
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Security: Authenti., authori.
Today's security architecture
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Security: Authenti., authori.
User
The DIT
1. https request
(directory information tree)
2. authenticate
(via JNDI)
Login.jsp
LDAP
3. set session
Authentication
4. redirect
Protected
application
e-logbook
Login procedure
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Security: Authenti., authori.
SSO - possible architecture
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Conclusions
Conclusions
• Acceptance of e-logbook is overwhelming
• Ease for cloning was/is high priority
• World wide accessibility is very important
• e-logbook is a must for any kind of remote
operation
• Still much could be done (collaborations?)
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
The next step …
Security
• Implement SSO authorization schema
• Extend authorization to DOOCS …
Elog-core
• Extend configurable parameters
• Harden automated elog installation
• …
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering
Thanks for your attention!
Online resources:
The TTF e-logbook technology:
http://tesla.desy.de/doocs/elogbook
e-logbook for testing:
http://gan.desy.de/guestelog
the central TTF e-logbook server:
https://ttfinfo.desy.de
10. May 2005 Technisches Seminar DESY in Zeuthen, R. Kammering