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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Multiple IOCs on the same Host - question on dynamically allocated TCP Ports
From: "Allison, Stephanie" <[email protected]>
To: "Jeff Hill" <[email protected]>, "EPICS Tech-Talk" <[email protected]>
Date: Mon, 28 Apr 2008 17:28:33 -0700
Hi Jeff,

Wonderful!  Please add this to R3.15 especially if you are under the hood making other CA changes.  

Thank you VERY much,

Stephanie

> -----Original Message-----
> From: Jeff Hill [mailto:[email protected]] 
> Sent: Monday, April 28, 2008 4:29 PM
> To: Allison, Stephanie; 'EPICS Tech-Talk'
> Subject: RE: Multiple IOCs on the same Host - question on 
> dynamically allocated TCP Ports
> 
> Hello Stephanie,
> 
> The specific of how this gets configured would need to be 
> worked out, but
> this does appear to be a good idea. If you would like I could add your
> request as a Mantis entry against R3.15 so I have a reminder 
> to look at this
> sometime before R3.15 gets released?
> 
> Jeff
> 
> > -----Original Message-----
> > From: [email protected] 
> [mailto:[email protected]]
> > On Behalf Of Allison, Stephanie
> > Sent: Monday, April 28, 2008 11:04 AM
> > To: EPICS Tech-Talk
> > Subject: Multiple IOCs on the same Host - question on dynamically
> allocated
> > TCP Ports
> > 
> > Hello,
> > 
> > When multiple IOCs run on the same host, using the same
> > EPICS_CA_SERVER_PORT, they use the same port for UDP 
> channel connection
> > requests but have to use different ports for the CA TCP 
> connection (of
> > course).  The CA reference manual says:
> > 
> > "If the CA server library detects that a server is 
> attempting to start on
> > the same port as an existing CA server then both servers 
> will use the same
> > UDP port, and the 2nd server will be allocated an ephemeral 
> TCP port."
> > 
> > Is there a way to set the allowable range of TCP ports that 
> the IOC is
> > allowed to choose from for its TCP port?  In particular, on 
> a RHEL4 linux
> > server.
> > 
> > The reason for this is that we wish to have some of our CA clients,
> outside
> > our firewall, connect directly to IOCs (both RTEMS and 
> linux) inside the
> > firewall.  We don't want them to go through a CA proxy 
> gateway process and
> > we don't want to have to set their EPICS_CA_ADDR_LISTs to include
> different
> > EPICS_CA_SERVER_PORT values.  We also don't want to open up 
> our firewall
> to
> > all TCP ports just to allow this communication but are 
> willing to allow a
> > small range of predefined TCP ports.  And we don't want to 
> combine our
> IOCs
> > into one.  Essentially, we want each soft IOC to use the same
> > EPICS_CA_SERVER_PORT for UDP connection requests but a 
> predefined port for
> > the TCP connection (ie, a new environment variable like
> > EPICS_CA_SERVER_TCP_PORT which would be set differently in 
> each of our
> soft
> > IOC startup files).
> > 
> > Any thoughts?  Thank you,
> > 
> > Stephanie Allison
> 
> 
> 


References:
Multiple IOCs on the same Host - question on dynamically allocated TCP Ports Allison, Stephanie
RE: Multiple IOCs on the same Host - question on dynamically allocated TCP Ports Jeff Hill

Navigate by Date:
Prev: RE: Multiple IOCs on the same Host - question on dynamically allocated TCP Ports Jeff Hill
Next: Edm-1-11-1f compilation problem [SEC=UNCLASSIFIED] WANG, Jian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Multiple IOCs on the same Host - question on dynamically allocated TCP Ports Jeff Hill
Next: RE: Multiple IOCs on the same Host - question on dynamically allocatedTCP Ports Thompson, David H.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·