EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CA Gateway same VM as IOCs/Phoebus and Access/PVList Setup
From: "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 30 Nov 2021 01:32:52 +0000

Hey All,

 

I am trying to make sure I understand how the CA Gateway networking setup works for running all pieces on the same PC(VM).  Below is my ENV variables list that I setup, I am just using the basic access list and pv list examples (although I did have a question about the access/pvlist)

 

export EPICS_CA_AUTO_ADDR_LIST=NO

export EPICS_CA_ADDR_LIST=localhost

export EPICS_CA_MAX_ARRAY_BYTES=800000

export EPICS_CAS_INTF_ADDR_LIST=localhost

export EPICS_CA_SERVER_PORT=5064

export EPICS_CAS_SERVER_PORT=5065

 

My understanding is that the CAS port is listening for requests from a client (in this case Phoebus).  I also am running Ralphs script to handle multiple IOCs on the same PC so UDP packets sent to 5064 are being echoed out on all ports (I think I need to block whichever port the CAS Server Port in this NAT Rule to stop looping).  Below is how I think the setup is supposed to work but I am unsure as I havnt been successful yet.

Phoebus PV UDP Request,NAT UDP Echoing Rule
5064 -> Broadcast
(Block 5068)
,IOC 1
Dynamic Port
,IOC 2
Dynamic Port
,IOC N
Dynamic Port
,Server 5068,Client 5064,PC
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Access/PV List files question: 

 

I am using the example files and for the access file the DEFAULT is where all requests go that aren’t listed as UAG or HAG?

 

ASG(DEFAULT) {

   RULE(1,READ)

}

 

For the Pvlist, the first 3 regex is this covering any PV name basically?  Does the next regex like Beam:.* then subset out from All to only Allowing the Beam 1 user to access these particular ones?

 

EVALUATION ORDER ALLOW, DENY

 

[0-9].*          ALLOW

[a-z].*          ALLOW

[A-Z].*          ALLOW

 

Beam:.*          ALLOW Beam 1

PS.*             ALLOW PowerSupply 1

gateway:.*Flag   ALLOW GatewayAdmin

test.*           DENY

ps\([0-9]\)      ALIAS PSCurrent\1.ai PowerSupply 1

 

 

Attachment: image001.emz
Description: image001.emz

PNG image

Attachment: image003.emz
Description: image003.emz

Attachment: image004.emz
Description: image004.emz

Attachment: image005.emz
Description: image005.emz

Attachment: image006.emz
Description: image006.emz

PNG image

PNG image

Attachment: image009.emz
Description: image009.emz

Attachment: image010.emz
Description: image010.emz

PNG image

PNG image

PNG image

PNG image

PNG image

Attachment: image016.emz
Description: image016.emz


Replies:
RE: CA Gateway same VM as IOCs/Phoebus and Access/PVList Setup Manoussakis, Adamandios via Tech-talk

Navigate by Date:
Prev: RE: CSS (Eclipse and Phoebus) super slow on a server with multiple users Jokinen Antti (F4E) via Tech-talk
Next: Re: MVME3100 boot failure at "Trying to find CSR on VME" Michael Davidsaver 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: MVME3100 boot failure at "Trying to find CSR on VME" Pete Jemian via Tech-talk
Next: RE: CA Gateway same VM as IOCs/Phoebus and Access/PVList Setup 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  <20212022  2023  2024 
ANJ, 02 Dec 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·