120 likes | 269 Views
B est E ver A larm S ystem T ool. Kay Kasemir kasemirk@ornl.gov Oct. 2008. Status Quo: ALH. “Works”, stable Beautiful? Ugly? X11 only, fixed layout Only full-feature view is “Tree” “Active alarms only” is one-time filter Alarm “history” list limited to 10 entries, no guidance/ack/…
E N D
Best Ever Alarm System Tool Kay Kasemir kasemirk@ornl.gov Oct. 2008
Status Quo: ALH “Works”, stable Beautiful? Ugly? X11 only, fixed layout Only full-feature view is “Tree” “Active alarms only” is one-time filter Alarm “history” list limited to 10 entries, no guidance/ack/… No online editing of configuration Change masks etc. in running instance, or edit file & restart all instances Is 1996 Motif code worth major rework? IOC • ALH • Display • Beeping • Acknowledgement • Logging • Masking Log Files
DESY Alarm System IOC Other CSS Interconnection Server JMS Filt.Alrm ALARM LOG JMS2RDB Filters LDAP GUI RDB
Design Choices All IOCs send all alarms? That would be 350000 SNS PVs.Instead of more alarms, we need useful alarms. LDAP for configuration/state Choice was based on available infrastructure.For SNS that would be Oracle, for others MySQL or ... Filter Mechanism unclear Enable, latch, annunciate, chatter delay/count?
‘This’ Alarm System IOC CSS Archive Engine Other Channel Access Log Messages • Alarm Server • Alarm Logic: • Current? Acknowledged? • Guidance, Links • Transient? • Annunciated? JMS TALK LOG ALARM JMS2Speech JMS2RDB New Alarms, Ack. Config, State RDB Log History GUI RDB
Tree (‘all’ or ‘current’) and/or Table (current) Both allow configuration of current alarm items Tree can also configure items which aren’t in alarm Hierarchy used for guidance, related links (http, edm, …), commands Tree elements inherit guidance etc. from parent entries BNL/RHIC type acknowledge and un-acknowledge Alarm GUI Ideas
Latch highest severity, or non-latching? like ALH “ack. transient” Annunciate? Chatter filter ala ALH Alarm only if severity persists some minimum time .. or alarm happens >=N times within period When acknowledging MAJOR alarm, subsequent MINOR alarms not annunciated ALH would again blink/require ack’ General Alarm Behavior Ideas
Alarm updates use JMS ‘ALARM’ topic Alarm state changes, ack’, config changes, … Alarm history via generic JMS-to-RDB tool and log viewer Could be combined with ‘LOG’, ‘TALK’, … messages Message History
RDB schema for alarm config/state Tweak current MySQL schema, port to Oracle Add Web Tools to report state, edit config Alarm Server, GUI User/password to edit config? Testing Filters: Show only “Vacuum” alarms… Next TODOs
“Alarm Config” is really Hierarchy of Channels to alarm on Description, Guidance, Related Displays, Commands Alarm Limits and severities Machine mode switch can require changes to List of channels (“Alarm System”) Limits & severities (“EPICS Database”) Use DESY Idea, one big “bumpless” file? Unresolved Issues