EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Redundancy Patch: rsrv
From: Andrew Johnson <[email protected]>
To: EPICS core-talk <[email protected]>
Date: Fri, 16 Nov 2007 17:35:21 -0600
Andrew Johnson wrote:
**************
Modified
**************

# source files
(18) base-3.14.9/src/rsrv/camsgtask.c
    Destroy client connections when the IOC is SLAVE.

Jeff Hill may wish to use a slightly different approach to implementing this functionality.


(19) base-3.14.9/src/rsrv/caservertask.c
    Register CAS-TCP task at RMT. Stop responding the client connection
    request when the IOC is SLAVE.

The #ifndef vxWorks block will not be accepted.

The changes here that provide the ability to stop CA server tasks
represent functionality that should be part of Base, although Jeff
Hill may want a different implementation.

The code that registers the CA server tasks with the RMT should be
replaced with a call through a global function pointer that the RMT
initialization code can set before iocInit().  By removing any need
for the rsrv code to perform the registration itself this also drops
the requirement for epicsFindSymbol() and for the rmtDrvIf.h header to
be included in Base.


(20) base-3.14.9/src/rsrv/cast_server.c
    Inactivate CAS-UDP task when the IOC is SLAVE.

(21) base-3.14.9/src/rsrv/online_notify.c
    Inactivate CAS-beacon task when the IOC is SLAVE.

Jeff Hill may wish to use a slightly different approach to implementing this functionality.


**************
Added
**************
(2) base-3.14.9/src/rsrv/rmtDrvIf.h
    The head file for RMT driver interface.

This header is not required if the task registration code is moved into the redundancy application and hooked into the IOC by setting a global function pointer before iocInit().

- Andrew
--
When a distinguished but elderly scientist states that something is
possible, he is almost certainly right.  When he states that something
is impossible, he is very probably wrong.  -- Arthur C. Clarke

Replies:
RE: Redundancy Patch: rsrv Jeff Hill
Re: Redundancy Patch: rsrv Liu, Gongfa
References:
Redundancy Patch: rsrv Andrew Johnson

Navigate by Date:
Prev: Re: Redundancy Patch: makeBaseApp Andrew Johnson
Next: Re: Redundancy Patch: configure Liu, Gongfa
Index: 2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Redundancy Patch: rsrv Andrew Johnson
Next: RE: Redundancy Patch: rsrv Jeff Hill
Index: 2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·