EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
<== Date ==> <== Thread ==>

Subject: Re: caRepeater question
From: Zimoch Dirk via Core-talk <core-talk at aps.anl.gov>
To: "tboegi at edom.se" <tboegi at edom.se>, "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Wed, 31 Jan 2024 12:44:28 +0000
I had found caStartRepeaterIfNotInstalled but it is called only once in the
udpiiu constructor.

The situation I have in mind: caRepeater is *not* running as a service. First
caClient starts it. Second client by another user finds the fist users
caRepeater and uses it. First user logs out or whatever and kills all its
processes. What happens with the second user's caClient?

There is a repeaterSubscribeTimer::expire which is there to re-register, I
think, but it will not restart caRepeater if is is not running. But probably re-
connect to caRepeater is something else has restarted it.

Reading more code....

On Wed, 2024-01-31 at 12:38 +0100, Torsten Bögershausen wrote:
> Hej Dirk,
> 
> Somewhere here:
> modules/ca/src/client/casw.cpp:106:    caStartRepeaterIfNotInstalled ( 
> repeaterPort );
> 
> 
> I think that once the repeater is has died, it has died.
> Even if a new one is started, clients need to re-register.
> Pretty unsure, if that is the case.
> But I can dig deeper into this tomorrow, if we don't have a better
> answer from an expert.
> 
> 
> 
> On 2024-01-31 12:13, Zimoch Dirk via Core-talk wrote:
> > Hi experts,
> > 
> > I have a question concerning the caRepeater and have difficulties to find the
> > answer in the source code or documentation.
> > 
> > If a CA client has registered to the caRepeater but then the caRepeater dies
> > before the client, will the client try to re-connect, possibly starting its own
> > caRepeater or will it be without caRepeater support for the rest of its life
> > time?
> > 
> > Dirk

Replies:
Re: Re: caRepeater question J. Lewis Muir via Core-talk
References:
caRepeater question Zimoch Dirk via Core-talk
Re: caRepeater question Torsten Bögershausen via Core-talk

Navigate by Date:
Prev: Re: caRepeater question Torsten Bögershausen via Core-talk
Next: Re: Re: caRepeater question J. Lewis Muir via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: caRepeater question Torsten Bögershausen via Core-talk
Next: Re: Re: caRepeater question J. Lewis Muir via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
ANJ, 31 Jan 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·