EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Multiple IOC
From: Andrew Johnson <[email protected]>
To: Robert Emery <[email protected]>
Cc: [email protected]
Date: Tue, 04 Dec 2007 14:36:16 -0600
Robert Emery wrote:
I have two IOC's running on one linux PC. One is using the default ports and I changed the other's port using:

EPICS_CA_REPEATER_PORT=5070
EPICS_CA_SERVER_PORT=5071

Do you realize that you don't actually have to do that to run multiple IOCs on the same workstation (unless that's not why you're seting the port numbers); almost everything will work properly if you just run them normally and ignore the warning message from iocInit.


The only time when things might not work is if you have CA clients connecting to these IOCs from a different subnet and thus that have their EPICS_CA_ADDR_LIST set to the IP address of the host. In those circumstances you might just see slow connections, or some channels might never connect if you're unlucky.

I have been able to get an edm screen to see pv's from both IOC's by changing the environment variable:

EPICS_CA_ADDR_LIST=nnn.nnn.nnn.nnn nnn.nnn.nnn.nnn:5071

I have not been able to get the two IOC's to see each others PV's. Any ideas how I would be able to do this?

To answer that, think of each IOC as just another CA client; set its EPICS_CA_ADDR_LIST to include the other's IP:Port combination and it should connect properly.


- Andrew
--
When a distinguished but elderly scientist states that something is
possible, he is almost certainly right.  When he states that something
is impossible, he is very probably wrong.  -- Arthur C. Clarke

References:
Multiple IOC Robert Emery

Navigate by Date:
Prev: Java CA context cleanup issues on Linux? Kay-Uwe Kasemir
Next: Re: Java CA context cleanup issues on Linux? J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Multiple IOC Robert Emery
Next: RE: Multiple IOC Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·