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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: EPICS Docker Container
From: Florian Feldbauer via Tech-talk <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 8 Jul 2019 08:58:33 +0200
Dear all,

at the collaboration meeting last month I presented, that we are looking into Docker containers for deploying and managing our EPICS installations for the PANDA experiment. I have now tested several things with containers for IOCs, ca-gateway, phoebus and the archive-engine (from phoebus).

@Heinz: During the meeting you asked how the containers get access to network devices: Actually, this is quiet easy. if you use the bridge network driver from Docker for the virtual network your containers live in, NATing is enabled by default. (Otherwise CMS which are usually run inside of containers could not get their updates ;-) ). So even if you run mutliple IOCs on the same host, accessing network devices is no problem. For access those IOCs via CA from a remote host you need a CA gateway as well. I also tested access to serial devices with asyn+stream.

One thing which is not working for me at the moment is PVaccess. For CA i add the option `-p 5064-5065:5064-5065 -p 5064-5065:5064-5065/udp` to publish the CA ports of my container (either IOC or ca-gateway) to the outside world. For PVaccess I tried with `-p 5075:5075 -p 5076:5076/udp` but this was not working. Accessing the IOC from the host directly (via the virual network) works. So the IOC has a PVaccess server. Did I miss some important ports for PVaccess or is this protocol working differently when establishing connections? The IOC is connected to a virtual network with its own IP address. The ports are mapped to the physical ports of my host system. The remote client only "sees" the physical connection of my host.

If anyone is interested in this work let me know! We will establish our own docker registry server soon, where the images will be made available.

Best regards,
Florian

--
Dr. Florian Feldbauer

Ruhr-Universität Bochum
Experimentalphysik I AG
Universitätsstr. 150
Fach-Nr. 125
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de


Replies:
Re: EPICS Docker Container Lucas Russo via Tech-talk

Navigate by Date:
Prev: Problems with stream device 2.8.8 Abdalla Ahmad via Tech-talk
Next: re:EPICS Docker Container Jack Harper - UKRI STFC 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  <20192020 
Navigate by Thread:
Prev: Fwd: Problems with stream device 2.8.8 Mark Rivers via Tech-talk
Next: Re: EPICS Docker Container Lucas Russo 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  <20192020 
ANJ, 10 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·