E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.
-
Upload
joana-balthrop -
Category
Documents
-
view
216 -
download
1
Transcript of E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.
![Page 1: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/1.jpg)
E. MatiasCanadian Light Source
CLS Beamlines & ScienceStudio
![Page 2: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/2.jpg)
Scientific American May 2008
Science 2.0 – The Risk and Reward of Web-Based Research
---------------------------------
“Our real mission isn’t to publish journals but to facilitate scientific communication” Timo Hannay – Head of Web Publishing at Nature Publishing Group
![Page 3: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/3.jpg)
What Is the Web 2.0?
• In plain English ….– Automating tedious tasks using web technology– Tools to help people and software collaborate
![Page 4: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/4.jpg)
Traditional Beamline Controls
• EPICS Tools • Configuration Tool• User GUI & ROOT
![Page 5: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/5.jpg)
Traditional Beamline Visualization
As Map
- Raster scan with fluorescence spectroscopy of a pine needle contaminated with arsenic. The technique allows multiple elements to be detected simultaneously at each point of the raster. These images show distributions of arsenic, iron, and manganese, respectively, near the tip. The highest intensity displays in red, lowest in blue.- Custom on-line plotting application scripted in CERN Root, with data stream from the CLS data acquisition application. (G. Wright, R. Igarashi, K. Chang-Yong, N. Chen)
Fe Map
![Page 6: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/6.jpg)
Traditional Beamline Visualization
Cross section views of the beam spot intensity distribution for varying degrees of monochromator detuning (50-80%). (Only one image shown).
(G. Wright, R. Igarashi, K. Chang-Yong, N. Chen)
![Page 7: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/7.jpg)
ScienceStudio Project Team
Partners• Canadian Light Source• University of Western
Ontario• IBM Canada• Concordia University• SharcNET• Other?
![Page 8: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/8.jpg)
Requirements
• New User Office Functionality– Proposal submission– Peer review– User Feedback Tracking– Experiment Management– User Training/ Safety Testing
• Remote Beamline Access• Integration with grid data-storage• Grid computing
![Page 9: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/9.jpg)
Demo Link
• http://srv-ibm-01.clsi.ca:8080/ss• http://128.233.135.18:8080/ss
![Page 10: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/10.jpg)
![Page 11: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/11.jpg)
![Page 12: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/12.jpg)
ScienceStudio
![Page 13: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/13.jpg)
![Page 14: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/14.jpg)
ScienceStudio (XRF)
![Page 15: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/15.jpg)
ScienceStudio
![Page 16: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/16.jpg)
Scanning
![Page 17: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/17.jpg)
Data Analysis (UWO)
![Page 18: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/18.jpg)
User Training Module
![Page 19: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/19.jpg)
User Training Module
![Page 20: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/20.jpg)
Component Overview
• Challenge:– Support dynamic reconfiguration– Support on-line changes in a 24/7 environment– Provide flexibility and ease in reconfiguring the environment– Separation of meta data from presentation
• Solution– XML based configuration information instead of hard-coding
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 21: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/21.jpg)
Component Overview
• Challenge:– Web-standards are still immature,– Must have a real-time feel to the user– Diverse client hardware/software independently selected at each university
• Solution– Thin-client browser (Java Script)– AJAX used to provide real-time like interface with Spring Framework– Identified a single supported browser (Firefox) all others at users own risk
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 22: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/22.jpg)
Component Overview
• Challenge:– Requires secure data transfer– Real-time performance – Guaranteed Quality of Service– Users located at major research Universities, Institutes in Canada and Australia
• Solution– LightPath and LighPath Accelerator Technology– CANet4 with International connections
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 23: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/23.jpg)
Component Overview
• Challenge:– Robust Reliable– User performance requirements are unknown– Support on-line changes, since the Facility Operates 24/7 with limited outage periods– Common interface presented to the user
• Solution– Websphere Hosted– Provides Services for Managing Users and Presentation of Data to the User– Spring Framework and Custom Java Classes
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 24: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/24.jpg)
Component Overview
• Challenge:– The “glue” that ties things together– Ability to Interface to both Internal and External Services– Reliable, flexible, ability to deal with services connecting and disconnecting gracefully
• Solution– Provides internal and external services to communicate with other systems, analysis
codes etc.– Web-services for diverse and distributed services
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 25: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/25.jpg)
Component Overview
• Challenge:– Understand where the system fails– Achieve performance objectives– Allocate resources to performance only where there is a clear measurable benefit
• Solution– Build in some basic auditing to determine bottlenecks and trace faults
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 26: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/26.jpg)
Component Overview
• Challenge:– Several Terra bytes of data– Several megabytes per experiment– Provide good performance
• Solution– Storage Area Network (SAN)– Light-paths to permit the rapid transfer of data to the user home institution
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 27: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/27.jpg)
Component Overview
• Challenge:– Control diverse hardware– Implement motion control and data acquisition algorithms– Support both local and remote access
• Solution– EPICS (framework extensively used at synchrotrons around the world)– Integrate vendor and other libraries as needed
• Next Step, Beamline Abstraction Layer
Ha
rdw
are C
on
trolle
rs
EPICSUser
Interfaces
Users Beam Line
NetworkMessageServices
UIServices
ExperimentResults
Performance Metrics and Diagnostic Logging
Metadata
![Page 28: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/28.jpg)
Remote Beamline Access Prototype Architecture
BrowserJavascript/Ajax
Netw
ork
Web Server
Other Services- SOAP, etc.
RDBMS
ApplicationLogic SOAP
Beamline - EPICS
J2EE - SPRING
restUI - jaxscript
Persistence - Spring DB
MS- SQL or MySQL
Spring MVCEPICS Spring
Bridge
POJOs
![Page 29: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/29.jpg)
New Information Model
![Page 30: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/30.jpg)
Multi-Site (Preliminary)
ScienceStudio CLS
RDBMS(mySQL) RDBMS
(mySQL)
VESPERS- Session- Data
User Office- Training- Survey- Scheduling
Beamline
BCM
ScienceStudio Bus
WestGrid
DataStore
ScienceStudio University of Western Ontario
RDBMS(mySQL) RDBMS
(mySQL)
Nano-Fab- Session- Data
Data AnalysisSystem- Training- Survey- Scheduling
Instrument
BCM
Sharc Net
DataStore
Web BrowsersUser Interface
User
SciecneStudio User Server (Optional)
RDBMS(mySQL)
User Database
User
User
Authentication
AuthenticationService
![Page 31: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/31.jpg)
WestGrid
• Not directly part of the ScienceStudio Project– CFI Project part of WestGrid– University of Saskatchewan
Computer Science Department
• Large data storage facility is now operational, CLS is working with the UofS to provide user access
![Page 32: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/32.jpg)
Network Architecture
LPA816e
LPA816e
LPA816e
LPA816e
LPA816e
LPA816e
LPA816e
LPA816e
LPA816eUBC
SFU
U of Lethbridge
U of Calgary
U of Alberta
UWO
U of Toronto
McGill
NRC-BRI
request
control
control
Control(UCLP)
CANARIEand ORAN
Lightpath Network
DomainManager
LPA816e
VESPERS Beamline Computer
CMCF Beamline Computer
Canadian Light SourceSaskatoon
Lightpath Accelerator network.
This solution allows any one research workstation, at right, to connect to one of the two beamline computers at the CLS.
This solution can be extended to allow multiple connections through each
LPA816e Lightpath Director.
October, 2006
![Page 33: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/33.jpg)
Lightpath Accelerator controls a software virtual cross-connect that commands UCLP.
Integrating LPA with UCLP
In effect, CA*Net4 is treated as a single lightpath cross-connect
real device real devicevirtual device
domain manager process
UCLPcommands
![Page 34: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/34.jpg)
This graph shows the traffic each second as a stream is recognized and moved from the LAN (blue) to a lightpath (red).
Lightpath Accelerator Operation
![Page 35: E. Matias Canadian Light Source CLS Beamlines & ScienceStudio.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b39f0550346dd1a8b52e2/html5/thumbnails/35.jpg)
The End
Thank you.