JoiMint-eLog - PowerPoint PPT Presentation

About This Presentation
Title:

JoiMint-eLog

Description:

Text. Images. Prepare. request. and. insert. entry. in. vector. Read/ Write. Classes ... 100 messages (text) from 5 log books (5 interactions) ... in 1-2 sec ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 18
Provided by: Matthias87
Learn more at: https://epics.anl.gov
Category:
Tags: joimint | elog | messages | read | text

less

Transcript and Presenter's Notes

Title: JoiMint-eLog


1
JoiMint-eLog
  • Matthias Clausen

2
eLog and applications
  • Integration of eLog into applications (JoiMint)
  • Integration of JoiMint-MIME type and JoiMint
    config files into eLog

3
Requirements for our eLog approach IExtended
Functionality
  • Start from the existing eLog at DESY
    (TTF-Version)
  • Keeping the following ideas
  • Write messages, screen dumps and files through
    central print queues (survive database downtimes)
  • Use Web interface to add and to edit entries
  • Use Servlets to retrieve data from the eLog and
    to prepare Web displays.
  • Keep the XSLT style sheet to generate the Web
    edit page

4
Requirements for our eLog approach IINew
Functionality
  • Access and display of multiple eLog sources.
  • Storing messages, screen dumps (JPG) and any kind
    of files into an Oracle database. (Rather than
    XML files)
  • Support links between messages
  • Support for entries and screen dumps on Unix and
    Windows
  • (Windows bypassing default PostScript printer
    driver)
  • Support command line entries.
  • Write from applications

5
eLogbook Mutiple Sources

Tomcat
eLogbooks
Web Client
Servlet ListEntry
MKS-1 MKS-2 MKS-3 MKS-4 KRYO . .
Sorted Vector
Classes extending LogBook
Text Images
Oracle eLog
Read/ Write
Prepare request and insert entry in vector
prepare html
Text
Oracle MKK
Read
Text
Oracle IT-News
Read
Read
TINE Events
Applet set -eLogbook(s) -From time -To
time -Shift
Read
XML eLogs
Text
6
ExampleThe Applet
Select one or more logbooks
Select shift of from day
Type in from and to time
Select defined time span
Entrer search string forAuthor or subject or
text.
7
ExampleThe Web Page
Statistical Information (MySql local on Tomcat
Server)
The selected log books
Add new entry to your logbook
The selected from/ to time
Add new entry to your log book with reference to
this entry.
Ascending / decending
Automatically entered text file
Edit this entry (if allowed)
Goto the linked entry
Entry with screen dump
Online help
Select your default logbook for entries
8
Help
9
eLogbook Edit Display (read)
XSL Stylesheet
Tomcat
eLogbooks
Web Client
Servlet ModifyEntry
MKS-1 MKS-2 MKS-3 MKS-4 KRYO . .
Classes extending LogBook
Text Images
Oracle eLog
Read/ Write
Prepare request and Insert single entry in vector
XML Translator
Text
Oracle MKK
Read
Text
Oracle IT-News
Read
prepare XML
Single Entry
Read
TINE Events
Read
XML eLogs
Text
Html-Link Activate Servlet With entry ID
Edit Button depending on write access to source
10
Read and Write from/to eLogbook
Cenrtal Oracle Server
Printer Spooler
print2oracle
Central
Remote
Print to queue oraclelog
Windows
Unix
epicsmenu(Tcl/tk)
Capone
Web Client
Unix also allows to print to oraclelog through
the Command line interface (lpr Poraclelog
MKS-2030612-120000.txt)
11
IntegratingeLog lt-gt JoiMint
  • Create entries in JoiMint and save them into the
    eLog (Oracle)
  • Save JoiMint config files and/or configdata
    files into eLog
  • Create html links with the MIME type ltJOIgt and
    start JoiMint from eLog entries

12
Post Mortem Query Result
The selected log book isEVENT
http links with event information
13
From http-link to JoiMint Display
JoiMint config file (dynamically created by
servlet) lt?xml version'1.0' encoding'UTF-8'?gt ltc
onfiggt ltX arg'100'/gt ltY arg'100'/gt ltScrollWid
th arg'455'/gt ltScrollHeight arg'580'/gt ltWidth
arg'480'/gt ltHeight arg'637'/gt ltobject
type'JoiDataLogger'gt ltY arg'130'/gt ltWidth
arg'425'/gt ltHeight arg'425'/gt ltLink0
arg'KRYKSRV/SenderstrHEPHF/AusgangsstrIac/DATA'/gt
ltLink1 arg'KRYKSRV/SenderstrHEPHF/AusgangsstrI
dc/DATA'/gt ltLink2 arg'KRYKSRV/SenderstrHEPHF/Au
sgangsspgUdc/DATA'/gt ltLink3 arg'KRYKSRV/Senders
trHEPHF/PulssperrePb/DATA'/gt ltEvent arg'Sat
14.06.2003 181538'/gt lt/objectgt ltobject
type'JoiTextField'gt ltValue arg'TINE Event
Display'/gt ltX arg'65'/gt ltY
arg'5'/gt ltWidth arg'340'/gt ltHeight
arg'40'/gt ltFontStyle arg'Bold'/gt ltFontSize
arg'24'/gt ltAlignment arg'Center'/gt lt/objectgt
Link http//krykpcn.desy.de8080/examples/servlet
/eLogbook.GetJoiEvent? EVENT_N1055491723 ARCHI
VE_SKRYKSRV DEVICE_SSenderstrHENL IDEVENT0
30613-100843.joi
JoiMint config file (dynamically created by
servlet) lt?xml version'1.0' encoding'UTF-8'?gt ltc
onfiggt ltX arg'100'/gt ltY arg'100'/gt ltScrollWid
th arg'455'/gt ltScrollHeight arg'580'/gt ltWidth
arg'480'/gt ltHeight arg'637'/gt ltobject
type'JoiDataLogger'gt ltY arg'130'/gt ltWidth
arg'425'/gt ltHeight arg'425'/gt ltLink0
arg'KRYKSRV/SenderstrHEPHF/AusgangsstrIac/DATA'/gt
ltLink1 arg'KRYKSRV/SenderstrHEPHF/AusgangsstrI
dc/DATA'/gt ltLink2 arg'KRYKSRV/SenderstrHEPHF/Au
sgangsspgUdc/DATA'/gt ltLink3 arg'KRYKSRV/Senders
trHEPHF/PulssperrePb/DATA'/gt ltEvent arg'Sat
14.06.2003 181538'/gt lt/objectgt ltobject
type'JoiTextField'gt ltValue arg'TINE Event
Display'/gt ltX arg'65'/gt ltY
arg'5'/gt ltWidth arg'340'/gt ltHeight
arg'40'/gt ltFontStyle arg'Bold'/gt ltFontSize
arg'24'/gt ltAlignment arg'Center'/gt lt/objectgt
14
eLogbook Display JoiMint Event Displays
Web Client
Tomcat
eLogbooks
JoiMint
Servlet ListEntry
Step I
Classes extending LogBook
TINE Data
Read Link Information
Create html Link
Start MIME Application
Read
JoiMint file With JOI MIME type
Servlet GetJoiEvent
Step II
Prepare Joi-File With Archive-Server DeviceServer
Event-Number
Send html Image (Joi-File) With MIME Header
TINE Events
Html-Link Including Archive-Server DeviceServer
Event-Number
15
Experience
  • Tomcat is just stable (no crashes ever)
  • Oracle performance extremely good
  • Oracle server in computing center
  • Performance _at_ DESY
  • 50 images _at_ 100k
  • ... Which implies 51 interactions with Oracle
    server
  • ... in 2 sec
  • 100 messages (text) from 5 log books (5
    interactions)
  • ... in 1-2 sec
  • (limits 50 images / 100 messages configured in
    config class)

16
Plans - I
  • Add alarms
  • Use existing alh-gt Oracle functionality and write
    alarms directly into Oracle
  • Query alarms in eLog
  • Create http links for
  • JoiMint -gt archive data
  • JoiMint -gt alarm settings
  • ...

17
Plans - II
  • Add support for cmlog (as source)
  • Line oriented view ( like JLAB eLog)
  • Configure eLogs in (XML) config file
  • Add eLog-sources by Java plugins
Write a Comment
User Comments (0)
About PowerShow.com