![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||||
|
Hello Dhruv, Regarding connecting a remote Phoebus to the alarm server, I also had difficulty getting this to work; here is what I did: My alarm server was running kafka, zookeeper, and elasticsearch. The kafka serves the alarm panel and alarm tree UI on the phoebus, and the elasticsearch is needed for the phoebus alarm logger UI. On the alarm server machine (epicsalmsrv), the kafka/config/server.properties file had these key lines: auto.create.topics.enable=false zookeeper.connect=localhost:2181 listeners=PLAINTEXT://0.0.0.0:9092 (I had a multi-network machine so 0.0.0.0 listens for requests on all ethernet ports, localhost:9092 should work for a single ethernet system) advertised.listeners=PLAINTEXT://epicsalmsrv:9092 On the alarm server machine, in /etc/elasticsearch/elasticsearch.yml: xpack.security.enabled: false I recall this setting wasn't present initially, but appears only after the elasticsearch service is started for the first time. On the alarm server machine, in the alarm_logger.properties file used when starting the alarm-logger.sh, you may need these key settings: alarm_topics=NSTX-U,Accelerator,CAMAC es_host=localhost es_port=9200 es_sniff=false es_create_templates=true bootstrap.servers=localhost:9092 On the remote phoebus, these were the key lines for alarms in my settings.ini file (I used three topics) : #for alarms org.phoebus.applications.alarm/config_name=NSTX-U org.phoebus.applications.alarm/config_names=NSTX-U,CAMAC,Accelerator org.phoebus.applications.alarm/server=epicsalmsrv:9092 # for the alarm logger #obsolete var --- org.phoebus.applications.alarm.logging.ui/es_host=epicsalmsrv org.phoebus.applications.alarm.logging.ui/service_uri=http://epicsalmsrv:8080 Also, besides tech-talk I found some good information about these topics on the GIT website, searching the "Issues" . Regards, -ps On Fri, Apr 5, 2024 at 4:34 PM Srinivas, Dhruv via Tech-talk <tech-talk at aps.anl.gov> wrote:
| ||||||||||||||||
ANJ, 11 Sep 2024 |
![]() · Download · Search · IRMIS · Talk · Documents · Links · Licensing · |