Hello Adam
I think CSS is using different CA implementation other than the archiver, maybe that’s why some configs won’t work. Try set the address list in the archiver (and in ~/.bashrc) to the IP of the host running the
IOC and if there are multiple IOCs configure the network manager as in the article I sent. Also you can try setting EPICS_CA_AUTO_ADDR_LIST=NO in the archiver and see if it helps.
Best Regards,
Abdalla
From: Manoussakis, Adamandios <manoussakis1 at llnl.gov>
Sent: Tuesday, January 26, 2021 9:00 AM
To: Abdalla Ahmad <Abdalla.Ahmad at sesame.org.jo>; tech-talk at aps.anl.gov
Subject: RE: EPICS Archiver routing issue
Hey Abdalla,
Currently I set the EPICS_CA_ADDR_LIST in the archappl.conf (using Hans site specific install currently) and wondering if I need to set it to the gateway or to the ip of the host running the IOC (Usually I just set it to the IP of the host
running the IOC)? But at the moment I only have one IOC running on that host anyways.
I just don’t understand why the CS Studio (which is on one VLAN) and CAGET are able to grab the PV data from the IOC that is on the other VLAN but the Archiver is not getting through. I am starting to wonder if the archappl.conf is not
reading the EPICS_CA_ADDR_LIST properly?
Thanks,
Adam
Hello Adamandios
It depends on how the VLANs and subnets are configured. We have the archiver on a separate VLAN from the IOCs VLAN (both VLANs are not isolated from each other), but the archiver can see and archive all PVs from all the IOCs through:
- Setting EPICS_CA_ADDR_LIST variable set in the sampleStartup.sh script.
- Configuring the NetworkManager dispatcher if you have multiple IOCs on the same host:
https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Make_Channel_Access_Reach_Multiple_Soft_IOCs_on_a_Linux_Host
For CSS, since the IOCs and the clients are on the same subnet, we don’t set any EPICS variables, except if we want some PVs from other VLANs like beamlines which are requested through EPICS CA gateway, here we set the EPICS_CA_ADDR_LIST
to the IP of the gateway.
Best Regards,
Abdalla.
Hello All,
I think I am having problems with routing with the epics archiver. When I have the archiver on a LAN and is on the same subnet as the IOCs being archived it seems to work fine but when I have archiver on a different subnet it doesn’t seem
to want to archive those PVs anymore. For example
Same Subnet, CS Studio Picks up PVs, caget works, archiver works
192.168.10.20 Epics Archiver Computer
192.168.10.21 IOC running
Different Subnet, CS Studio picks up PVs, caget works, Archiver will not archive PVs
192.168.10.20 Epics Archiver Computer
192.168.11.21 IOC running
I have both the epics variables set in my env variables, in archappl.conf (archiver file), in settings.ini (cs studio file). It seems odd that caget, cs studio work fine but the archiver is having an issue seeing the IOC that is on the
other subnet. Is there another environment variable I am missing that needs to be set when services are on different subnets like this? I checked firewalls/ports/traffic it seems like the same requests are being made by cs studio/caget as the archiver but
the archiver ones don’t seem to go anywhere (just keep trying to retransmit).
EPICS_CA_ADDR_LIST=192.168.11.21
EPICS_CA_AUTO_ADDR_LIST=YES