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  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Re: starting IOC with systemd
From: "Hu, Yong via Tech-talk" <tech-talk at aps.anl.gov>
To: "Leblanc, Gregory" <leblanc at ohio.edu>, EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 28 Jun 2023 13:45:34 +0000

Hi Greg,

I know the instructions in systemd-softioc seem too long (too long; didn't read). I will try to simplify ‘README’ as much as possible.

There is one sentence you probably did not pay enough attention: “CHDIR/EXEC: if you do not have st.cmd in /epics/iocs/example1, you have to set CHDIR and EXEC accordingly. See config.example for reference.”. So you just need to add one more variable “CHDIR=/epics/iocs/myIOCname/iocBoot/iocmyIOCname”.

Cheers,
Yong

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Leblanc, Gregory via Tech-talk <tech-talk at aps.anl.gov>
Date: Tuesday, June 27, 2023 at 5:25 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: RE: [EXTERNAL] Re: starting IOC with systemd

This looks slick, but I don’t quite understand how to set it up.  I ran through the instructions, got procServ installed (still not in EPEL for Centos 9), got system-softioc installed, created /epics/iocs and made the config file, and then got confused.  It says that st.cmd should be in that directory, but st.cmd as generated (I think by makeBaseApp.pl) contains a lot of relative paths.  Does that mean that my whole IOC should have been created in /epics/iocs/myIOCname?  If I do that, my st.cmd will wind up in /epics/iocs/myIOCname/iocBoot/iocmyIOCname/.  That doesn’t match with the default path that shows up in the output of ‘manage-iocs report’, which makes me feel like I’ve missed some steps. 

 

I also found that procServ won’t work with the python that ships with Centos 9 Stream, unless I pulled the change from commit 3330d41 (which apparently landed 6 weeks after the last tarball was made in 2019). 

     Greg

 

--

Gregory Leblanc

Accelerator Engineer

Edwards Accelerator Lab - Ohio University

123 University Terrace

Athens, OH 45701 USA

leblanc at ohio.edu

M: (401) 52-OUAL1 or (401) 526-8251

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Sinclair, John via Tech-talk
Sent: Tuesday, June 20, 2023 6:10 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>; Ralph Lange <ralph.lange at gmx.de>
Subject: Re: [EXTERNAL] Re: starting IOC with systemd

 

 

John Sinclair

ORNL

 


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, June 20, 2023 10:44 AM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Re: starting IOC with systemd

 

Hi Dave,

 

On Tue, 20 Jun 2023 at 16:26, David A. Slimmer via Tech-talk <tech-talk at aps.anl.gov> wrote:

I’m trying to setup a pi node so that it starts my IOC at boot time using systemd. [...]

 

Many facilities use procServ to run IOCs, which also provides access to the IOC console.

procServ is known to be handling systemd starting nicely.

 

Cheers,
~Ralph


References:
starting IOC with systemd David A. Slimmer via Tech-talk
Re: starting IOC with systemd Ralph Lange via Tech-talk
Re: [EXTERNAL] Re: starting IOC with systemd Sinclair, John via Tech-talk
RE: [EXTERNAL] Re: starting IOC with systemd Leblanc, Gregory via Tech-talk

Navigate by Date:
Prev: Re: Question about fetching history data from MySQL by using phoebus Kasemir, Kay via Tech-talk
Next: Re: Question about fetching history data from MySQL by using phoebus Han Lee 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  <20232024 
Navigate by Thread:
Prev: RE: [EXTERNAL] Re: starting IOC with systemd Leblanc, Gregory via Tech-talk
Next: Phoebus Tools and Services Documentathon/Codeathon Session update Shroff, Kunal 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  <20232024 
ANJ, 28 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·