jefferson lab electronic logbooknovember 19-22, 2002 controls group epics collaboration history...
TRANSCRIPT
![Page 1: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/1.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Jefferson Lab Electronic Logbook
Theo LarrieuTheo McguckinMichelle Joyce
![Page 2: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/2.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
History
First instituted at the lab in 1996.Variously used∗ Record of Operations for DOE∗ Knowledge repository∗ Bulletin board to pass info among shifts/teams
Heavily Used∗ ~35,000 entries/year in main ops logbook ∗ 400 MB/year in main ops logbook∗ Other logbooks for Software, FEL, etc.
![Page 3: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/3.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Old logbook “home page”
![Page 4: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/4.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Old log entry
![Page 5: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/5.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Shortcomings
Reliance on static html files – 100,000’s∗ Sheer number a headache to manage∗ The html mingling of content and formatting
makes data searching and extraction difficult
Every program (60+ of them) responsible for number assignment, content formatting, not clobbering other entries. Little consistency.
![Page 6: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/6.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Components of an Entry
Required∗ Keywords/Title, Timestamps (create, commit),
Logbook(s), Entry-typeOptional∗ Attachment(s) (screenshots, documents, etc.)∗ Downtime information∗ References to other logs (backward/forward)∗ Problem-Tracking History
![Page 7: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/7.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
New Version
Summer 2002.Addresses shortcomings∗ RDBMS replaces files.∗ Dynamic Scripting replaces static HTML∗ APIs shield apps from entry-making details
New Features∗ Integrated problem tracking∗ Threaded/linked entries
![Page 8: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/8.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Underpinnings
Relational Database (Oracle)Web Application Server (Apache + PHP)Libraries for programs that make entries∗ Tcl Package∗ Perl Module∗ C++ Library∗ HTTP API
![Page 9: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/9.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Make an Entry - Tcl
package require logXml…
set logXml(logbooks) {elog slog} set logXml(entry_type) "LOGENTRY" set logXml(title) "A brief log message"
logXml_write logXml
![Page 10: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/10.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Make an Entry - perl
use Jlab::logXml; …@logbooks = qw(elog slog);$logXml{'logbooks'} = \@logbooks; $logXml{'entry_type'} = "LOGENTRY";$logXml{'title'} = "A brief log entry";
logXml_write(\%logXml);
![Page 11: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/11.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
New logbook “home page”
![Page 12: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/12.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Alternative Look
![Page 13: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/13.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
New trouble report entry
![Page 14: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/14.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Logs can be queried
![Page 15: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/15.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Browser is not only interface
![Page 16: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/16.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Logbook Comparison
Accessible from scripts, browsers,spreadsheets.
Web browser only interface
Authenticated entriesUnauthenticated entries
Integrated downtime & problem tracking
Separate downtime & problem tracking
RDBMS (Oracle)Files (one per record)
New LogbookOld Logbook
![Page 17: Jefferson Lab Electronic LogbookNovember 19-22, 2002 Controls Group EPICS Collaboration History ¾First instituted at the lab in 1996. ¾Variously used ∗Record of Operations for](https://reader035.vdocuments.site/reader035/viewer/2022081611/5f02410e7e708231d403587f/html5/thumbnails/17.jpg)
Controls GroupControls GroupNovember 19-22, 2002
EPICS Collaboration
Future Direction
Enhance Problem-Tracking∗ Track problems with specific hardware.
Enhance Query/Search Tools∗ Oracle Intermedia to search attachments such
as PDF, Word documents.Integrate with Maintenance/Repair Scheduling.