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  <20202021  2022  2023  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to run IOC in docker containers properly
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>, "Konrad, Martin" <konrad at frib.msu.edu>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 17 Jun 2020 20:06:22 -0700
On 6/17/20 4:26 PM, Johnson, Andrew N. via Tech-talk wrote:
>> While we're at it I would like to propose a forth solution: How about
>> beefing up the IOC itself so it can listen on a socket for connections
>> to the IOC shell? This would come with a few advantages (some of them
>> might only apply to systems running systemd):
>>
>> ...
>>
>> Thoughts? Maybe a project for the upcoming online codeathon?
> 
> I think that would be best implemented in an external module. You don’t have to use the iocsh to run your IOCs – you can write your own shell, or set up the stdin/stdout/stderr streams to point to something else before running iocsh() in the main() routine. You might want to disable readline if you do that though unless you are completely emulating a tty.

Something like this would be functionally similar to the RTEMS telnetd
created by Till Straumann.  I quite liked that feature.

I think having the option of a more daemon-like IOC, while preserving
the feature set of IOC shell, would be an excellent project.  While
it would probably be best to try this idea as an external module (if
possible).  I see no reason why this sort of enhancement couldn't be
included in Base.

Replies:
Re: How to run IOC in docker containers properly Heinz Junkes via Tech-talk
Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk
References:
How to run IOC in docker containers properly xiao zhang via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Re: How to run IOC in docker containers properly Konrad, Martin via Tech-talk
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: EPICS across subnets Michael Davidsaver via Tech-talk
Next: Re: How to run IOC in docker containers properly Heinz Junkes 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
Next: Re: How to run IOC in docker containers properly Heinz Junkes 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  <20202021  2022  2023  2024 
ANJ, 18 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·