Hi
We had to split one IOC into two IOCs. Each IOC is being run using a systemd service on a CentOS 7 server. Typically the first IOC running will get the default 5064 port and the rest
will get random ports (Unless EPICS_CAS_SERVER_PORT is defined ???). What we are is the following:
1.
Both services are enabled using systemctl. When rebooting the server, the IOC which has the default port 5064 is not available even on the LAN itself. Restarting the IOC solves the problem.
2.
After #1 when both IOCs are working and available over the network, a server on another VLAN that sees the machine LAN and has CA gateway installed is unable to see any PV from the random port IOC. Still unresolved.
This server has the UDP broadcast script written by Ralph Lange which is inside /etc/NetworkManager/dispatcher.d/, to be fair I am still not sure if it is working or not because we
flush the iptables from rc.local on every reboot. We have an alarm handler installation local to the machine network and is working fine with both IOCs (probably because auto address list is true in the ini file). Based on the previous:
1.
How do I set up multiple IOCs on one host to work properly locally to the network and across VLANs?
2.
How do I resolve the previous issues? Should I set the IOC port using
EPICS_CAS_SERVER_PORT and put another iptables entry in the script?
Best Regards,
Abdalla Ahmad
Control Engineer
SESAME
Allan, Jordan.
Tel: (+962-5) 3511348 , ext. 265
Fax: (+962-5) 3511423
Mob: (+962-7)88183296
www.sesame.org.jo