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 <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 2021 2022 <2023> 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: only use PVAccess |
From: | Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> |
To: | Andrew Johnson <anj at anl.gov>, "Daykin, Evan" <daykin at frib.msu.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 18 Jan 2023 22:37:19 -0800 |
On 1/18/23 13:51, Andrew Johnson via Tech-talk wrote:
Excluding RSRV like I suggested might break iocStats, so you might have to exclude that. Note that IOCs cannot currently be built without support for CA links (dbCa), and that isn't in any plans to work on that I know about. If you want to prevent them from being able to connect, you can change the EPICS_CA_SERVER_PORT environment variable to some other port number before iocInit. Actually setting environment variables to change port numbers might be another way to do what you're wanting without having to rebuild the IOC...
RSRV can be disabled at runtime with:
export EPICS_IOC_IGNORE_SERVERS=rsrv
- Andrew On 1/18/23 3:33 PM, Andrew Johnson via Tech-talk wrote:Hi Evan, I haven't tested this recently, but you should be able to copy the base.dbd file from your Base/dbd directory into the source directory where you build that IOC binary and remove the inclusion of the rsrv.dbd file from the end of that copy. The base.dbd file only needs to be copied into the source directory, don't add it to the Makefile at all. Then rebuild the IOC (make sure you do either a 'make rebuild' or 'make clean; make') and the CA server should have been excluded from the resulting binary. - Andrew On 1/18/23 2:45 PM, Daykin, Evan via Tech-talk wrote:Hi, I just had someone ask me if I could disable channel access on one of our test IOCs, so they could make sure that their application correctly processes PVAccess data. For now, we decided on blocking CA traffic on the client end. Is there a way to completely disable CA from being built into an IOC? -Evan *Evan Daykin* Controls Engineer Facility for Rare Isotope Beams Michigan State University 640 South Shaw Lane East Lansing, MI 48824, USA Tel. 517-908-7678 Email: daykin at frib.msu.edu <mailto:daykin at frib.msu.edu> *cid:[email protected]*-- Complexity comes for free, Simplicity you have to work for.-- Complexity comes for free, Simplicity you have to work for.