ubuntu 18.04 uses netplan and no longer if-up/down.
https://netplan.io/faq/#use-pre-up%2C-post-up%2C-etc.-hook-scripts
Heinz
> On 18. Mar 2021, at 21:26, Manoussakis, Adamandios via Tech-talk <tech-talk at aps.anl.gov> wrote:
>
> Hey Ralph,
>
> Could there be something I am overlooking when using your script, I am fairly sure I have it setup correctly but still can not get it the client to communicate with all the IOCs.
>
> Setup is as follows:
>
> Client 192.168.1.50
> Client running caget PV1
> Env variable CA_ADDR is set to the host ip and CA_AUTO is set to YES
>
> Host 192.168.2.100
> Host running 4-5 IOCs (script is in both of the /etc/network/if-up/down.d folders and have been made executable)
> Env variable CA_ADDR is set to the client ip and CA_AUTO is set to YES
>
> If I start up the IOCs in different orders the client does not always have access to the all of the IOC pvs. I can run each IOC isolated and client is able to caget the PVs.
>
> Thanks,
> Adam
>
> From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Mark Rivers via Tech-talk
> Sent: Wednesday, March 17, 2021 9:30 AM
> To: 'Ralph Lange' <ralph.lange at gmx.de>
> Cc: tech-talk at aps.anl.gov
> Subject: RE: Multiple IOCs on one host Issue
>
> • I don't know anyone who runs multiple IOCs on Windows.
>
> You know me J
>
> Kidding aside, I do run multiple IOCs on Windows. So far I have not needed to access them from another subnet.
>
> Mark
>
>
> From: Ralph Lange <ralph.lange at gmx.de>
> Sent: Wednesday, March 17, 2021 11:27 AM
> To: Mark Rivers <rivers at cars.uchicago.edu>
> Subject: Re: Multiple IOCs on one host Issue
>
> I know.
>
> Alas, I have no clue, and I don't know anyone who runs multiple IOCs on Windows.
> On my Windows laptop, I don't have Admin rights.
>
> Cheers,
> ~Ralph
>
>
> On Wed, 17 Mar 2021 at 17:11, Mark Rivers <rivers at cars.uchicago.edu> wrote:
> Ø That's why it is featured on the how-to page.
>
>
> I notice that that page does not have an entry for Windows.
>
> Mark
>
>
>
> From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Ralph Lange via Tech-talk
> Sent: Wednesday, March 17, 2021 11:05 AM
> To: EPICS Tech Talk <tech-talk at aps.anl.gov>
> Subject: Re: Multiple IOCs on one host Issue
>
> On Wed, 17 Mar 2021 at 13:42, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> 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.
>
> Out of which the iptables rule is the least invasive, because it is a once-and-for-all change that needs to be added only on the multiple-IOC host, and does not require any other changes in IOCs, network components or clients.
> That's why it is featured on the how-to page.
>
> Cheers,
> ~Ralph
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- Replies:
- RE: Multiple IOCs on one host Issue Manoussakis, Adamandios via Tech-talk
- 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 Ralph Lange 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 Jeong Han Lee 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
- Navigate by Thread:
- Prev:
Re: Multiple IOCs on one host Issue Jeong Han Lee 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
|