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 2021 2022 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 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | problem with gateway and softIoc running on same server |
From: | "Kevin Tsubota" <[email protected]> |
To: | <[email protected]> |
Date: | Wed, 18 May 2011 17:49:03 -1000 |
Hi, I want a gateway to publish PVs from 192.168.134.51:8064 which
is on a private network connected to 192.171.95.112 (where a softIoc is already
running) because I can’t access this private I have the situation where I have a solaris-8 server (192.171.95.112)
with two network cards. One goes to our observatory network and the other
goes to a private network running a windows based softIoc (192.168.134.51). Now
I need access to the PVs of the widows softIoc from other IPs on the
observatory network. I can successfully get the gateway to publish the windows
softIoc PVs without any problems. However, I have a solaris softIoc
running on the same server as the gateway and this is where I’m having
problems. I’ve tried using different EPICS_CA_SERVER_PORTS for both IOCs
but no matter what I try I can’t get the gateway to see the solaris IOC
on the same IP. If I manually set my EPICS_CA_SERVER_PORT at the command
line then issue a caget, it successfully returns the PV value but it reports
that there’s multiple instances of the PV. My question is: can a gateway co-exist with a softIoc in the
same ip address? If so, what do I need to do to make it happen? Using
different EPICS_CA_SERVER_PORTs doesn’t seem to be it. Is this
related to the fact that I can’t run multiple softIocs on the same server
unless I change port numbers? In which case I’d want a gateway to
interface to them as well. Here’s my startup command run on the solaris server (128.171.95.112): /usr/local/epics/r3.14.9/extensions/bin/solaris-sparc-gnu/gateway
-debug 1 -pvlist k1lmct.pvlist -access GATEWAY.access -home $HOME -log
k1lmct.log -sip "128.171.95.112" -sport 5064 -cip
"192.171.95.112:8164 192.168.134.51:8064" -prefix k1:lmct:gateway& Here’s the start of the debug output log: PV Gateway Version 2.0.3.0 [Feb 20 2008 16:27:23] EPICS 3.14.9 PID=13539 EPICS_CA_ADDR_LIST=192.171.95.112:8164
192.168.134.51:8064 EPICS_CA_AUTO_ADDR_LIST=NO EPICS_CA_SERVER_PORT=Not specified EPICS_CA_MAX_ARRAY_BYTES=Not specified EPICS_CAS_INTF_ADDR_LIST=128.171.95.112 EPICS_CAS_SERVER_PORT=5064 EPICS_CAS_IGNORE_ADDR_LIST=Not specified Thank you in advance! Kevin Tsubota W.M. Keck Observatory |