Hi Carsten,
Are there any firewalls involved on the computers concerned? I see the IOC that works is on the default EPICS 5064 port whereas the one that doesn’t is on a dynamically allocated port.
If you set EPICS_CA_ADDR_LIST= my_computer.bessy.de and it doesn’t work, I think that may be because it then sends a unicast UDP for name queries that only one of the iocs might see. Is the EPICS_CA_ADDR_LIST on the gateway computer set to use uinicast or broadcasts to resolve PVs?
Regards,
Freddie
> -----Original Message-----
> From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Carsten
> Winkler via Tech-talk
> Sent: 13 September 2022 14:21
> To: tech-talk at aps.anl.gov
> Subject: EPICS_CA_ADDR_LIST and multiple instances of a SoftIOC on Windows
>
> Hello tech-talkers,
>
> I have the following situation. My computer is running MS Windows and
> several SoftIOCs (EPICS BASE 7.0.6.1). Furthermore, there is a CA gateway in
> the local network.
>
> Without EPICS environment variables I get the following results:
>
> cainfo TestPV:aiExample
> CA.Client.Exception...............................................
> Warning: "Identical process variable names on multiple servers"
> Context: "Channel: "TestPV:aiExample", Connecting to:
> my_computer.bessy.de:5064, Ignored: ca_gateway.bessy.de:5064"
> Source File:
> D:\epics\epics-base-R7.0.6.1\modules\ca\src\client\cac.cpp line 1320
> Current Time: Tue Sep 13 2022 08:19:36.713908800
> ..................................................................
> TestPV:aiExample
> State: connected
> Host: my_computer.bessy.de:5064
> Access: read, write
> Native data type: DBF_DOUBLE
> Request type: DBR_DOUBLE
> Element count: 1
>
> cainfo TestPV:ai1
> TestPV:ai1
> State: connected
> Host: my_computer.bessy.de:62425
> Access: read, write
> Native data type: DBF_DOUBLE
> Request type: DBR_DOUBLE
> Element count: 1
> CA.Client.Exception...............................................
> Warning: "Identical process variable names on multiple servers"
> Context: "Channel: "TestPV:ai1", Connecting to:
> my_computer.bessy.de:62425, Ignored: ca_gateway.bessy.de:62425"
> Source File:
> D:\epics\epics-base-R7.0.6.1\modules\ca\src\client\cac.cpp line 1320
> Current Time: Tue Sep 13 2022 08:19:27.881409000
> ..................................................................
>
> Okay, lets fix the issue "Identical process variable names on multiple servers".
> set EPICS_CA_ADDR_LIST=ca_gateway.bessy.de
> set EPICS_CA_AUTO_ADDR_LIST=NO
>
> Now I get following results:
>
> cainfo TestPV:aiExample
> TestPV:aiExample
> State: connected
> Host: ca_gateway.bessy.de:5064
> Access: read, write
> Native data type: DBF_DOUBLE
> Request type: DBR_DOUBLE
> Element count: 1
>
> cainfo TestPV:ai1
> Channel connect timed out: 'TestPV:ai1' not found.
>
> Obviously the variables from the second SoftIOC with port 62425 are not
> found anymore. I have the same problem when I enter the address of the
> client computer in the EPICS_CA_ADDR_LIST.
> How do I solve this problem?
>
> Cheers,
> Carsten
>
>
>
> ________________________________
>
> Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
>
> Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher
> Forschungszentren e.V.
>
> Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-
> Unterseher
> Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking
>
> Sitz Berlin, AG Charlottenburg, 89 HRB 5583
>
> Postadresse:
> Hahn-Meitner-Platz 1
> 14109 Berlin
> Deutschland
>
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen
> enthalten. Wenn Sie diese E-Mail irrtümlich erhalten haben, informieren Sie
> bitte sofort den*die Absender*in und vernichten Sie diese Mail. Das
> unerlaubte Kopieren, die Veröffentlichung sowie die unbefugte Weitergabe
> dieser Mail ist nicht gestattet.
> This email may contain confidential and/or proprietary information. If you
> have received this e-mail in error, please inform the sender immediately and
> destroy this e-mail. Unauthorized copying, publishing or distribution of this e-
> mail is not permitted.
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.
- References:
- EPICS_CA_ADDR_LIST and multiple instances of a SoftIOC on Windows Carsten Winkler via Tech-talk
- Navigate by Date:
- Prev:
EPICS_CA_ADDR_LIST and multiple instances of a SoftIOC on Windows Carsten Winkler via Tech-talk
- Next:
Error while building ADSupport module Siddharth Vardhan Pratihast 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
<2022>
2023
2024
- Navigate by Thread:
- Prev:
EPICS_CA_ADDR_LIST and multiple instances of a SoftIOC on Windows Carsten Winkler via Tech-talk
- Next:
Re: [EXTERNAL] EPICS_CA_ADDR_LIST and multiple instances of a SoftIOC on Windows Hartman, Steven 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
<2022>
2023
2024
|