Hello Merrill,
First check your configuration is correct.
Alarm server uses the CA_ADDR_LIST in the settings.ini given when you start the service with
java -jar service-alarm-server-*.jar -settings ${SERVER}/settings.ini
In this settings.ini you should have all the ip with IOC running
# Channel Access
org.phoebus.pv.ca/addr_list=127.0.0.1 192.168.0.12 192.168.0.13:5066
It doesn't use the environment variable $EPICS_CA_ADDR_LIST
Alarm Server reads the PV status and then writes to kafka. Phoebus is not connected to the alarm server, but directly to Kafka.
By default, Kafka listens only on localhost:9092, which means kafka, alarm server and phoebus must be on the same server.
If phoebus is on another server you must modify the server.properties in kafka and add:
listeners = PLAINTEXT://your.host.name:9092
In settings.ini you should change
org.phoebus.applications.alarm/server=localhost:9092
by
org.phoebus.applications.alarm/server=your.host.name:9092
and of course open your firewall on 9092
I use a java program to check my kafka server is running and messages are written regularly :
https://github.com/kumait/kafkavisualizer
By the way, Phoebus keeps the settings when a tab is open. I recommend to close all your tabs in phoebus and then open a new alarm tree to be sur your settings are correct.
Regards
Loïc
-----Message d'origine-----
De : Tech-talk <tech-talk-bounces at aps.anl.gov> De la part de Charles Merrill Jenkins via Tech-talk
Envoyé : lundi 31 juillet 2023 20:42
À : Phoebus Tech Talk <tech-talk at aps.anl.gov>
Objet : Alarm Topics Time out on system with network interface
Hello Everyone,
I have been able to setup a EPICS softIoc, setup Alarm Topics with kafka/zookeeper, configure the alarms with alarm-server.sh and then get phoebus to run with the alarm tree, alarm table and alarm area panel on a system with no network interface using localhost.
When I set up EPICS softIoc, zookeeper/kafka and alarm server that does has network interface, I find that the alarm topics disconnect soon after the alarm-server is started.
I found that I had to set EPICS_CA_AUTO_ADDR_LIST="NO" for EPICS to access the softIoc PV's. However, I can't find a way to get the alarm-topics to connect to the PV's.
Can someone point me in a direction on how to setup the alarm topic configuration to connect to the PV's or to the diagnotic programs or statements to look at so I can see what I have not setup?
Thanks for the help!
Thanks,
Merrill Jenkins
--
+++++++++++++++++++++++++
Merrill Jenkins
Professor of Physics
==== Mailing Address ====
Physics
411 University Blvd. N.
MSPB RM 115
Mobile, AL 36688
phone 251.414.8013
Dept: 251.460.6224
- References:
- Alarm Topics Time out on system with network interface Charles Merrill Jenkins via Tech-talk
- Navigate by Date:
- Prev:
epics-debhelper Daykin, Evan via Tech-talk
- Next:
Re: epics-debhelper Christoph Schröder 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
2022
<2023>
2024
- Navigate by Thread:
- Prev:
Alarm Topics Time out on system with network interface Charles Merrill Jenkins via Tech-talk
- Next:
epics-debhelper Daykin, Evan 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
2022
<2023>
2024
|