EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: kafka alarm server does not acknowledge
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Geoffrey Savage <savage at fnal.gov>
Date: Thu, 26 May 2022 20:33:50 +0000
> I don't see the acknowledge command messages being received by kafka using the monitor_topic.sh command.

Make sure you monitor the ..Command topic. Assuming your alarm configuration root is "Accelerator", then

 monitor_topic.sh Accelerator

should show the status changes, including a channel entering the alarm state.
Looks like that part works fine because your UI also indicates alarms.
In a second terminal,

 monitor_topic.sh AcceleratorCommand

should show the acknowledgement, something like

command:/Accelerator/DemoSystem/SomePV: {"user":"xxx","host":"xxx.site.org","command":"acknowledge"}

If the UI shows the alarms, then it should also write to the appropriate ..Command topic.
But it's possible that the Accelerator, AcceleratorCommand and AcceleratorTalk topics weren't properly configured in Kafka.

Run
 list_topics.sh
to see if they are.

In the setup, https://github.com/ControlSystemStudio/phoebus/blob/master/app/alarm/Readme.md, note the suggestion to configure Kafka to NOT automatically create topics on first access,
  auto.create.topics.enable=false
and instead use the script
 create_alarm_topics.sh Accelerator
to create Accelerator, AcceleratorCommand and AcceleratorTalk as necessary, with the first one 'compacted' etc.


-Kay




From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Geoffrey Savage via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, May 26, 2022 4:20 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] kafka alarm server does not acknowledge
 
Hi,

We have setup the kafka based alarm server from phoebus.  We receive alarms in all three UIs but are unable to acknowledge the alarms.

I don't see the acknowledge command messages being received by kafka using the monitor_topic.sh command.

Any idea if this is a kafka configuration issue or I don't understand how alarm acknowledgement works?

Geoff

References:
kafka alarm server does not acknowledge Geoffrey Savage via Tech-talk

Navigate by Date:
Prev: kafka alarm server does not acknowledge Geoffrey Savage via Tech-talk
Next: RE: Bus errors accessing VME with base 7.0.6.1 and latest synApps modules Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: kafka alarm server does not acknowledge Geoffrey Savage via Tech-talk
Next: A module for LabMax laser power/energy meter (Coherent) Jong Woo Kim via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·