Channel Finder operational experience at BNL work by: Gabriele Carcassi, Robert Petkus, Guobao Shen, Kunal Shroff, Lingyun Yang, written by: Gabriele Carcassi.

Slides:



Advertisements
Similar presentations
Epics Configuration Management Steve Hunt v1.0. Goals Maximize control system availability Minimize development cycle time Reduce risk.
Advertisements

V4 Status and Workshop Report CSS, DISCS, an V4 team.
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
ChannelFinder Directory Service Ralph Lange EPICS Fall Collaboration Meeting, October 2010 BNL.
0 BROOKHAVEN SCIENCE ASSOCIATES Middle Layer Services at NSLS II for Beam Commissioning and Operation Guobao Shen Controls Group, Photon Sciences Brookhaven.
Channel Finder Kunal Shroff Ralph Lange. pvManager Graphene IOC CA client (JCA/CAJ) CSS Core Olog Integration Olog … … DataBrowser BOY IOC… pvA client.
AccelUtils Gabriele Carcassi, Kunal Shroff – BNL Eric Berryman, Robert Gaul – MSU Ralph Lange – HZB.
ChannelFinder Directory Service Ralph Lange EPICS Spring Collaboration Meeting, June 2010 Aix-en-Provence.
Web Applications Development Using Coldbox Platform Eddie Johnston.
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Python and Web Programming
Server selection Multiple servers Add a server UDN selection Channel selection Time selection Duration selection Channel window Time window Current time.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Control System Studio (CSS)‏ Kunal Shroff EPICS Training Meeting 07/10/2010.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Tools Strategy for BNL and MSU Gabriele Carcassi - BNL Eric Berryman - MSU.
LSC Segment Database Duncan Brown Caltech LIGO-G Z.
ChannelFinder Client Kunal Shroff EPICS Spring Collaboration Meeting, October 2010 BNL.
Tools and Services at NSLSII Kunal Shroff, Tasha Summers, Smith Reid, Gabriele Carcassi, Michael Davidsaver (NSLSII) Ralph Lange (ITER) Samuel Dallstream.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Core (and other development efforts) L. Dalesio. EPICS April 25, 2013.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
Compiled Matlab on Condor: a recipe 30 th October 2007 Clare Giacomantonio.
Tomcat Setup BCIS 3680 Enterprise Programming. Getting Web Apps to Work  Verify that Tomcat works.  Understand how context works.  Create folders/files.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
Day 11 SAMBA NFS Logs Managing Users. SAMBA Implements the ability for a Linux machine to communicate with and act like a Windows file server. –Implements.
Duty Log and Chat Setup SSG Frese, Jerome S. Sensor Manager Cell 12 MDD.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
Lecture 5: User Accounts & Directory Service Instructor: Dr. Najla Al-Nabhan
Submit for Evaluation Step 1: Create a Project – You can create a new project on the Synapse home page once you are logged in to hold your work for the.
Chapter 6 Review: User Defined Functions Introduction to MATLAB 7 Engineering 161.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
VApp Product Support Engineering Rev E VMware Confidential.
MySQL Getting Started BCIS 3680 Enterprise Programming.
1 KEKB Archiving Dec Tatsuro KEK.
Queensland University of Technology CRICOS No J Internet Access and QUT Presented by: Peter Kurtz February 2008.
Welcome! Welcome! Agenda - Wednesday  Introduction  Installation Tips  New Client Features  New Application Design Features  Installing Chart Director.
BROOKHAVEN SCIENCE ASSOCIATES Enhanced Directory Service Ralph Lange EPICS Collaboration Meeting October 11, 2009.
| imodules.com Top 10 FAQ in Application Support Kelly Schmiedeler & Amber Quayle.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
Stanford Linear Accelerator Center Michael Zelazny EPICS Collaboration Meeting Dec 3&4, Channel Watcher Bumpless Reboot Replacement Related Web Page:
STAR Scheduling status Gabriele Carcassi 9 September 2002.
EPICS and LabVIEW Tony Vento, National Instruments
WS1-1 ADM730, Workshop 1, September 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 1 INTRODUCTION Open Retracted - Bad Retracted - Good.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
ChannelFinder & CSS Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
ESS Integrated Control System Software Core Components S.Gysin
Python PVA Prototype Siniša Veseli Software Engineer AES / Software Services Group EPICS v4 Group Meeting November 19, 2013.
Software sales at U Waterloo Successfully moved software sales online Handle purchases from university accounts Integrated with our Active Directory and.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Channel Finder operational experience at BNL
Operations Machine Simulator.
AccelUtils Gabriele Carcassi, Kunal Shroff – BNL
EPICS Training Client Tools
ChannelFinder Directory Service
Unix Operating System (Week Two)
EPICS Version 4 Abstract:
Building Web Applications
Exploring the Power of EPDM Tasks - Working with and Developing Tasks in EPDM By: Marc Young XLM Solutions
User Experience of Channel Finder Service at NSLS-II
Setting up home folders and roaming profiles
Presentation transcript:

Channel Finder operational experience at BNL work by: Gabriele Carcassi, Robert Petkus, Guobao Shen, Kunal Shroff, Lingyun Yang, written by: Gabriele Carcassi performed by: Kunal Shroff

ChannelFinder at BNL IOCs Glassfish Web service /cf-update Web proxy CSS Scripts to - populate properties - create lattice channelfinder.nsls2.bnl.gov NFS update daemon dependency data flow

Getting channels from the IOCs IOCs /cf-update channelfinder.nsls2.bnl.gov NFS dependency data flow

Getting channels from the IOCs channelfinder.nsls2.bnl.gov exports the directory /cf-update through NFS Each IOC directly or indirectly has access to it When the IOC boots, the startup script saves the output of a dbl command to a file Filename format: hostname.iocname.dbl

Updating channel list Glassfish Web service /cf-update channelfinder.nsls2.bnl.gov update daemon dependency data flow

Updating channel list Daemon monitors for changes in the /cf- update directory and updates channelfinder – Setup a script in /etc/init.d – Uses /usr/bin/inoticoming to monitor for changes in the directory – Uses CFUpdateIOC.py script coming with channel finder python client to perform the update – Ignores all the channels that ends in “_” (NSLS-II convention for “internal” channels)

Updating channel list Update process feels very fast System has been very reliable – no problems so far

Glassfish setup Glassfish Web service channelfinder.nsls2.bnl.gov dependency data flow

Glassfish setup Running Glassfish 3.1 Single instance of Glassfish for multiple applications – Will be the same deployment server for our log service (collaboration with MSU) – Each application available as an alias – Top application changes according to the alias – ChannelFinder – log

Glassfish setup Glassfish runs as glassfish user Glassfish redirects to PAM for authentication – This is supported only as root user – We had to make glassfish member of the shadow group and allow it to access /etc/shadow (for local accounts) and /etc/pam_ldap.conf (for ldap accounts) – Runs fine now

Glassfish setup In ldap created the following groups: – cf-admins, admins – cf-channels, users that adds/removes channels, currently only cf-update – cf-properties, users that can add properties, a couple of people in our group and physics group – cf-tags, users that can only add tags, more people in the physics group – aphla, accelerator physics high level application, to group tags/properties from that group

Glassfish setup Main problems – Increase max file descriptors – OutOfMemory error Used to hit it, now we don’t anymore Quantum-bug: stopped appearing once we setup the infrastructure to debug it when it would happen again

Usage from high level physics Glassfish Web service Scripts to - populate properties - create lattice channelfinder.nsls2.bnl.gov dependency data flow

Usage from high level physics Our physics group adds properties/tags From Linyun Yang (accelerator physics) talk: – From Channel Access to Channel Finder Service: Channel Accesses in Python and Matlab are simple to use. High level applications (HLA) deals with thousands of magnets, instruments and more channels. Organized/structured channel information is necessary. Channels linked to accelerator lattice and diagnostics are even better. Searching instead of remembering is easier for HLA users. – A “dictionary” service can help HLA to manage the channels and build a lattice structure to which the AP is familiar. (they done simulation, analysis with it in the design).

device FM1G4C02A Channel Name SR:C02-MG:G04A{HFCor:FM1}SR:C02-MG:G04A{VFCor:FM1} Fld-IFld-SPFld-IFld-SP handle READBACKSETPOINTREADBACKSETPOINT elemName FXM1G4C02AFYM1G4C02A elemType HFCORVFCOR elemField xy devName FM1G4C02A sEnd cell C02 girder G4 symmetry A length ordinal tags egeteputegeteput xy sys.SR

Usage from high level physics Physics group can re-create the lattice from the information in channel finder By tags, different lattices can be built, and elements can be shared between them. – Sharing is important for injection, where LTD1 and LTD2 shares a lot of elements with LTB

CSS & ChannelFinder Glassfish Web service CSS channelfinder.nsls2.bnl.gov dependency data flow

CSS & ChannelFinder See next talk!