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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Connecting EDM screens to multiple soft IOCs on the same machine on a separate subnet. |
From: | Alan Greer <[email protected]> |
To: | Andrew Johnson <[email protected]> |
Cc: | [email protected] |
Date: | Wed, 16 Oct 2013 17:33:12 +0100 |
Hi Alan,caRepeater is only used by CA clients running on the same machine, so that won't help this situation at all.
On 10/16/2013 09:01 AM, Alan Greer wrote:
I have a headless server (serv01) running two soft IOCs (IOC-01 and IOC-02).
I have another machine on a separate subnet that runs the EDM GUI
applications for those IOCs.
caRepeater is running on serv01.
Kay's explanation of the problem is correct, but there are alternative solutions to running a CA gateway.
I hope I have explained this with enough detail, can anyone help me so
that the connections to IOC-01 are not lost(?) when running up IOC-02.
1. You could run a CA Nameserver in the GUI subnet which knows about the IOCs and responds to search requests; in this case you would *not* set the EPICS_CA_ADDR_LIST variables. This is almost equivalent to running a CA Gateway, but is slightly more robust in that if the Nameserver process dies it wouldn't kill any existing connections.
2. If you have access to a machine with a network interface on both subnets you could also try running a program on it called UDP Broadcast Packet Relay https://www.joachim-breitner.de/udp-broadcast-relay/ which forwards broadcast packets between subnets. You would probably have to run it twice, once on port 5064 and once on 5065; the first one will forward CA search requests between the subnets, and the second sends the CA beacons. If you do have success with this please let us know, we use it here at the APS for forwarding timing UDP packets but not for CA.
- Andrew
--
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock