channelfinder - advanced photon source - other services/2...channelfinder directory service for...
TRANSCRIPT
ChannelFinderDirectory Service for EPICS Channels
Kunal Shroff – BNLRalph Lange – HZB / BESSY II
EPICS Collaboration Meeting, San Francisco, 05 Oct 2013
CS
-Stu
dio
IOC
CA client (JCA/CAJ)
IOC … IOC
pvA client
IOC …
v3 v4
directoryService
AccelUtils
Command/response
v4
Masar
Web based REST services
...
Olog
ChannelFinder API
API
…
API
API
pvmanager core
pva …caData Sources
Processing
Visualization
vTypesData Definition
BOY
cf
Aggregation
General purpose clients
Specialized clients
Log Viewer
Channel Viewer
DataBrowser
…
…
formula
graphene
…
Registry
Bindings
pvm services
masar
CS-Studio core
Core Java Client
Databases Command-line
NEW! NEW!
Pub
lish/s
ub
scri
be
Motivation
• Problem: A flat name space restricts seriously–Clients need to know all channels beforehand
–Applications need full configuration
• Solution: A generic directory service–“Query-by-functionality”
–Simple directory data structure:Channels have properties (key-value) and tags
–No dependence on installation and local conventions
Architecture
REST
ChannelFinder
MySQL
Glassfish
HTMLjson/XML
war
Easy Installation
• Download and install Glassfish • Download and install MySQL• Download ChannelFinder –Run channelfinder-base.sql script to create
database
–Drop the channelfinder.war into autodeploy folder of Glassfish
–Create JDBC connection pool resource
ChannelFinder at BNL
IOCs
Glassfish
ChannelFinderweb service
/cf-update
Web proxy
CS-StudioScripts to- populate properties
- create lattice
channelfinder.nsls2.bnl.gov
NFSupdate daemon
dependency
data flow
Java lib Python lib
High Level Physics Usage
● Physics group adds properties and tags● Directory servicehelps manage thousands of channels and create lattice structures
● Search instead of configurationkeeps HLA scripts simple with low maintenance effort
ChannelViewer
Channel Line Plot
Service Button
Auto-Complete
A Brief History2011/9
Java lib 2.1
2012/1Service 1.1
2010/11Service 1.0Java lib 1.0
SourceForgeContinuous Integration
2011 2012
2012/3Python lib
1.1
2011/6CS-Studio Application
Channel Viewer2012/3
ChannelFinder Applications Widgets
for BOY
Questions?
Thank you.