Just wanted to add the message I am referring to for the conflict of running multiple IOCs
cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 37845,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
-----Original Message-----
From: Manoussakis, Adamandios <manoussakis1 at llnl.gov>
Sent: Wednesday, March 17, 2021 3:53 PM
To: Manoussakis, Adamandios <manoussakis1 at llnl.gov>; Mark Rivers <rivers at cars.uchicago.edu>
Cc: Jeong Han Lee <citadel.lee at gmail.com>
Subject: RE: Multiple IOCs on one host Issue
So I tried out the script that was made by Ralph Lange, I placed the ioc.sh in both /etc/network/if-up.d and /etc/network/if-down.d and restarted the networking (even restarted the host running all of the IOCs). Had my client set up as usual to try to talk to the IOCs but once I start up multiple, it is not able to do caget once a new IOC is the latest one run. Environment variables are set just with client pointing to host IP and host pointing to client IP, no broadcast addresses set in either env var. Host is Ubuntu 18.04 that is running the multiple IOCs, seems from reading over the script that this should solve the issue but not sure whats going wrong. I did make the scripts runnable with sudo chmod +x ioc.sh in each of the folders as well.
-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Manoussakis, Adamandios via Tech-talk
Sent: Wednesday, March 17, 2021 9:40 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: Multiple IOCs on one host Issue
Thanks Han/Mark I will look into both options and see what I can get working.
Sent from my iPhone
> On Mar 17, 2021, at 5:42 AM, Mark Rivers <rivers at cars.uchicago.edu> wrote:
>
>
>>
>> Sorry wanted to add, or can I just go back to using the IP addresses of the server/client instead of broadcast?
>
>
> No, you cannot do that. It will only find one of the IOCs on the server if you do that. You either need to use the directed broadcast mechanism or the iptables mechanism.
>
>
> Mark
>
>
>
> ________________________________
> From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of
> Manoussakis, Adamandios via Tech-talk <tech-talk at aps.anl.gov>
> Sent: Wednesday, March 17, 2021 1:44 AM
> To: Jeong Han Lee
> Cc: tech-talk at aps.anl.gov
> Subject: RE: Multiple IOCs on one host Issue
>
> Sorry wanted to add, or can I just go back to using the IP addresses of the server/client instead of broadcast?
>
> -----Original Message-----
> From: Jeong Han Lee <citadel.lee at gmail.com>
> Sent: Tuesday, March 16, 2021 11:41 PM
> To: Manoussakis, Adamandios <manoussakis1 at llnl.gov>
> Cc: tech-talk at aps.anl.gov
> Subject: Re: Multiple IOCs on one host Issue
>
> You may look at an old discussion which I did with Ralph
>
> https://urldefense.us/v3/__https://github.com/jeonghanlee/epics_NIOCs/
> issues/1__;!!G2kpM7uM-TzIFchu!j4tNUmtCNRdzOlwSDWb8IXbletOBRPmJOrsXcbmr
> 8ERl0IQ6HdN1Q-Ra-hu-kSSFg-jB$
>
> HTH,
> Han
>
>> On Tue, Mar 16, 2021 at 11:39 PM Jeong Han Lee <citadel.lee at gmail.com> wrote:
>>
>> Hi Adam,
>>
>> Please look at the following document, which Ralph prepared, and I
>> updated "slightly"
>>
>> https://urldefense.us/v3/__https://epics-controls.org/resources-and-s
>> u
>> pport/documents/howto-documents/channel-access-reach-multiple-soft-io
>> c
>> s-linux/__;!!G2kpM7uM-TzIFchu!j4tNUmtCNRdzOlwSDWb8IXbletOBRPmJOrsXcbm
>> r
>> 8ERl0IQ6HdN1Q-Ra-hu-kQpNTyTR$
>>
>> And here is my own old tool which you may use for fun.
>> https://urldefense.us/v3/__https://github.com/jeonghanlee/epics_NIOCs
>> _
>> _;!!G2kpM7uM-TzIFchu!j4tNUmtCNRdzOlwSDWb8IXbletOBRPmJOrsXcbmr8ERl0IQ6
>> H
>> dN1Q-Ra-hu-kTcpl7-k$
>>
>> Best,
>> Han
>>
>>> On Tue, Mar 16, 2021 at 11:20 PM Manoussakis, Adamandios via
>>> Tech-talk <tech-talk at aps.anl.gov> wrote:
>>>
>>> Hello All,
>>>
>>>
>>>
>>> I am having trouble solving the use of multiple IOCs running on my linux host. Currently I start up 4-5 IOCs on my linux host but depending on the order my client cant access one of the IOCs, the host/client are on different subnets 192.168.1.X/192.168.2.X respectively. I had a previous post where it was brought up that I should be able to add in the EPICS_CA_ADDR_LIST the broadcast address on the IOCs and on the client trying to connect to one of the IOCs on the linux host. For example 192.168.1.255 (client broadcast) and 192.168.2.255 (host broadcast), I keep EPICS_CA_AUTO_ADDR=YES. But once I change the env variables to have the broadcast IPs, I am not able to caget on the client to any of the IOC PVs running on the linux host. Ports are open, no firewall rules.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Adam
- References:
- Multiple IOCs on one host Issue Manoussakis, Adamandios via Tech-talk
- Re: Multiple IOCs on one host Issue Jeong Han Lee via Tech-talk
- Re: Multiple IOCs on one host Issue Jeong Han Lee via Tech-talk
- RE: Multiple IOCs on one host Issue Manoussakis, Adamandios via Tech-talk
- Re: Multiple IOCs on one host Issue Mark Rivers via Tech-talk
- Re: Multiple IOCs on one host Issue Manoussakis, Adamandios via Tech-talk
- Navigate by Date:
- Prev:
Re: Multiple IOCs on one host Issue Manoussakis, Adamandios via Tech-talk
- Next:
SIS3316 or other fast, high-resolution digitizer support Mark Rivers 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: Multiple IOCs on one host Issue Manoussakis, Adamandios via Tech-talk
- Next:
RE: Multiple IOCs on one host Issue Manoussakis, Adamandios 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
|