EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  <19971998  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: Re: Early results of Using the Channel Access Nameserver
From: David A. Bryan <[email protected]>
To: [email protected]
Date: Fri, 05 Sep 1997 12:53:40 EDT
--- Begin Message ---
	The nameserver is a completely stand alone server. The server itself
does not even speak CA. The client has an adaptor layer (which means almost
no changes to the internal workings of the client) that intercepts the 
search and connect request, sending the names (which it buffers) to the 
nameserver.  The nameserver replies with the information needed to claim
that channel (IP, port, CA_MINOR_VERSION etc...), and from there on, the 
client uses the existing CA code.  

> - how do you configure the nameserver?
>   - does it broadcast itself (at least once)
>   - is it based on static files?

	It does not broadcast itself. It is accessed via an environment 
variable. If the variable is not set, it falls through (see below..).
	
	It is designed to be populated with messages.  These messages are sent 
to it and contain the server name, port, etc. Duplication, dynamic add/delete
are supported -- if a server changes you just send the packet for that server
again. Right now, we send the information using a program that reads files the
IOC generates at boot time, and we populate it by running that program. You 
could run the program in an autoboot script, however...

> - ... and does a ca_search fall through to broadcast if the nameserver is not found?
> 

	Yes.  If the nameserver is down, has no information, the client will
fall through to the old search method.  The client also verifies that the IOC 
is up (although only once per IOC) before connecting (this was a non-issue 
when you got the information directly from the IOC) If the client doesn't 
specify an environment variable to locate the server it tries the default 
(defined at compile time) before giving up and using the old search.

	--David


--
------------------------------------------------------------------------------
David A. Bryan - Computer Sciences Corporation 
Thomas Jefferson National Accelerator Facility
12000 Jefferson Ave., Newport News, VA 23606
Office: CEBAF Center A213
Voice : 757-269-7073                        Page: 757-680-9484
email : [email protected]                     Fax : 757-269-5024
------------------------------------------------------------------------------

--- End Message ---

Navigate by Date:
Prev: RE: Early results of Using the Channel Access Nameserver.. Jeff Hill
Next: XY-210 -> XY-212 drvSup Steve Lewis
Index: 1994  1995  1996  <19971998  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 
Navigate by Thread:
Prev: RE: Early results of Using the Channel Access Nameserver.. Jeff Hill
Next: XY-210 -> XY-212 drvSup Steve Lewis
Index: 1994  1995  1996  <19971998  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·