From bb1801ddb1ac3ccdf37b51f80eadf0a653bc4488 Mon Sep 17 00:00:00 2001
From: Jeff Hill
The two IP port numbers used by Channel Access may be configured. This +might occur when a site decides to set up two or more completely independent +control systems that will share the same network. For instance, a site might +set up an operational control system and a test control system on the same +network. In this situation it is desirable for the test system and the +operational system to use identical PV names without fear of collision. +Usually the best choice is to assign new port numbers to the operational +system and allow the test system to use the default CA port numbers. A site +might also configure the CA port numbers because some other facility has +already reserved the defaults.
+ +| Purpose | +Default | +Environment Variable | +
| CA Server | +5064 | +EPICS_CA_SERVER_PORT | +
| CA Beacons (sent to CA repeater daemon) | +5065 | +EPICS_CA_REPEATER_PORT | +
If a client needs to communicate with two servers that are residing at +different port numbers then an extended syntax may be used with the +EPICS_CA_ADDRESS_LIST environment variable. See WAN +Environment below.
+Typically vxWorks hosts boot with routes configured for the host's subnet. @@ -388,35 +426,18 @@ broadcast addresses, but this will often be the most convenient choice.
-If a client needs to communicate with two servers that are residing at +different port numbers then an extended syntax may be used with the +EPICS_CA_ADDRESS_LIST environment variable. Each host name or IP address in +the EPICS_CA_ADDR_LIST may be immediately followed by a colon and an IP port +number without intervening whitespace. Entries that do not specify a port +number will default to EPICS_CA_SERVER_PORT.
-The two IP port numbers used by Channel Access may be configured. This -might occur when a site decides to set up two or more completely independent -control systems that will share the same network. For instance, a site might -set up an operational control system and a test control system on the same -network. In this situation it is desirable for the test system and the -operational system to use identical PV names without fear of collision. -Usually the best choice is to assign new port numbers to the operational -system and allow the test system to use the default CA port numbers. A site -might also configure the CA port numbers because some other facility has -already reserved the defaults.
- -| Purpose | -Default | -Environment Variable | -||
| CA Server | -5064 | -EPICS_CA_SERVER_PORT | -||
| CA Beacons (sent to CA repeater daemon) | -5065 | -EPICS_CA_REPEATER_PORT | +C shell | +setenv EPICS_CA_ADDR_LIST "1.2.3.255 8.9.10.255:10000" |
The server must build a list of addresses to send beacons to. If -EPICS_CA_AUTO_ADDR_LIST has the value "YES" then the beacon address list will -contain at least the broadcast address of all LAN interfaces found in the -host and the destination address of all point-to-point interfaces found in -the host. If EPICS_CAS_BEACON_ADDR_LIST is defined then its contents will be -used to augment this list. Otherwise, if EPICS_CA_ADDR_LIST is define its -contents will be used to augment this list.
+Readers Note: The CA server configurationn documentation is +incomplete. Also, the configuration feature set is more advanced in the new +server than in the original server which is still employed in +iocCore.
+ +The server configures its UDP port number from the EPICS_CAS_SERVER_PORT +environment variable if it is specified. Otherwise the EPICS_CA_SERVER_PORT +environemnt variable determines the server's UDP port number. If two servers +share the same UDP port number on the same host then both of them may not, +depending on the local IP kernel, be reachable with IP unicast (an IP address +specifying only one recipient in the client's EPICS_CA_ADDR_LIST). If +available, the server will use the same TCP port number as its UDP port +number. Otherwise, it will use an ephemeral TCP port number assigned by the +opertaing system, and clients will discover this port number via the UDP +search response. The server must build a list of addresses to send beacons +to. If EPICS_CA_AUTO_ADDR_LIST has the value "YES" then the beacon address +list will contain at least the broadcast address of all LAN interfaces found +in the host and the destination address of all point-to-point interfaces +found in the host. If EPICS_CAS_BEACON_ADDR_LIST is defined then its contents +will be used to augment this list. Individual entries in +EPICS_CAS_BEACON_ADDR_LIST may override the repeater's port number if a colun +follows the host name or IP address there. Otherwise, if EPICS_CA_ADDR_LIST +is defined, its contents will be used to augment this list, but its +individual entries will not be allowed to override the repeater's port +number.
CVS Revision $Id$
+ +CVS Revision $Id: CAref.html,v 1.16 2001/11/20 23:33:05 jhill Exp +$