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  <20222023  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  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Making IOC spawn another IOC
From: "Shen, Guobao via Tech-talk" <tech-talk at aps.anl.gov>
To: "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>, "Engbretson, Mark S." <engbretson at anl.gov>, "'tech-talk at aps.anl.gov'" <tech-talk at aps.anl.gov>
Date: Thu, 25 Aug 2022 13:26:17 +0000

Guess the IOC2 is not redundancy of IOC1?

If yes, it would be a topic of redundant IOCs.

 

Otherwise, as you mentioned, you can use a regular external script, for example a bash script as you mentioned, to monitor for example the heartbeat of IOC1, & IOC2, to do the job.

 

Thanks,

Guobao

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Tech-Talk <tech-talk at aps.anl.gov>
Reply-To: "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>
Date: Wednesday, August 24, 2022 at 7:39 PM
To: "Engbretson, Mark S." <engbretson at anl.gov>, Tech-Talk <tech-talk at aps.anl.gov>
Subject: Re: Making IOC spawn another IOC

 

In the case IOC2 dies the ideal would be IOC 1 respawning it.

I didnt think about a case with more than two IOCs but im imagining a kind of process cascade right now.

Answering to this question i realized that maybe procServ with a regular bash script would do the job...


From: Engbretson, Mark S. <engbretson at anl.gov>
Sent: 24 August 2022 18:28
To: Marco A. Barra Montevechi Filho <marco.filho at lnls.br>; 'tech-talk at aps.anl.gov' <tech-talk at aps.anl.gov>
Subject: RE: Making IOC spawn another IOC

 

What happens when IOC2 dies? So does IOC 1? Or does IOC1 restart IOC 2? What happens when you have 5 – 10?

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Marco A. Barra Montevechi Filho via Tech-talk
Sent: Wednesday, August 24, 2022 3:50 PM
To: tech-talk at aps.anl.gov
Subject: Making IOC spawn another IOC

 

Hello all

I have a softIoc which controls operation of some other IOCs. Im interested in keeping the IOCs as separate processes, yet associate the initialization of one IOC with the initialization of the other IOC in such way that whenever IOC 1 is initialized, it spawns IOC 2 and when IOC 1 dies, IOC 2 also dies.


Is there an EPICS tool for that or should i look more into my OS process management tools?

Thanks for any tips,

Marco

 

Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.

Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.


Replies:
Re: Making IOC spawn another IOC Marco A. Barra Montevechi Filho via Tech-talk
References:
Making IOC spawn another IOC Marco A. Barra Montevechi Filho via Tech-talk
RE: Making IOC spawn another IOC Engbretson, Mark S. via Tech-talk
Re: Making IOC spawn another IOC Marco A. Barra Montevechi Filho via Tech-talk

Navigate by Date:
Prev: Re: Help compiling AreaDetector: error: variable ‘epicsShareClass NDAttribute’ has initializer but incomplete type Marco A. Barra Montevechi Filho via Tech-talk
Next: RE: [Ext] RE: [EXTERNAL] Recommended amplifiers/drivers for GALIL motor controllers? Pearson, Matthew 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  <20222023  2024 
Navigate by Thread:
Prev: Re: Making IOC spawn another IOC Marco A. Barra Montevechi Filho via Tech-talk
Next: Re: Making IOC spawn another IOC Marco A. Barra Montevechi Filho 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·