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  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Re: Autostart with manage-procs and network mounts
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Smith, William" <william.smith at helmholtz-berlin.de>, Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 3 Aug 2021 17:22:46 +0000
 
> > I am using manage-procs to deploy and manage IOC’s using systemd. ..network drive over nfs at boot that contains the built IOC binaries

> I think that "After=network.target remote-fs.target" should be enough to ensure ordering.  You could try adding
> "Requires=network.target remote-fs.target".

I think we had similar issues with network mounts not being up in time for the IOCs to start when we had just this in the IOC systemd files:

Requires=autofs.service

The following belt-and-suspenders approach fixed the problem, though I'm not sure exactly why:

Requires=autofs.service
After=autofs.service
Wants=autofs.service
BindsTo=autofs.service

-Kay

Replies:
Re: [EXTERNAL] Re: Autostart with manage-procs and network mounts Michael Davidsaver via Tech-talk
References:
Autostart with manage-procs and network mounts Smith, William via Tech-talk
Re: Autostart with manage-procs and network mounts Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Autostart with manage-procs and network mounts Michael Davidsaver via Tech-talk
Next: Re: [EXTERNAL] Re: Autostart with manage-procs and network mounts Michael Davidsaver 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Autostart with manage-procs and network mounts Michael Davidsaver via Tech-talk
Next: Re: [EXTERNAL] Re: Autostart with manage-procs and network mounts Michael Davidsaver 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  <20212022  2023  2024 
ANJ, 03 Aug 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·