Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 CA-Put Logging BurtSave Warm Reboot Matthias Clausen DESY/ MKS.

Slides:



Advertisements
Similar presentations
WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
Advertisements

Module 5: Routing BizTalk Messages. Overview Lesson 1: Introduction to Message Routing Lesson 2: Configuring Message Routing Lesson 3: Monitoring Orchestrations.
Jan Hatje, DESY AMS – Alarm Management System PCaPAC AMS – Alarm Management System and CSS – Control System Studio Update PCaPAC 2008 J.Stefan Institute,
Module 5: TLS and SSL 1. Overview Transport Layer Security Overview Secure Socket Layer Overview SSL Termination SSL in the Hosted Environment Load Balanced.
NODEMANAGER WEBLOGIC SERVER. 1.Creating logical machines 2.Using nodemanager for server startup and shutdown GETTING STARTED.
Controls Group New Channel Access Nameserver Joan Sage 12/4/01.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
14-Nov-2000EPICS Workshop - Oak Ridge1 DESY Matthias Clausen DESY / MKS-2.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Inter Process Communication:  It is an essential aspect of process management. By allowing processes to communicate with each other: 1.We can synchronize.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
CS 497C – Introduction to UNIX Lecture 35: - TCP/IP Networking Tools Chin-Chih Chang
Fundamentals of Python: From First Programs Through Data Structures
Event Viewer Was of getting to event viewer Go to –Start –Control Panel, –Administrative Tools –Event Viewer Go to –Start.
Shell and Flashing Images Commands and upgrades. RS-232 Driver chip – ST3232C Driver chip is ST3232C Provides electrical interface between UART port and.
Experimental Physics and Industrial Control System (EPICS) Alarm Handler (ALH) Bob Dalesio, August 14, 1999.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Exchange 2010 Recipient and Mailbox Management IT:Network:Applications.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Configuring the MagicInfo Pro Display
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April Alarm Training Making.
© Ericsson Interception Management Systems, 2000 CELLNET Drop Administering IMS Module Objectives Manage the directory structure and files Manage.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
December 2004EPICS JAERI/ KEK 1 burtSave burtSave Albert Kagarmanov Matthias Clausen.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 6 System Calls OS System.
SNS Integrated Control System A process manager for soft IOCS DH Thompson.
Triggers A Quick Reference and Summary BIT 275. Triggers SQL code permits you to access only one table for an INSERT, UPDATE, or DELETE statement. The.
CSE 219 Computer Science III CVS
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Module 7: Managing Message Transport. Overview Introduction to Message Transport Implementing Message Transport.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
2/26/021 Pegasus Security Architecture Author: Nag Boranna Hewlett-Packard Company.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Five Managing Addresses.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
EPICS at DESY M. Clausen EPICS workshop Trieste’99 1 EPICS at DESY Matthias Clausen.
1 Day 18 Bash and the.files. 2 The.files ls shows you the files in your directory –Or at least most of them. –Some files are hidden. Try: ls –a –This.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 Reliability Secure IOC DESY Outlook Matthias Clausen DESY/ MKS.
Matthias Clausen, Gongfa Liu, Bernd Schoeneburg (DESY), ICALEPCS, 2007 XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Redundant EPICS.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
Linux Operations and Administration
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
Controls Zheqiao Geng Oct. 12, Autosave Additions/Upgrades and Experiences at SLAC Zheqiao Geng Controls Department SLAC National Accelerator Laboratory.
CHAPTER Windows Server Management. Chapter Objectives Give an overview of the Server Manager Provide details of accessing the Server Manager Explain the.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
1 Version 3.1 Module 5 Managing Cisco IOS Software.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Functions of Operating Systems V1.0 (22/10/2005).
Introduction to networking (Yarnfield) Configure a router.
Section 4 – Link Access Module (Lam) aka Data Adapters
Router Startup and Setup
Alarm Training Making the transition from alh to CSS Alarm Tools
Router Startup and Setup
The Lua Chunk Vault, an enhancement to epics base
Presentation transcript:

Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 CA-Put Logging BurtSave Warm Reboot Matthias Clausen DESY/ MKS

Reliability/ Secure IOC / Outlook M. Clausen / DESY 2 Requirements u Log operator actions –log any type of CA puts to IOC »do not log at application level but on the IOC –do not include IOC / IOC communications –deal with slider movements ( lot of puts) –write operator changes to log file –use logging for warm reboot

Reliability/ Secure IOC / Outlook M. Clausen / DESY 3 Implementation - on IOC u Use CA-security implementation as a hook forCA-put loging –Currently enabling/ disablimg CA-Security will also en./dis. CA-put logging –From CA-Security module a message queue is used for communication with additional programs »write changed value to specified (string) record »write logging string by means of the iocLogClient to the UNIX host ( implementation not finished)

Reliability/ Secure IOC / Outlook M. Clausen / DESY 4 Logging environment variables CA Put Logging environment variables (IOC side). u EPICS_AS_PUT_LOG_MQ - environment variable defining message queue name to register CA put requests. It must be set to not an empty string. If this variable is not defined or its value is an empty string the registering of CA puts and saving them into message queue will be disabled. u EPICS_AS_PUT_LOG_PV - environment variable defining the PV name where CA put logging will be done (additionally to logging into UNIX file). It is recommended to use for these purposes RSL-record type [2]. If this variable is not defined or its value is empty logging into PV will be disabled. u EPICS_IOC_CA_PUT_LOG_INET - environment variable defining the Internet address of Log server (on UNIX side). If this variable is not defined or ist value is empty the Internet address for standard IOC Log client is used (it must be defined in EPICS_IOC_LOG_INET environment variable, or by default is taken from EPICS configuration file CONFIG_SITE_ENV in directory base/config/) u EPICS_IOC_CA_PUT_LOG_PORT - environment variable defining the port number of Log server (on UNIX side). By default the port number 7010 is used.

Reliability/ Secure IOC / Outlook M. Clausen / DESY 5 Initialize CA-Put Logging Initialization and start of CA Put Logging u If Access Security is enabled and all environment variables described above are properly set registering of CA puts in message queue will be enabled automatically during the startup. Two other components of CA Put Logging (MQLogTask and iocCAPutLogClient) should be initialized during IOC startup. Two commands should be added in the startup file after iocInit command: 1.iocCAPutLogInit - command to initialize iocCAPutLogClient; 2.MQLogTaskStart - command to start MQLogTask

Reliability/ Secure IOC / Outlook M. Clausen / DESY 6 Disable CA-Put Logging CA Put Logging disabling in run time. u In order to disable CA Put Logging into PV one should execute following sequence of actions: – 1.Terminate MQLogTask with MQLogTaskStop shell command; – 2.Set EPICS_AS_PUT_LOG_PV environment variable to empy string by typing: putenv("EPICS_AS_PUT_LOG_PV="); – 3.Start again MQLogTask with MQLogTaskStart shell command.

Reliability/ Secure IOC / Outlook M. Clausen / DESY 7 Message Handling on IOC

Reliability/ Secure IOC / Outlook M. Clausen / DESY 8 Implementation - on UNIX u burtSave –monitor one or more (string) records the value of the string is equal to: “TheRecordNameOfTheChangedValue # NewValue” ( since the format is a burt format is the number of values) –create burt snapshot file with the current new recordName / Value fields for each IOC that is monitored –save snap file every seconds –monitor a second (binary) record –write dated snap file if value of binary record is true and reset the value to false. In addition write actual system time to specified string record: Last stored at... time

Reliability/ Secure IOC / Outlook M. Clausen / DESY 9 BurtSave Config File ###comment ##comment 1.0version #comment :caPutMsgLog_rslstring record with recordName / Value :setRebootSav_bibinary record to trigger new dated snap file :last_burt_strstring record “last saved at “ ttfKryoPSIOC - name mhe-iaIOC - name testPSC IOC - name

Reliability/ Secure IOC / Outlook M. Clausen / DESY 1010 BurtSave Processing

Reliability/ Secure IOC / Outlook M. Clausen / DESY 11 Warm Reboot u Snap file contains ‘current’ status of all changes u Data are max. old u Setting binary record before reboot will write all current data to disk u Limitation: u => “recordName # value” - string may not exceed 40 chars. (CA limitation!)

Reliability/ Secure IOC / Outlook M. Clausen / DESY 1212 Secure burtSave ( locking of processes)

Reliability/ Secure IOC / Outlook M. Clausen / DESY 1313 Implementation of Log File - on UNIX (still under development) u Special iocLogServer u read config file –special log file for each IOC –special methods to deal with ‘file full’ example: epicsVME40.desy.de { basic { logfile=/applic/log/system/ttfkryoCB; limit=100000; }

Reliability/ Secure IOC / Outlook M. Clausen / DESY 1414 Status: u CA-Put logging on IOC through message queue –to string record –to dedicated task for filtering and writing to UNIX »writing to UNIX u burtSave on UNIX to log all current values –40 chars limitation u iocLogServer –needs testing u bundled version as soon as iocLogClient done