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  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Finding the server where a PV's IOC is located
From: "Sobhani, Bayan via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 23 Nov 2021 20:40:45 +0000

If you type “cainfo <pv name>”, one of the fields it returns is “host”, which is often the server that the PV’s IOC is running on.

 

But sometimes the “host” is really a gateway server and not the IOC server itself. For example:

 

bsobhani@cagw02:~/code/scratch$ cainfo XF:03ID-CT{RG:C2}T-I

XF:03ID-CT{RG:C2}T-I

    State:            connected

    Host:             cagw01.cs.nsls2.local:5064

    Access:           read, no write

    Native data type: DBF_DOUBLE

    Request type:     DBR_DOUBLE

    Element count:    1

 

And then to find the real IOC server I would do “ssh cagw01.cs.nsls2.local” and then do “cainfo XF:03ID-CT{RG:C2}T-I” again, and I get:

 

bsobhani@cagw01:~/rack-cmd$ cainfo XF:03ID-CT{RG:C2}T-I

XF:03ID-CT{RG:C2}T-I

    State:            connected

    Host:             xf03idc-ioc2-313.nsls2.bnl.local:41317

    Access:           read, write

    Native data type: DBF_DOUBLE

    Request type:     DBR_DOUBLE

    Element count:    1

 

And now I have xf03idc-ioc2-313.nsls2.bnl.local, which is the real IOC server. Is there a way to find this IOC server without ssh?

 

Alex


Replies:
Re: Finding the server where a PV's IOC is located Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Alternative to EPICS Gateway Michael Davidsaver via Tech-talk
Next: Re: Finding the server where a PV's IOC is located Ralph Lange via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Alternative to EPICS Gateway Gerrit Kühn via Tech-talk <tech-talk at aps.anl.g
Next: Re: Finding the server where a PV's IOC is located Ralph Lange via Tech-talk
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  <20212022  2023  2024 
ANJ, 24 Nov 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·