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: Connect to IOC in container from another host in different network, via CA Gateway |
From: | "Knap, Giles \(DLSLtd,RAL,LSCI\) via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Gonzalez, Jose Carlos" <jose.carlos.gonzalez at ipp.mpg.de>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 28 Mar 2025 22:42:31 +0000 |
I should have mentioned that you can't do the same with PVAccess. UDP traffic will not get through to the container - using EPICS_PVA_NAME_SERVERS to point at the container host does work as it uses TCP. This can be a list of PVA servers but would not scale
well if you had many PVA servers.
The alternative that does work for PVA and CA is to put all your IOCs in the host network and then you don't need any gateways.
From: Gonzalez, Jose Carlos <jose.carlos.gonzalez at ipp.mpg.de>
Sent: 28 March 2025 16:28 To: Knap, Giles (DLSLtd,RAL,LSCI) <giles.knap at diamond.ac.uk>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Re: Connect to IOC in container from another host in different network, via CA Gateway Great, thanks a lot!
I will have a look and let you know. BTW, I got both mails, also the one with the image 😊
Cheers, J C From: Knap, Giles (DLSLtd,RAL,LSCI) <giles.knap at diamond.ac.uk>
Sent: 28 March 2025 15:57:59 To: tech-talk at aps.anl.gov; Gonzalez, Jose Carlos Subject: Re: Connect to IOC in container from another host in different network, via CA Gateway
Hi Jose,
(resending without the image that was too big for techtalk!)
I usually make my simulation beamline in containers only accessible from the local machine. However by binding the cagateway ports to all interfaces I can also make the PVs accessible to the subnet.
The example project is here https://github.com/epics-containers/example-services/tree/local-subnet-access
The changes to make PVs available is here
https://github.com/epics-containers/example-services/blob/2e9a905edf61946223079b71728c7165df6ea4d4/services/gateway/compose.yml#L21-L29
Regards,
giles
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom. |