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  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 
<== Date ==> <== Thread ==>

Subject: Re: Multiple IOC
From: Robert Emery <duma@u.washington.edu>
To: Jeff Hill <johill@lanl.gov>
Cc: tech-talk@aps.anl.gov
Date: Thu, 06 Dec 2007 09:17:28 -0800
It was fixed by setting the CAS Beacon Address List to the address and ports of the other IOC's CA repeater port.

IOC1

EPICS_CAS_BEACON_ADDR_LIST=nnn.nnn.nnn.nnn:5071
EPICS_CA_ADDR_LIST=nnn.nnn.nnn.nnn:5070

IOC2

EPICS_CA_Server_Port=5070
EPICS_CAS_Server_Port=5070
EPICS_CA_Repeater_Port=5071
EPICS_CAS_BEACON_ADDR_LIST=nnn.nnn.nnn.nnn:5065
EPICS_CA_ADDR_LIST=nnn.nnn.nnn.nnn:5064

Thanks for you help.

Rob

Jeff Hill wrote:
Robert,

Request from 128.95.181.18:33089 => cmmd=13

>From here (based on cmmd=13) it appears that you might have it configured so that the UDP beacon protocol is being sent to a CA server's UDP port (to a CA PV name directory server).

Have a look in the manual at EPICS_CAS_BEACON_PORT (which defaults to
EPICS_CA_REPEATER_PORT).

Jeff

-----Original Message-----
From: Robert Emery [mailto:duma@u.washington.edu]
Sent: Tuesday, December 04, 2007 3:43 PM
To: Jeff Hill
Cc: tech-talk@aps.anl.gov
Subject: Re: Multiple IOC

Jeff,

This worked.  It did not seem to matter if I set the
EPICS_CAS_SERVER_PORT = 5071 or not.  It worked either way.

I did get errors on both IOC's though.  They were basically the same
whether I configured the EPICS_CAS_SERVER_PORT

Errors for IOC on default Port

pics> CAS: request from 128.95.181.18:33089 => "invalid
(damaged?) request code from UDP"
CAS: Request from 128.95.181.18:33089 => cmmd=13 cid=0xa type=11
count=5071 postsize=0
CAS: Request from 128.95.181.18:33089 =>  available=0x805fb512
N=0 paddr=(nil)
CAS: invalid (damaged?) UDP request from 128.95.181.18:33089 ?

Errors for IOC's on Port 5071

epics> CAS: request from 128.95.181.18:33092 => "invalid
(damaged?) request code from UDP"
CAS: Request from 128.95.181.18:33092 => cmmd=13 cid=0xa type=11
count=5064 postsize=0
CAS: Request from 128.95.181.18:33092 =>  available=0x805fb512
N=0 paddr=(nil)
CAS: invalid (damaged?) UDP request from 128.95.181.18:33092 ?


I also tried Andrews suggestion of not changing the port numbers on either IOC but then my edm screen would reconnect to one but not both IOC's if it became disconnected.

My intention is to be able to modularize my control processes to aid in
troubleshooting and to have the flexibility to spread out processing if
needed by moving IOC's between hardware.  Is there a better way of doing
this?

Thanks




Jeff Hill wrote:
For the IOC operating on the default port set...
EPICS_CA_ADDR_LIST=nnn.nnn.nnn.nnn:5071

For the IOC operating on 5071 port set...

EPICS_CAS_SERVER_PORT = 5071
EPICS_CA_ADDR_LIST=nnn.nnn.nnn.nnn:5064


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-
bounces@aps.anl.gov]
On Behalf Of Robert Emery
Sent: Tuesday, December 04, 2007 12:47 PM
To: tech-talk@aps.anl.gov
Subject: Multiple IOC

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



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?

Thanks

Rob Emery
UW Medical Center






References:
Multiple IOC Robert Emery
RE: Multiple IOC Jeff Hill
Re: Multiple IOC Robert Emery
RE: Multiple IOC Jeff Hill

Navigate by Date:
Prev: A patch for medm Kate Feng
Next: Re: A patch for medm Andrew Johnson
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 
Navigate by Thread:
Prev: RE: Multiple IOC Jeff Hill
Next: Java CA context cleanup issues on Linux? Kay-Uwe Kasemir
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 
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 ·