Experimental Physics and Industrial Control System
You originally said:
>> B and C are on another subnet (IP addr: 192.168.1.23 and 192.168.1.25)
Which of those addresses is the second NIC on the Centos machine and which is the Windows machine?
I would suggest removing these on the Windows machine:
EPICS_CA_ADDR_LIST=192.168.1.25
EPICS_CA_AUTO_ADDR_LIST=NO
It will then search on 192.168.1.255 (broadcast address). That should find PVs on the Centos machine. If you specify the EPICS_CA_ADDR_LIST as a single IP address it won't work if the Centos machine is running more than one IOC.
I would also remove this on the Centos machine
EPICS_CA_ADDR_LIST: localhost
If you run an EPICS CA client on the Centos machine you will need to specify a which NIC to use or you will get warnings about PVs on multiple addresses. But for now leave that off and once you have the PC finding the PVs you can set:
EPICS_CA_ADDR_LIST=192.168.1.255
EPICS_CA_AUTO_ADDR_LIST=NO
Mark
________________________________
From: Bhavna N. Merh <[email protected]>
Sent: Wednesday, November 27, 2019 3:59 AM
To: Mark Rivers
Cc: [email protected]
Subject: Re: Accessing IOC on different subnet
Hello,
The responses are :
For windows PC-
APPDATA=C:\Users\Admin\AppData\Roaming
CATOOLS=C:\Program Files (x86)\National Instruments\LabVIEW
2016\user.lib\caLab\lib
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=BL09-BACKUP-PC
ComSpec=C:\WINDOWS\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
EPICS_CA_ADDR_LIST=192.168.1.25
EPICS_CA_AUTO_ADDR_LIST=NO
For CentOS PC-
EPICS_CA_ADDR_LIST: localhost
EPICS_CA_CONN_TMO: 30.0
EPICS_CA_AUTO_ADDR_LIST: NO
EPICS_CA_REPEATER_PORT: 5065
EPICS_CA_SERVER_PORT: 5064
EPICS_CA_MAX_ARRAY_BYTES: 6000000
EPICS_CA_MAX_SEARCH_PERIOD: 300.0
EPICS_CA_NAME_SERVERS is undefined
EPICS_CAS_INTF_ADDR_LIST: localhost
EPICS_CAS_IGNORE_ADDR_LIST is undefined
EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined
EPICS_CAS_BEACON_ADDR_LIST is undefined
EPICS_CAS_SERVER_PORT is undefined
EPICS_CA_BEACON_PERIOD: 15.0
EPICS_CAS_BEACON_PERIOD is undefined
EPICS_CAS_BEACON_PORT is undefined
EPICS_TIMEZONE: CST/CDT::360:030802:110102
EPICS_TS_NTP_INET is undefined
EPICS_IOC_LOG_PORT: 7004
EPICS_IOC_LOG_INET is undefined
EPICS_IOC_LOG_FILE_LIMIT: 1000000
EPICS_IOC_LOG_FILE_NAME is undefined
EPICS_IOC_LOG_FILE_COMMAND is undefined
EPICS_CMD_PROTO_PORT is undefined
EPICS_AR_PORT: 7002
IOCSH_PS1: epics>
IOCSH_HISTSIZE: 50
-Bhavna
On 27-11-2019 10:27, Mark Rivers wrote:
> Hi Bhavna,
>
> It seems to me that the setup you describe should work without setting
> the EPICS environment variables at all. The IOC on B should make its
> PVs available on both subnets.
>
> At the IOC prompt on B type epicsPrtEnvParams and send the output. On
> C type “set” and send the results for any environment variables
> starting with EPICS.
>
> Are the subnet masks all set correctly? It looks like they should be
> 255.255.255.0.
>
> Mark
>
>
> Sent from my iPhone
>
>> On Nov 26, 2019, at 9:22 PM, Bhavna N. Merh via Tech-talk
>> <[email protected]> wrote:
>>
>> I have a device (say A) and 2 PCs (B and C)
>>
>> B a CentOS 7 PC has 2 NICs. C is a windows 10 PC.
>>
>> A and B are on one subnet (IP addr of both respectively: 192.168.0.2
>> and 192.168.0.1)
>>
>> B and C are on another subnet (IP addr: 192.168.1.23 and 192.168.1.25)
>>
>> The IOC runs on B and gathers data from device A.
>>
>> I am unable to access the PVs from C. caget says channel connection
>> timeout. (All firewalls are disabled)
>>
>> Suggest what to write in EPICS_CA_ADDR_LIST and where.
>>
>>
>> Bhavna N. Merh
>> Scientific Officer, Accelerator Control Systems Division
>> Raja Ramanna Centre for Advanced Technology
>> Indore, Madhya Pradesh, India -452013
>> Ph:(0731)248-8055
>> "Complexity comes for free, Simplicity you have to work for."
- References:
- Accessing IOC on different subnet Bhavna N. Merh via Tech-talk
- Re: Accessing IOC on different subnet Mark Rivers via Tech-talk
- Re: Accessing IOC on different subnet Bhavna N. Merh via Tech-talk
- Navigate by Date:
- Prev:
Getting TOD Stefen Paul via Tech-talk
- Next:
areaDetector and GigE Prosilica GE680 Bekman, Ilja 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:
Re: Accessing IOC on different subnet Bhavna N. Merh via Tech-talk
- Next:
Re: Accessing IOC on different subnet Johnson, Andrew N. 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