Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005.

Slides:



Advertisements
Similar presentations
1 1999/Ph 514: Working With an IOC EPICS Working with an IOC Marty Kraimer APS.
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS.
Control Systems for Future GSI, May , 2003 Control System Requirements for the CBM detector Burkhard Kolb GSI HADES.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Unit 6- Operating Systems.  Identify the purpose of an OS  Identify different operating systems  Describe computer user interaction with multiple operating.
Interpret Application Specifications
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
Getting Started with Linux: Novell’s Guide to CompTIA’s Linux+ (Course 3060) Section 2 Use the Linux Desktop.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
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.
R. Lange, M. Giacchini: Monitoring a Control System Using Nagios Monitoring a Control System Using Nagios Ralph Lange, BESSY – Mauro Giacchini, LNL.
March 2004 At A Glance ITOS is a highly configurable low-cost control and monitoring system. Benefits Extreme low cost Database driven - ITOS software.
Experimental Physics and Industrial Control System (EPICS) Alarm Handler (ALH) Bob Dalesio, August 14, 1999.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
EPICS and EDM Overview 03 October 2008 Matt Boyes EPICS and EDM Overview Lecture 1 Matt Boyes.
Chapter 4 System Software.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
FTP (File Transfer Protocol) & Telnet
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS-DCT (SNL) Training.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Controls for High-Availability Magnet PS’s for ATF2 Glen White SLAC September
Module 7: Fundamentals of Administering Windows Server 2008.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
SUSE Linux Enterprise Desktop Administration Chapter 2 Use the Linux Desktop.
Introduction to EPICS (Ned Arnold, John Maclean).
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
Module 9: Preparing to Administer a Server. Overview Introduction to Administering a Server Configuring Remote Desktop to Administer a Server Managing.
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.
MEDM User Guide April, 2001 P. Sichta What is MEDM? How to Start MEDM How to Use MEDM Miscellaneous.
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.
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.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Connecting LabVIEW to EPICS network
Linux Operations and Administration
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
EPICS Noboru Yaamamoto July 11, 2006 for EPICS seminar at VECC,Kolkata Installing EPICS.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
EPICS and LabVIEW Tony Vento, National Instruments
THE WINDOWS OPERATING SYSTEM Computer Basics 1.2.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
An Introduction to Epics/Tango Steve Hunt Alceli EPICS Meeting 2008 INFN Legnaro 15 Oct 17:15.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
VMware ESX and ESXi Module 3.
Module 9: Preparing to Administer a Server
Computing Fundamentals
FTP - File Transfer Protocol
EPICS: Experimental Physics and Industrial Control System
Types of Software Mrs. S. Palmer Office Administration.
Module 9: Preparing to Administer a Server
Presentation transcript:

Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005

References EPICS website ( – Applications Developer Guide. –Training documents. –Tech-Talk mailing list. NSTX Documents –VxWorks IOC NSTX-WBS6-OP-009, EPICS IOC Reboot NSTX-WBS6-OP-005, EPICS IOC Shutdown NSTX-WBS6-OP-015, Configuring IOC Boot Parameters NSTX-WBS6-DV-003, Preparing an MVME-177 for vxWorks –Linux IOC NSTX-WBS6-DV-015, Building EPICS Base, Extensions, and a softIOC on Linux for a Linux target. NSTX-WBS6-OP-027, EPICS Linux IOC Operations. NSTX-WBS6-??-???, Managing a Linux IOC. Plan to restructure ‘Linux’ IOC documents.

Introduction This presentation describes how to operate the IOC, not how to: –build it, –configure it, –get databases onto it, –get sequence programs onto it, –troubleshoot problems.

vxWorks and Linux IOCs - Introduction A Linux IOC offers a much lower-cost and higher-performance solution for an EPICS control system. A Linux IOC is not a real-time system, so its Application should be reviewed in this light. The CI&C operator’s user interface with the Linux IOC is quite different from the vxWorks IOC.

what is epics? Getting Started with EPICS: Introductory Session I Pioneering Science and Technology Office of Science U.S. Department of Energy Power Supply Beam Position Monitor Vacuum Gauge Computer Interface Process Variables: Channel Access Server S1A:H1:CurrentAO S1:P1:x S1:P1:y S1:G1:vacuum iocCore Channel Access Client

EPICS Configuration at NSTX Windows Linux Solaris vxWorks KEY NSTX Firewall Engineering Physics/PPPL x-term OPI vxWorks IOCs epicsrv1 CA clients nstxpc09 (LV Web Server) epicsgate02 EPICS Gateway CAR-2, Archive Data Server epicsrv2 nstxIOC1 (Linux IOC) no OPERATIONS role, only vxWorks support epicsrv4 epicsrv3 Linux IOCs x86 OPI CA clients

VxWorks and Linux IOCs CategorySome things are the sameSome things are different Network & CA clients From the network and CA client point of view, a Linux IOC and a vxWorks IOC look the same. That is, they both use the Channel Access protocol over TCP/IP. No differences! Database A ‘database’ file can run on either type of IOC... same flat-file, ASCII format. Some records call device support and driver support that are specifically written for vxWorks and VME modules. Many records in EPICS Base can use soft Device support, which works with both OS’s. Sequencer Programs A ‘sequencer program’ can run on either type of IOC... same source syntax (SNL in an.st file). Existing SNL programs may need to be rewritten in an OSI-compliant manner. Subroutines A ‘subroutine’ can run on either type of IOC... same source syntax (C file). Existing subroutines may need to be rewritten in an OSI-compliant manner.

vxWorks and Linux IOCs - The Physical vxWorksLinux

vxWorks and Linux IOCs - The iocCore Software Tasks vxWorks Linux

vxWorks and Linux IOCs - a ‘Terminal’ Session LOCAL REMOTE vxWorksLinux RS-232 connection to Console port. MACse running VersaTerm. PC running HyperTerm. Maybe no local Console, otherwise local VGA/kybd.. (Probably) no Linux graphical interface (text only). Use the Screen utility to access the IOC Shell. rlogin protocol to vxWorks using tornado user account. One remote user at a time. Use logout command to terminate session. SSH to Linux, using xxx user account. Use the Screen utility to access the IOC Shell. Use ‘Ctrl-A D’ command to terminate (IOC shell) session.

vxWorks and Linux IOCs - Booting & Starting iocCore vxWorksLinux Power up VME Crate or RESET the CPU. Use ‘boot’ vxWorks script, e.g: <st.boot_ioc1 Power up Linux PC or reboot the CPU. Use ‘boot’ Linux script, e.g.: boot_ioc

vxWorks and Linux IOCs - Status Check vxWorksLinux MEDM displays Alarm Handler Terminal sessions MEDM displays Alarm Handler Terminal sessions

vxWorks and Linux IOCs - Shutdown vxWorksLinux No graceful IOC shutdown needed at this time, but once I/O is present it may be required. Probably run a ‘shutdown’ script, then the normal exit command. Linux needs an orderly shutdown. This vxWorks scripts gracefully terminates communications tasks, and shuts down the IOC.

The First ONLINE Linux IOC at NSTX

NSTX’s First Linux IOC It is on the NSTX Physics (.15) network. –The computer’s name is nstxioc1.pppl.gov. It’s purpose is to foster secure integration between ‘Engineering ops’ and ‘Physics ops’. It is presently an orphaned Dell L667 desktop machine, but will be something else in FY06. Integrated into MEDM and Alarm Handler. –It sees the Engineering IOC’s via the EPICS Gateway –Engineering IOC’s see it directly Use a reverse gateway?

Looking deeper, it’s a prototype The computer’s name is nstxioc1.pppl.gov. The IOC’s medm and ALH name is ‘IOCs1’. The ioc’s Linux process/task is ‘lin7’. The ioc home directory is /eprun/epicApps/ioc157/iocBoot/ioclin7 The IOC’s operator account is epics. The computer is presently in Sichta’s office, but will move into the NSTX Control Room. The database was made using VDCT on Sichta’s office PC. Database hand-transferred to nstxioc1 using sftp, using the freeware WinSCP. In the near future, this needs to change (somehow) to provide a reasonable way of ‘doing business’.

Linux IOC Status via MEDM

Linux IOC in the Alarm Handler

What does it do? Monitors LabVIEW Web Server (nstxpc09). –ALH monitors these records to alarm if Web Server VI crashes. Will soon receive EPICS Events for NSTX Clock Events (sourced by IOC1). Would like to use it to field NSTX Clock Control commands from Ben LeBlanc: –his computer’s hole through the NSTX firewall can be closed – his epicsrv account can be disabled Would like to use it to receive ca_puts from critical NSTX VMS and unix tasks: – indicate that they are running, ready, etc... –DAS CAMAC Link and crate status –status these items on MEDM displays (e.g. COE display) –Integrate items into the Alarm Handler

vxWorks and Linux IOCs - Summary The CI&C operator’s user interface with the Linux IOC is quite different from the vxWorks IOC. Future work that will affect IOC Operations: –CyberSecurity –improved IOC Shell access? –remote boot and management –device and driver support for I/O

To figure out... how to: –name it. –build it. –configure it. –get databases onto it. –get sequence programs onto it. –manage code for vxWorks and Linux targets. –troubleshoot problems.