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: question about ca gateway
From: Dirk Zimoch <[email protected]>
To: [email protected]
Cc: tech-talk <[email protected]>
Date: Thu, 13 Nov 2008 09:49:57 +0100
Hello Wantianmin,

Instead of setting EPICS_CA_ADDR_LIST and EPICS_CA_AUTO_ADDR_LIST before
starting the gateway, you can use -cip

gateway -sip 10.30.50.1 -sport 6006 -cip "10.30.1.165:5064 10.30.1.166:5066 ..."
-pvlist /root/GATEWAY.pvlist -access /root/private01.access -log logfile.txt

By the way, I do not consider the gateway safe enough to run with root
privileges. (I just guessed that from the /root/ directories you use.) Better
create a gateway user and use -uid.

For the ioc use:
EPICS_CA_ADDR_LIST=10.30.50.1
EPICS_CA_SERVER_PORT=6006

In opposite to EPICS_CA_ADDR_LIST="10.30.50.1:6006", this does not overwrite the
beacon port.

Dirk

万天敏 wrote:
> Hi, Dirk zimoch
>      just as you said, I start the ca gateway like this:
> 
> #!/bin/bash
> export EPICS_CA_ADDR_LIST="10.30.1.165:5064 10.30.1.166:5066 ..."(set the environment variable)
> export EPICS_CA_AUTO_ADDR_LIST=NO
> gateway -sip 10.30.50.1 -sport 6006 -pvlist /root/GATEWAY.pvlist -access /root/private01.access -log logfile.txt
> 
> 
> 
> with  -sip 10.30.50.1 and  -sport 6006  option, so the user set the EPICS_CA_ADDR_LIST="10.30.50.1:6006",and    they didn't set the EPICS_CAS_BEACON_LIST, so if they start an ioc,the ioc will send the udp package to the gateway's port which cause the question occurs.(they use base 3.14.9 to compile ioc) ,you mean if I compiled the ca gateway use base 3.14.10 the question will not occurs? I will try it immediately .
>  Thank for you help,
>       Best Regards.
>      wantianmin
> 
> 
> 

-- 
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

Replies:
Re: Re: question about ca gateway, 万天敏
References:
Re: Re: question about ca gateway 万天敏

Navigate by Date:
Prev: Re: Re: question about ca gateway 万天敏
Next: Re: WireSet missing with 3.14.10 Dehong Zhang
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: Re: question about ca gateway 万天敏
Next: Re: Re: question about ca gateway, 万天敏
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 ·