SNS Integrated Control System A process manager for soft IOCS DH Thompson.

Slides:



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

Channel Access Enhancements J. Hill. R3.14 Enhancements Large array support in the portable server –nearly complete –a priority for SNS Port syntax for.
FTP - File Transfer Protocol TFTP – Trivial FTP CISC 856 – Fall 2005 Michael Haggerty University of Delaware (some/most slides courtesy of Umakanth Puppala.
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
FILE TRANSFER PROTOCOL Short for File Transfer Protocol, the protocol for exchanging files over the Internet. FTP works in the same way as HTTP for transferring.
FONG CHAN SING (143334) WONG YEW JOON (143388). JAVA RMI is a distributive system programming interface introduced in JDK 1.1. A library that allows an.
Introduction to MySQL Administration.  Server startup and shutdown ◦ How to manually start and stop it from the command line ◦ How to arrange an automated.
Chapter 26 FTP.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Daemon Processes and inetd Superserver
Processes & Daemons Chapter IV / Part III. Commands Internal commands: alias, cd, echo, pwd, time External commands, code is in a file: grep, ls, more.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 20 File Transfer Protocol (FTP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 20 File Transfer Protocol (FTP)
TCP/IP suit 4th Edition by Behrouz A Forouzan. 2 Internet Computing (CS-413)
File Transfer Protocol (FTP)
File Transfer Protocol CS-328 Dick Steflik. FTP RFC 959 uses two TCP Ports –one for control –one for data transfers command-response protocol control.
Hjemmeeksamen 1 INF3190. Oppgave Develop a monitoring/administration tool which allows an administrator to use a client to monitor all processes running.
Chapter 31 File Transfer & Remote File Access (NFS)
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
© 2012 IBM Corporation Tivoli Workload Automation Informatica Power Center.
Agenda  Terminal Handling in Unix File Descriptors Opening/Assigning & Closing Sockets Types of Sockets – Internal(Local) vs. Network(Internet) Programming.
1 Web Server Administration Chapter 9 Extending the Web Environment.
FTP (File Transfer Protocol) & Telnet
Applications: Remote Login (TELNET,Rlogin) In this chapter we shall explore internetworking by examining high level internet services and protocols that.
PVM. PVM - What Is It? F Stands for: Parallel Virtual Machine F A software tool used to create and execute concurrent or parallel applications. F Operates.
1 Parani-MSP1000 Firmware Upgrade v1.2.0 Notes Sena Technologies.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 TELNET and Rlogin.
Inetd...Server of Servers Looks at a number of ports Determines when a service is needed on any of those ports Calls the appropriate server Restarts new.
ITN Wake Tech1 ITN270 Advanced Internet Databases Lecture 15. General MySQL Administration Topics: –Securing a New MySQL Installation –MySQL Server.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
1 INFO 321 Server Technologies II FTP Material adapted from Dr. Randy Kaplan.
Department of Computer Science Southern Illinois University Edwardsville Spring, 2008 Dr. Hiroshi Fujinoki FTP Protocol Programming.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
Oracle Data Integrator Procedures, Advanced Workflows.
Network Queuing System (NQS). Controls batch queues Only on Cray SV1 Presently 8 queues available for general use and one queue for the Cray analyst.
A Brief Documentation.  Provides basic information about connection, server, and client.
TFTP: Trivial file transfer protocol
Agenda  Working with Processes: Purpose Running Programs within same process (execl, execlp, execle, execv, execvp, execve) “Spawning” other process (fork,
1 Linux Networking and Security Chapter 5. 2 Configuring File Sharing Services Configure an FTP server for anonymous or regular users Set up NFS file.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
CH 25-Remote Login (TELNET,Rlogin)
1 Chapter 34 Internet Applications (Telnet, FTP).
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
TCP/IP Protocol Suite 1 Chapter 19 Upon completion you will be able to: File Transfer: FTP and TFTP Understand the connections needed for FTP file transfer.
ORAFACT The Secure Shell. ORAFACT Secure Shell Replaces unencrypted utilities rlogin and telnet rsh rcp Automates X11 authentication Supports tunneling.
EPICS EPICS Collaboration Meeting Argonne National Laboratory drvTS improvements for soft timing EPICS Collaboration Meeting Argonne National Laboratory.
CRaSH Portal Team. 2 Agenda Introduction to CRaSH Deployment and connection Using the CRaSH command Develop the CRaSH commands yourself.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 CA-Put Logging BurtSave Warm Reboot Matthias Clausen DESY/ MKS.
Accessing Evitech network via FTP by Susan Jansson.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
Department of Computer Science Southern Illinois University Edwardsville Spring, 2008 Dr. Hiroshi Fujinoki FTP Protocol Programming.
Remote Access Usages. Remote Desktop Remote desktop technology makes it possible to view another computer's desktop on your computer. This means you can.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
1 Tips for the assignment. 2 Socket: a door between application process and end- end-transport protocol (UDP or TCP) TCP service: reliable transfer of.
Ch26 Ameera Almasoud 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
Internet and Intranet Protocols and Applications Lecture 6 Application Protocols: Telnet, FTP February 27, 2002 Joseph Conron Computer Science Department.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Chapter 13 FTP and Telnet Cisco Learning Institute Network+ Fundamentals and Certification Copyright ©2005 by Pearson Education, Inc. Upper Saddle River,
FTP Lecture supp.
Module 4 Remote Login.
Parallel Virtual Machine
File Transfer and access
Client/Server Example
File Transfer Protocol
CIS 155 Lecture 10, Farewell to UNIX
Chapter 3 The UNIX Shells
File Transfer Protocol
Internet Applications (Telnet, FTP)
Presentation transcript:

SNS Integrated Control System A process manager for soft IOCS DH Thompson

SNS Integrated Control System ProcServ Goals l Allow soft IOCs and sequencers to run in the back ground on a unix/linux server without a controlling user session. l Should not create a glaring security hole. l Allow IOC engineers to connect, control, monitor and restart the soft IOC. l Should be stand alone and not need a co-developed client program. Use telnet.

SNS Integrated Control System ProcServe implementation l Task starts up and forks a daemon as a new process group leader. l A pseudo tty master/slave pair is allocated and the soft IOC is started with stdin/stdout/stderr assigned to the slave PTY. l A user can use telnet at the port specified on the command line to access the master side of the soft IOC’s PTY. l The server in procServ understands telnet protocols. l The soft IOC is always restarted (after a delay) if it dies. l A telnet user can force a reboot of the soft IOC with a ^X, this sends a kill signal to the soft IOC’s process. l All soft IOC threads are cleaned up when the IOC reboots or the procServ process is killed.

SNS Integrated Control System Startup #!/bin/bash # Customize this file for your host. # This is a starting point! cd /ade/epics/iocCommon/ics-tim-linux2 procServ 7103 /ade/epics/iocCommon/ics-tim- linux2/startup.cmd Startup.cmd is an executable script that starts the iocCore binary with st.cmd as the command line parameter.

SNS Integrated Control System Connecting To a proServ Managed IOC ics-tim-linux2]$ telnet localhost 7103 Trying Connected to ics-srv-softioc1 ( ). Escape character is '^]'. procServ: my pid is: Startup directory: /ade/epics/iocCommon/ics-tim-linux2 Startup command: /ade/epics/iocCommon/ics-tim-linux2/startup.cmd Welcome to the epics process server! Use ^] to quit telnet, and ^X to reboot the IOC. Connected users=1 epics> epics> dbcar ncalinks 1 not connected 0 no_read_access 0 no_write_access 0 nDisconnect 0 nNoWrite 0

SNS Integrated Control System Rebooting the soft IOC with ^X epics> Closing the IOC, a new one will be restarted shortly Restarting /ade/epics/iocCommon/ics-tim-linux2/startup.cmd cd /ade/epics/iocTop/R3.14.4/timingSoftIocs/Development dbLoadDatabase("dbd/scope.dbd") scope_registerRecordDeviceDriver(pdbbase) dbLoadRecords("db/ics-tim-linux2.db","") dbLoadRecords("db/service.db","") set_requestfile_path /ade/epics/iocTop/R3.14.4/timingSoftIocs/Development/db set_savefile_path /ade/epics/iocCommon/ics-tim-linux2/var set_pass0_restoreFile ics-tim-linux2.sav cd /ade/epics/iocTop/R3.14.4/timingSoftIocs/Development/iocBoot/ics-tim-linux2 iocInit() ############################################################################ ### EPICS IOC CORE built on Feb ### EPICS R $$Name: $$ $$Date: 2003/10/18 17:42:28 $$ ############################################################################ Starting iocInit

SNS Integrated Control System Bugs l When stepping through interactive commands in the sequencer you must explicitly type a line feed instead of a carriage return when the tty is in raw single character mode. l Passwords are not implemented, access is allowed only from the loop back interface on the host. l Only enough of the telnet protocol is implemented to get by, a framework is there to implement more as needed. l Needs a log file option in the command line.

SNS Integrated Control System Availability