We have an application that is connecting to a DACS daemon, using the RFA Java libs. We want to enable failover but are seeing a weird behavior when failing over one IP to the other.
We provide a set of hostname:port to the dacsDaemon
property, like this (note the different port):
test1:8212,test2:8211
It appears that if we try to connect to connect/logs onto the DACS:
- if the first host in the list is working, the connection is established
- if the first host is down, the connection never establishes to the second one
- on the other hand, if the first host is down but both entries have the same port (
test1:8211,test2:8211
), we seem to connect properly to the second one.
Is it a known behavior? Is there anything to change to get a proper failover despite the different ports?